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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 210 kB / 24.47 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.1931/0.1931, allocations: 38.55 MB / 353.2 MB, free: 12.29 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 75.89 kB / 493.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3708, allocations: 62.47 MB / 0.5432 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006601/0.3774, allocations: 4.324 MB / 0.5474 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.3802, allocations: 1.387 MB / 0.5487 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.3804, allocations: 20.47 kB / 0.5487 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.3816, allocations: 371.2 kB / 0.5491 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006768/0.3823, allocations: 257 kB / 0.5493 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.383, allocations: 245.8 kB / 0.5496 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007093/0.3837, allocations: 0.5649 MB / 0.5501 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003913/0.3841, allocations: 215.4 kB / 0.5503 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.3846, allocations: 274.8 kB / 0.5506 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.3851, allocations: 365.9 kB / 0.5509 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.069e-05/0.3851, allocations: 39.28 kB / 0.551 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004687/0.3856, allocations: 230.7 kB / 0.5512 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.3859, allocations: 241.5 kB / 0.5514 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.3861, allocations: 222.2 kB / 0.5516 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008539/0.387, allocations: 0.6823 MB / 0.5523 GB, free: 9.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.387, allocations: 0 / 0.5523 GB, free: 9.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.387, allocations: 4 kB / 0.5523 GB, free: 9.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.387, allocations: 0 / 0.5523 GB, free: 9.715 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.001543/0.3886, allocations: 0.7129 MB / 0.553 GB, free: 9.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3886, allocations: 13.95 kB / 0.553 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007522/0.3893, allocations: 115 kB / 0.5531 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/0.3902, allocations: 365.7 kB / 0.5535 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.3903, allocations: 34.17 kB / 0.5535 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.3904, allocations: 50.67 kB / 0.5536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3915, allocations: 0.6714 MB / 0.5542 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.3915, allocations: 5.219 kB / 0.5542 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.3916, allocations: 12.62 kB / 0.5542 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/0.3918, allocations: 53.36 kB / 0.5543 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.3928, allocations: 0.6667 MB / 0.5549 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003829/0.3967, allocations: 2.286 MB / 0.5572 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005816/0.3972, allocations: 309 kB / 0.5575 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.3976, allocations: 209.7 kB / 0.5577 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.3976, allocations: 4 kB / 0.5577 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3976, allocations: 38.55 kB / 0.5577 GB, free: 5.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 3.136e-06/0.3976, allocations: 0 / 0.5577 GB, free: 5.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002323/0.4, allocations: 1.298 MB / 0.559 GB, free: 3.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.4, allocations: 85.09 kB / 0.5591 GB, free: 3.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.4004, allocations: 292.1 kB / 0.5593 GB, free: 3.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.4004, allocations: 29.7 kB / 0.5594 GB, free: 3.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.4007, allocations: 280 kB / 0.5596 GB, free: 3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.4008, allocations: 146.7 kB / 0.5598 GB, free: 2.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.4009, allocations: 94.14 kB / 0.5599 GB, free: 2.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.4011, allocations: 350.8 kB / 0.5602 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.4014, allocations: 205 kB / 0.5604 GB, free: 2.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/0.4019, allocations: 365.6 kB / 0.5607 GB, free: 1.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/0.4027, allocations: 0.6021 MB / 0.5613 GB, free: 1.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4027, allocations: 4 kB / 0.5613 GB, free: 1.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001009/0.4037, allocations: 0.6194 MB / 0.5619 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.4038, allocations: 11.94 kB / 0.5619 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.4038, allocations: 8.031 kB / 0.562 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/0.4038, allocations: 11.98 kB / 0.562 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.4043, allocations: 115.8 kB / 0.5621 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.4043, allocations: 11.94 kB / 0.5621 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.4045, allocations: 19.98 kB / 0.5621 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.4046, allocations: 27.98 kB / 0.5621 GB, free: 284 kB / 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.0002864/0.4049, allocations: 213.6 kB / 0.5623 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-05/0.405, allocations: 39.7 kB / 0.5624 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008301/0.4058, allocations: 0.4925 MB / 0.5629 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.4058, allocations: 8 kB / 0.5629 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4058, allocations: 4 kB / 0.5629 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.4058, allocations: 3.984 kB / 0.5629 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.4076, allocations: 0.9677 MB / 0.5638 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.4076, allocations: 8 kB / 0.5638 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.408, allocations: 71.88 kB / 0.5639 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.892e-06/0.408, allocations: 4 kB / 0.5639 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.408, allocations: 12.09 kB / 0.5639 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.408, allocations: 0 / 0.5639 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.408, allocations: 4 kB / 0.5639 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.4092, allocations: 0.8322 MB / 0.5647 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.4093, allocations: 35.77 kB / 0.5648 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.4093, allocations: 8 kB / 0.5648 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.4095, allocations: 20.02 kB / 0.5648 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.4096, allocations: 15.97 kB / 0.5648 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.4096, allocations: 12 kB / 0.5648 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002305/0.4098, allocations: 203.1 kB / 0.565 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4098, allocations: 4 kB / 0.565 GB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005411/0.4104, allocations: 115.9 kB / 0.5651 GB, free: 13.12 MB / 414.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.000248/0.4106, allocations: 135.1 kB / 0.5653 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007391/0.4114, allocations: 470 kB / 0.5657 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.4114, allocations: 0 / 0.5657 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.4117, allocations: 212 kB / 0.5659 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.4122, allocations: 56.62 kB / 0.566 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.4141, allocations: 1.184 MB / 0.5671 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.4143, allocations: 266.2 kB / 0.5674 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.4145, allocations: 39.42 kB / 0.5674 GB, free: 10.71 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4145, allocations: 0 / 0.5674 GB, free: 10.71 MB / 414.1 MB Notification: Performance of Templates: time 0.009322/0.4238, allocations: 5.834 MB / 0.5731 GB, free: 4.887 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: 9.056325108278543] Failed to read output from testmodel.py, exit status != 0: 0.4328770348802209 0.44678939700000003 0.056736214 Calling exit ...