Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.001737/0.001737, allocations: 112.2 kB / 19.04 MB, free: 3.254 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.001858/0.001858, allocations: 196.4 kB / 22.22 MB, free: 72 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.41/1.41, allocations: 225.6 MB / 250.8 MB, free: 13.38 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.2013/0.2013, allocations: 38.51 MB / 344.4 MB, free: 2.531 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.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 59.91 kB / 482.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3393, allocations: 61.24 MB / 0.5306 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.00742/0.3467, allocations: 7.693 MB / 0.5381 GB, free: 16 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005471/0.3522, allocations: 3.004 MB / 0.541 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005312/0.3527, allocations: 23.84 kB / 0.541 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.355, allocations: 0.7564 MB / 0.5418 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.3569, allocations: 0.7044 MB / 0.5425 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009591/0.3579, allocations: 377 kB / 0.5428 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.3596, allocations: 1.354 MB / 0.5441 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007194/0.3603, allocations: 488.8 kB / 0.5446 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007139/0.361, allocations: 0.5702 MB / 0.5452 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009068/0.3619, allocations: 0.6756 MB / 0.5458 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.362, allocations: 73.5 kB / 0.5459 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00082/0.3628, allocations: 0.493 MB / 0.5464 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004399/0.3633, allocations: 459.3 kB / 0.5468 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005281/0.3638, allocations: 0.514 MB / 0.5473 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.3655, allocations: 1.422 MB / 0.5487 GB, free: 8.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3655, allocations: 0 / 0.5487 GB, free: 8.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3655, allocations: 0 / 0.5487 GB, free: 8.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.3655, allocations: 1.438 kB / 0.5487 GB, free: 8.59 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002398/0.3679, allocations: 1.309 MB / 0.55 GB, free: 7.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.368, allocations: 13.27 kB / 0.55 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.3692, allocations: 212.6 kB / 0.5502 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.3706, allocations: 0.7558 MB / 0.5509 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/0.3707, allocations: 62.95 kB / 0.551 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.3709, allocations: 97.33 kB / 0.5511 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.3727, allocations: 1.095 MB / 0.5522 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/0.3727, allocations: 10.11 kB / 0.5522 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/0.3728, allocations: 31.84 kB / 0.5522 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002036/0.373, allocations: 70.61 kB / 0.5523 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.3745, allocations: 0.8721 MB / 0.5531 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005225/0.3797, allocations: 3.986 MB / 0.557 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.3804, allocations: 411.8 kB / 0.5574 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.3807, allocations: 266.3 kB / 0.5577 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/0.3808, allocations: 8.422 kB / 0.5577 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.3808, allocations: 46.98 kB / 0.5577 GB, free: 420 kB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.815e-06/0.3808, allocations: 0 / 0.5577 GB, free: 420 kB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.003009/0.3838, allocations: 1.735 MB / 0.5594 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.3839, allocations: 81.55 kB / 0.5595 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006827/0.3846, allocations: 0.5938 MB / 0.5601 GB, free: 13.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.3846, allocations: 37.7 kB / 0.5601 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.385, allocations: 479.6 kB / 0.5606 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.3851, allocations: 198.3 kB / 0.5607 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.3854, allocations: 142.6 kB / 0.5609 GB, free: 13.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3855, allocations: 378.8 kB / 0.5612 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.3859, allocations: 257.8 kB / 0.5615 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.3865, allocations: 473 kB / 0.5619 GB, free: 11.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.3875, allocations: 0.7702 MB / 0.5627 GB, free: 11.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3875, allocations: 4 kB / 0.5627 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002025/0.3896, allocations: 1.107 MB / 0.5638 GB, free: 9.859 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.3896, allocations: 11.12 kB / 0.5638 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001418/0.391, allocations: 0.7874 MB / 0.5646 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007213/0.3917, allocations: 222.4 kB / 0.5648 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/0.3923, allocations: 151.7 kB / 0.5649 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/0.3985, allocations: 5.681 MB / 0.5705 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.399, allocations: 40.03 kB / 0.5705 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.399, allocations: 36 kB / 0.5705 GB, free: 2.484 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004548/0.3995, allocations: 305.4 kB / 0.5708 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.3996, allocations: 71.53 kB / 0.5709 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.4006, allocations: 0.6046 MB / 0.5715 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4006, allocations: 8 kB / 0.5715 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4007, allocations: 4 kB / 0.5715 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.4007, allocations: 3.984 kB / 0.5715 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.4032, allocations: 1.482 MB / 0.5729 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4032, allocations: 3.984 kB / 0.5729 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006413/0.4038, allocations: 131.8 kB / 0.5731 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4038, allocations: 4 kB / 0.5731 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.4039, allocations: 15.94 kB / 0.5731 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.4039, allocations: 4 kB / 0.5731 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.4039, allocations: 4 kB / 0.5731 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.4053, allocations: 0.9404 MB / 0.574 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.4056, allocations: 192.5 kB / 0.5742 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.732e-05/0.4057, allocations: 20 kB / 0.5742 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.406, allocations: 19.98 kB / 0.5742 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/0.4061, allocations: 32.39 kB / 0.5743 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.4061, allocations: 16 kB / 0.5743 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005024/0.4066, allocations: 419 kB / 0.5747 GB, free: 14.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4066, allocations: 0 / 0.5747 GB, free: 14.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007847/0.4074, allocations: 235.9 kB / 0.5749 GB, free: 13.85 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.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 (54): * Single equations (assignments): 53 * Array equations: 0 * 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.0002928/0.4077, allocations: 143.1 kB / 0.575 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.4094, allocations: 1.01 MB / 0.576 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4094, allocations: 1.312 kB / 0.576 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.4098, allocations: 254.5 kB / 0.5763 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/0.4106, allocations: 157.2 kB / 0.5764 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.414, allocations: 2.085 MB / 0.5785 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007887/0.4148, allocations: 1.075 MB / 0.5795 GB, free: 9.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004619/0.4152, allocations: 189.9 kB / 0.5797 GB, free: 8.832 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.4154, allocations: 59.36 kB / 0.5798 GB, free: 8.773 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4154, allocations: 4 kB / 0.5798 GB, free: 8.77 MB / 430.1 MB Notification: Performance of Templates: time 0.0184/0.4338, allocations: 9.752 MB / 0.5893 GB, free: 15.07 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.193250369280577]