Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 187.1 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.189/0.189, allocations: 38.53 MB / 346.3 MB, free: 2.062 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 484.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3836, allocations: 61.3 MB / 0.533 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005322/0.3889, allocations: 4.547 MB / 0.5375 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.3913, allocations: 1.548 MB / 0.539 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.3916, allocations: 20.06 kB / 0.539 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008735/0.3924, allocations: 289.9 kB / 0.5393 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005351/0.393, allocations: 287.5 kB / 0.5395 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006372/0.3936, allocations: 257.2 kB / 0.5398 GB, free: 428 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.3942, allocations: 0.6072 MB / 0.5404 GB, free: 84 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.3945, allocations: 163.8 kB / 0.5405 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004329/0.3949, allocations: 274.5 kB / 0.5408 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006229/0.3955, allocations: 399.1 kB / 0.5412 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/0.3956, allocations: 38.81 kB / 0.5412 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005365/0.3961, allocations: 246.1 kB / 0.5415 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002696/0.3964, allocations: 232.7 kB / 0.5417 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.3967, allocations: 260 kB / 0.5419 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008606/0.3976, allocations: 0.6639 MB / 0.5426 GB, free: 14.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3976, allocations: 0 / 0.5426 GB, free: 14.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3976, allocations: 0 / 0.5426 GB, free: 14.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.3976, allocations: 0 / 0.5426 GB, free: 14.74 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001517/0.3991, allocations: 0.7168 MB / 0.5433 GB, free: 14.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.3992, allocations: 10.56 kB / 0.5433 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006632/0.3998, allocations: 96.69 kB / 0.5434 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.4005, allocations: 360.2 kB / 0.5437 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.4006, allocations: 27.77 kB / 0.5437 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.4007, allocations: 45.25 kB / 0.5438 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.4018, allocations: 0.6973 MB / 0.5445 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.4018, allocations: 1.156 kB / 0.5445 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.4019, allocations: 16.56 kB / 0.5445 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000222/0.4021, allocations: 74.72 kB / 0.5446 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.4032, allocations: 0.6657 MB / 0.5452 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.407, allocations: 2.576 MB / 0.5477 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/0.4076, allocations: 301.1 kB / 0.548 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.4079, allocations: 190.1 kB / 0.5482 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.4079, allocations: 8.359 kB / 0.5482 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.408, allocations: 39.84 kB / 0.5482 GB, free: 10.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.945e-06/0.408, allocations: 1.094 kB / 0.5482 GB, free: 10.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002263/0.4102, allocations: 1.239 MB / 0.5495 GB, free: 9.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.4103, allocations: 79.36 kB / 0.5495 GB, free: 9.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.4106, allocations: 284.9 kB / 0.5498 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.4106, allocations: 30.89 kB / 0.5498 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.4108, allocations: 260.2 kB / 0.5501 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.411, allocations: 145.1 kB / 0.5502 GB, free: 9.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.4111, allocations: 86.58 kB / 0.5503 GB, free: 9.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4113, allocations: 355.5 kB / 0.5506 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.4116, allocations: 192 kB / 0.5508 GB, free: 8.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.412, allocations: 320.7 kB / 0.5511 GB, free: 8.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007425/0.4127, allocations: 0.5564 MB / 0.5517 GB, free: 8.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.4127, allocations: 5.062 kB / 0.5517 GB, free: 8.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001339/0.4141, allocations: 0.6792 MB / 0.5523 GB, free: 7.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.4141, allocations: 7.25 kB / 0.5523 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008829/0.415, allocations: 489.3 kB / 0.5528 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004524/0.4154, allocations: 117.5 kB / 0.5529 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.4157, allocations: 79.89 kB / 0.553 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.4189, allocations: 3.055 MB / 0.556 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.4192, allocations: 27.92 kB / 0.556 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.4192, allocations: 19.98 kB / 0.556 GB, free: 3.816 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003418/0.4196, allocations: 213.7 kB / 0.5562 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4197, allocations: 35.77 kB / 0.5563 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007822/0.4205, allocations: 472.6 kB / 0.5567 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.4205, allocations: 11.98 kB / 0.5567 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4205, allocations: 0 / 0.5567 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4205, allocations: 7.938 kB / 0.5567 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.4222, allocations: 0.9961 MB / 0.5577 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4222, allocations: 0 / 0.5577 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.4225, allocations: 67.89 kB / 0.5578 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4225, allocations: 3.938 kB / 0.5578 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.4226, allocations: 8 kB / 0.5578 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.4226, allocations: 4 kB / 0.5578 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.4226, allocations: 3.938 kB / 0.5578 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.4236, allocations: 0.7476 MB / 0.5585 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.4238, allocations: 55.83 kB / 0.5586 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.4238, allocations: 19.88 kB / 0.5586 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.424, allocations: 15.98 kB / 0.5586 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.4241, allocations: 19.95 kB / 0.5586 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.4241, allocations: 12 kB / 0.5586 GB, free: 1.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.4244, allocations: 211 kB / 0.5588 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4244, allocations: 3.938 kB / 0.5588 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006241/0.425, allocations: 111.9 kB / 0.559 GB, free: 0.7266 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002814/0.4253, allocations: 123.2 kB / 0.5591 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.4265, allocations: 0.689 MB / 0.5597 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4266, allocations: 0 / 0.5597 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.4269, allocations: 196.9 kB / 0.5599 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.4274, allocations: 79.48 kB / 0.56 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.4295, allocations: 1.132 MB / 0.5611 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.43, allocations: 0.8706 MB / 0.562 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.4303, allocations: 107.2 kB / 0.5621 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-05/0.4304, allocations: 35.42 kB / 0.5621 GB, free: 13.41 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4304, allocations: 0 / 0.5621 GB, free: 13.41 MB / 414.1 MB Notification: Performance of Templates: time 0.01085/0.4412, allocations: 4.704 MB / 0.5667 GB, free: 8.727 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.292937258258462] Failed to read output from testmodel.py, exit status != 0: 0.45035148598253727 0.46591263800000005 0.06516100300000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f4adf2c17b0>