Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001712/0.001712, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.00196/0.00196, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.452/1.452, allocations: 225.6 MB / 250.8 MB, free: 13.41 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.1796/0.1796, allocations: 38.52 MB / 344.4 MB, free: 2.551 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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.89 kB / 482 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3384, allocations: 61.24 MB / 0.5305 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005192/0.3436, allocations: 4.545 MB / 0.535 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.3458, allocations: 1.442 MB / 0.5364 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.346, allocations: 13.56 kB / 0.5364 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.3471, allocations: 385.5 kB / 0.5368 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.3476, allocations: 268.2 kB / 0.537 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.3483, allocations: 235.2 kB / 0.5372 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.3488, allocations: 0.5632 MB / 0.5378 GB, free: 348 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.3491, allocations: 189.5 kB / 0.538 GB, free: 232 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.3494, allocations: 269 kB / 0.5382 GB, free: 72 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.3499, allocations: 373.5 kB / 0.5386 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.35, allocations: 39.12 kB / 0.5386 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000448/0.3504, allocations: 236.9 kB / 0.5388 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.3507, allocations: 242.8 kB / 0.5391 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.351, allocations: 261.5 kB / 0.5393 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008833/0.3519, allocations: 0.6742 MB / 0.54 GB, free: 15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3519, allocations: 0 / 0.54 GB, free: 15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3519, allocations: 0 / 0.54 GB, free: 15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.3519, allocations: 4 kB / 0.54 GB, free: 14.99 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001495/0.3534, allocations: 0.7835 MB / 0.5408 GB, free: 14.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3534, allocations: 13.55 kB / 0.5408 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005744/0.354, allocations: 87.83 kB / 0.5409 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007517/0.3547, allocations: 430.1 kB / 0.5413 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.3548, allocations: 33.22 kB / 0.5413 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.3549, allocations: 56.5 kB / 0.5413 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.356, allocations: 0.6674 MB / 0.542 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.356, allocations: 5.266 kB / 0.542 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.3561, allocations: 24.23 kB / 0.542 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/0.3562, allocations: 49.94 kB / 0.5421 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.3573, allocations: 0.6663 MB / 0.5427 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/0.3613, allocations: 2.516 MB / 0.5452 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/0.3619, allocations: 308.7 kB / 0.5455 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.3622, allocations: 206.2 kB / 0.5457 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.898e-05/0.3623, allocations: 11.52 kB / 0.5457 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.3623, allocations: 40.77 kB / 0.5457 GB, free: 10.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.405e-06/0.3623, allocations: 0 / 0.5457 GB, free: 10.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002682/0.365, allocations: 1.356 MB / 0.547 GB, free: 9.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.3651, allocations: 88.7 kB / 0.5471 GB, free: 9.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.3655, allocations: 302.5 kB / 0.5474 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.3655, allocations: 30.83 kB / 0.5475 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.3657, allocations: 260.2 kB / 0.5477 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.3659, allocations: 161.8 kB / 0.5479 GB, free: 9.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.3661, allocations: 94.33 kB / 0.5479 GB, free: 9.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.3663, allocations: 349.3 kB / 0.5483 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.3666, allocations: 195.3 kB / 0.5485 GB, free: 8.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/0.3671, allocations: 374.7 kB / 0.5488 GB, free: 8.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008954/0.368, allocations: 0.6142 MB / 0.5494 GB, free: 8.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.368, allocations: 2.844 kB / 0.5494 GB, free: 8.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001023/0.369, allocations: 0.6292 MB / 0.55 GB, free: 7.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3691, allocations: 7.562 kB / 0.55 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3691, allocations: 5.156 kB / 0.55 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.3691, allocations: 7.219 kB / 0.5501 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.3695, allocations: 112.8 kB / 0.5502 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/0.3696, allocations: 19.34 kB / 0.5502 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.3698, allocations: 20.42 kB / 0.5502 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.3699, allocations: 21.19 kB / 0.5502 GB, free: 7.656 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002952/0.3702, allocations: 219.5 kB / 0.5504 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.3703, allocations: 40.73 kB / 0.5505 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008208/0.3711, allocations: 490.6 kB / 0.5509 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/0.3711, allocations: 15.77 kB / 0.551 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3711, allocations: 0 / 0.551 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3711, allocations: 3.938 kB / 0.551 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.3731, allocations: 1.112 MB / 0.552 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.3731, allocations: 11.98 kB / 0.5521 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.3734, allocations: 71.89 kB / 0.5521 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3734, allocations: 4 kB / 0.5521 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.3735, allocations: 8 kB / 0.5521 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3735, allocations: 0 / 0.5521 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3735, allocations: 4 kB / 0.5521 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.3747, allocations: 0.8399 MB / 0.553 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3748, allocations: 104.9 kB / 0.5531 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.3749, allocations: 11.98 kB / 0.5531 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.3751, allocations: 20.02 kB / 0.5531 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.3751, allocations: 31.91 kB / 0.5531 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.3752, allocations: 11.94 kB / 0.5531 GB, free: 4.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.3754, allocations: 211.1 kB / 0.5533 GB, free: 4.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3754, allocations: 0 / 0.5533 GB, free: 4.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005757/0.376, allocations: 111.9 kB / 0.5534 GB, free: 4.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (33): * Single equations (assignments): 30 * 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.0002796/0.3763, allocations: 135.1 kB / 0.5536 GB, free: 4.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008451/0.3771, allocations: 468.3 kB / 0.554 GB, free: 3.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.3771, allocations: 4 kB / 0.554 GB, free: 3.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.3774, allocations: 197.2 kB / 0.5542 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.378, allocations: 78.34 kB / 0.5543 GB, free: 3.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.3801, allocations: 1.122 MB / 0.5554 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.3807, allocations: 0.8782 MB / 0.5562 GB, free: 1.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000331/0.381, allocations: 127 kB / 0.5564 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.3811, allocations: 31.44 kB / 0.5564 GB, free: 1.434 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3811, allocations: 0 / 0.5564 GB, free: 1.434 MB / 398.1 MB Notification: Performance of Templates: time 0.009604/0.3907, allocations: 4.181 MB / 0.5605 GB, free: 13.27 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9904958456754684]