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.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.0009592/0.0009592, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001013/0.001013, allocations: 173.9 kB / 24.91 MB, free: 8.727 MB / 18.57 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.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2661/0.2661, allocations: 29.42 MB / 291.2 MB, free: 2.488 MB / 266.7 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.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 1.973e-06/1.973e-06, allocations: 0 / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.241e-05/4.438e-05, allocations: 2.312 kB / 316.8 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007547/0.007591, allocations: 6.482 MB / 323.3 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005456/0.01305, allocations: 2.981 MB / 326.3 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000722/0.01377, allocations: 35.69 kB / 326.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.01484, allocations: 282.1 kB / 326.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.01671, allocations: 0.7226 MB / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009723/0.01768, allocations: 396.5 kB / 327.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.01955, allocations: 1.383 MB / 329.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009508/0.0205, allocations: 0.588 MB / 329.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.02174, allocations: 0.8105 MB / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.02278, allocations: 0.5844 MB / 331.1 MB, free: 1.672 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.02293, allocations: 72 kB / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008173/0.02374, allocations: 387.2 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004632/0.02421, allocations: 478.8 kB / 332 MB, free: 0.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004458/0.02465, allocations: 355.2 kB / 332.4 MB, free: 412 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.02602, allocations: 0.9381 MB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.02602, allocations: 4 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02602, allocations: 0 / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.156e-05/0.02606, allocations: 0 / 333.3 MB, free: 15.46 MB / 314.7 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.001708/0.02777, allocations: 1.152 MB / 334.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.02781, allocations: 11.98 kB / 334.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007784/0.02859, allocations: 220.7 kB / 334.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008705/0.02946, allocations: 0.5594 MB / 335.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.0295, allocations: 58.38 kB / 335.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.02967, allocations: 104.5 kB / 335.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007483/0.03042, allocations: 0.6727 MB / 336.1 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.03044, allocations: 7.984 kB / 336.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.03049, allocations: 28 kB / 336.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.03059, allocations: 69.97 kB / 336.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.03104, allocations: 293.6 kB / 336.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.03415, allocations: 3.017 MB / 339.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.03443, allocations: 218.7 kB / 339.7 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.03455, allocations: 110.2 kB / 339.8 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.03458, allocations: 8.5 kB / 339.8 MB, free: 8.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.03462, allocations: 43 kB / 339.8 MB, free: 8.617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 2.625e-06/0.03462, allocations: 0 / 339.8 MB, free: 8.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001418/0.03604, allocations: 0.7951 MB / 340.6 MB, free: 7.789 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.03608, allocations: 85.55 kB / 340.7 MB, free: 7.688 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.03642, allocations: 478.8 kB / 341.2 MB, free: 7.207 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.03645, allocations: 29.7 kB / 341.2 MB, free: 7.172 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.03664, allocations: 436.9 kB / 341.6 MB, free: 6.738 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.03675, allocations: 186.3 kB / 341.8 MB, free: 6.555 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.03688, allocations: 138.5 kB / 342 MB, free: 6.414 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.037, allocations: 378.6 kB / 342.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-05/0.0371, allocations: 69.95 kB / 342.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.0373, allocations: 309 kB / 342.7 MB, free: 5.566 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.03768, allocations: 449 kB / 343.1 MB, free: 5.027 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.03769, allocations: 4 kB / 343.1 MB, free: 5.023 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007844/0.03847, allocations: 0.5661 MB / 343.7 MB, free: 4.441 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.03849, allocations: 8 kB / 343.7 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000524/0.03902, allocations: 312 kB / 344 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004441/0.03946, allocations: 183.1 kB / 344.2 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.03975, allocations: 151.7 kB / 344.4 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/0.04281, allocations: 4.076 MB / 348.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.04321, allocations: 20 kB / 348.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.04324, allocations: 27.98 kB / 348.5 MB, free: 15.35 MB / 330.7 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.00031/0.04355, allocations: 156.4 kB / 348.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.04366, allocations: 55.89 kB / 348.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.04404, allocations: 325 kB / 349 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.04405, allocations: 4 kB / 349 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.04405, allocations: 4 kB / 349 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.04405, allocations: 0 / 349 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.04525, allocations: 0.8287 MB / 349.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.04525, allocations: 4 kB / 349.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.04558, allocations: 115.9 kB / 350 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.04559, allocations: 4 kB / 350 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.04561, allocations: 8 kB / 350 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.04562, allocations: 4 kB / 350 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.04563, allocations: 7.938 kB / 350 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/0.04611, allocations: 0.5406 MB / 350.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.04624, allocations: 79.58 kB / 350.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.0463, allocations: 19.94 kB / 350.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.04643, allocations: 16 kB / 350.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.04647, allocations: 44.25 kB / 350.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.04649, allocations: 15.98 kB / 350.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001628/0.04666, allocations: 196.4 kB / 350.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.04666, allocations: 0 / 350.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005567/0.04721, allocations: 208 kB / 351.1 MB, free: 12.64 MB / 330.7 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.0001431/0.04736, allocations: 98.44 kB / 351.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008223/0.04818, allocations: 0.7401 MB / 351.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-05/0.04819, allocations: 8.5 kB / 351.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.04834, allocations: 140.6 kB / 352.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.04887, allocations: 154.5 kB / 352.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.05133, allocations: 1.581 MB / 353.8 MB, free: 9.832 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.05152, allocations: 238.8 kB / 354 MB, free: 9.578 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002373/0.05176, allocations: 89.42 kB / 354.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.052, allocations: 173.3 kB / 354.3 MB, free: 9.316 MB / 330.7 MB Notification: Performance of SimCode: time 1.953e-06/0.052, allocations: 0 / 354.3 MB, free: 9.316 MB / 330.7 MB Notification: Performance of Templates: time 0.01269/0.0647, allocations: 8.707 MB / 363 MB, free: 0.75 MB / 330.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2065701759420335]