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.001416/0.001416, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001532/0.001532, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 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.504/1.504, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 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.2935/0.2935, allocations: 29.41 MB / 290.5 MB, free: 2.438 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 2.434e-06/2.434e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.733e-05/3.976e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.0125/0.01254, allocations: 7.119 MB / 376 MB, free: 4.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006818/0.01936, allocations: 2.824 MB / 378.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008019/0.02016, allocations: 35.69 kB / 378.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.02271, allocations: 0.7076 MB / 379.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.02529, allocations: 0.7265 MB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.02663, allocations: 393.6 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.0289, allocations: 1.387 MB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009238/0.02982, allocations: 0.5529 MB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.03101, allocations: 0.7595 MB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.03202, allocations: 0.5883 MB / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.03216, allocations: 76 kB / 384.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.03342, allocations: 0.495 MB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005352/0.03395, allocations: 470.8 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005284/0.03448, allocations: 367.1 kB / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002116/0.0366, allocations: 1.445 MB / 386.8 MB, free: 9.297 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.0366, allocations: 7.938 kB / 386.8 MB, free: 9.289 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.0366, allocations: 3.938 kB / 386.8 MB, free: 9.285 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.03662, allocations: 0 / 386.8 MB, free: 9.285 MB / 362.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.002591/0.03921, allocations: 1.22 MB / 388 MB, free: 8.031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.03925, allocations: 11.98 kB / 388.1 MB, free: 8.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.04077, allocations: 308 kB / 388.4 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.04247, allocations: 0.696 MB / 389.1 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.126e-05/0.04254, allocations: 66.34 kB / 389.1 MB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/0.04279, allocations: 96.62 kB / 389.2 MB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.04476, allocations: 1.103 MB / 390.3 MB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/0.0448, allocations: 11.95 kB / 390.3 MB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.89e-05/0.04489, allocations: 32 kB / 390.4 MB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.04509, allocations: 73.95 kB / 390.4 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.04666, allocations: 0.8587 MB / 391.3 MB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006008/0.05267, allocations: 3.548 MB / 394.8 MB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.05336, allocations: 334.9 kB / 395.2 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004355/0.05379, allocations: 271 kB / 395.4 MB, free: 400 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.05384, allocations: 8.5 kB / 395.4 MB, free: 392 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.05388, allocations: 39.06 kB / 395.5 MB, free: 340 kB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.266e-06/0.05388, allocations: 0 / 395.5 MB, free: 340 kB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.003422/0.0573, allocations: 1.675 MB / 397.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.05739, allocations: 89.61 kB / 397.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007537/0.05814, allocations: 0.5261 MB / 397.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.05819, allocations: 33.7 kB / 397.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.05867, allocations: 487.7 kB / 398.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.05887, allocations: 194.4 kB / 398.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.05912, allocations: 138.7 kB / 398.6 MB, free: 13.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005485/0.05967, allocations: 378.8 kB / 399 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.06013, allocations: 253.8 kB / 399.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006631/0.06079, allocations: 476.9 kB / 399.7 MB, free: 11.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.062, allocations: 0.7756 MB / 400.5 MB, free: 11.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.06201, allocations: 4 kB / 400.5 MB, free: 11.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002245/0.06425, allocations: 1.06 MB / 401.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.06428, allocations: 8 kB / 401.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001498/0.06578, allocations: 0.7222 MB / 402.3 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009922/0.06677, allocations: 262.2 kB / 402.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.06734, allocations: 155.7 kB / 402.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007018/0.07436, allocations: 5.266 MB / 407.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006266/0.07498, allocations: 39.91 kB / 408 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.07505, allocations: 36 kB / 408 MB, free: 3.172 MB / 378.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.0005512/0.0756, allocations: 301.5 kB / 408.3 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.07576, allocations: 83.64 kB / 408.4 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.07689, allocations: 0.6053 MB / 409 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.0769, allocations: 8 kB / 409 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.0769, allocations: 3.938 kB / 409 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.07691, allocations: 3.984 kB / 409 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.07947, allocations: 1.3 MB / 410.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.07947, allocations: 0 / 410.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006828/0.08015, allocations: 135.8 kB / 410.4 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.08016, allocations: 4 kB / 410.4 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.08021, allocations: 12 kB / 410.4 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.08021, allocations: 4 kB / 410.5 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.08022, allocations: 4 kB / 410.5 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.0817, allocations: 0.9462 MB / 411.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.08195, allocations: 103.5 kB / 411.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.08204, allocations: 15.98 kB / 411.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.08237, allocations: 23.98 kB / 411.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.08244, allocations: 32.44 kB / 411.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.08248, allocations: 19.94 kB / 411.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005026/0.08299, allocations: 366.8 kB / 412 MB, free: 15.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08299, allocations: 0 / 412 MB, free: 15.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008795/0.08387, allocations: 235.9 kB / 412.2 MB, free: 14.89 MB / 394.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.0003292/0.0842, allocations: 142 kB / 412.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002157/0.08635, allocations: 1.007 MB / 413.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.08636, allocations: 4 kB / 413.3 MB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.08679, allocations: 252 kB / 413.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008175/0.08761, allocations: 154.1 kB / 413.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.09111, allocations: 1.901 MB / 415.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006997/0.09181, allocations: 490.5 kB / 416.1 MB, free: 10.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000498/0.0923, allocations: 185.3 kB / 416.3 MB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.0925, allocations: 52.5 kB / 416.3 MB, free: 10.61 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0925, allocations: 0 / 416.3 MB, free: 10.61 MB / 394.7 MB Notification: Performance of Templates: time 0.01856/0.1111, allocations: 8.62 MB / 425 MB, free: 2.121 MB / 394.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.948530599009246]