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.001415/0.001415, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001015/0.001015, allocations: 166.6 kB / 25.61 MB, free: 8.578 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 0.9173/0.9173, allocations: 177.1 MB / 206 MB, free: 4.508 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.1194/0.1194, allocations: 29.42 MB / 292 MB, free: 2.645 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.152e-06/1.152e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.741e-05, allocations: 5.266 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.005683/0.0057, allocations: 6.467 MB / 377.3 MB, free: 25.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.008444, allocations: 2.917 MB / 380.3 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.008712, allocations: 39.69 kB / 380.3 MB, free: 22.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.009302, allocations: 282.2 kB / 380.6 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007727/0.01007, allocations: 0.7187 MB / 381.3 MB, free: 21.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.01049, allocations: 394.8 kB / 381.7 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008621/0.01135, allocations: 1.381 MB / 383.1 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004231/0.01177, allocations: 0.5568 MB / 383.6 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000489/0.01226, allocations: 0.8028 MB / 384.4 MB, free: 18.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.01283, allocations: 0.6116 MB / 385 MB, free: 18.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.01289, allocations: 72 kB / 385.1 MB, free: 18.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.01324, allocations: 399.2 kB / 385.5 MB, free: 17.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.01343, allocations: 478.8 kB / 386 MB, free: 17.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.01363, allocations: 359.2 kB / 386.3 MB, free: 16.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.0142, allocations: 0.9343 MB / 387.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.0142, allocations: 4 kB / 387.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.0142, allocations: 0 / 387.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.01421, allocations: 0 / 387.3 MB, free: 15.88 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.0009925/0.0152, allocations: 1.3 MB / 388.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.01523, allocations: 8.031 kB / 388.6 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006336/0.01587, allocations: 264.2 kB / 388.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.01641, allocations: 0.6011 MB / 389.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.01643, allocations: 58.38 kB / 389.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.01655, allocations: 100.7 kB / 389.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.01706, allocations: 0.6864 MB / 390.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.01708, allocations: 11.88 kB / 390.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.01712, allocations: 32 kB / 390.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.442e-05/0.01721, allocations: 69.95 kB / 390.4 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.01761, allocations: 325.5 kB / 390.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.0197, allocations: 3.774 MB / 394.5 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.01992, allocations: 199.9 kB / 394.7 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.965e-05/0.02002, allocations: 116.9 kB / 394.8 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.02004, allocations: 8.5 kB / 394.8 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.02006, allocations: 45.88 kB / 394.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 1.563e-06/0.02006, allocations: 0 / 394.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009944/0.02105, allocations: 0.8617 MB / 395.7 MB, free: 7.059 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.02109, allocations: 89.67 kB / 395.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.02132, allocations: 0.5372 MB / 396.3 MB, free: 6.395 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.02134, allocations: 33.7 kB / 396.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.02149, allocations: 0.5413 MB / 396.9 MB, free: 5.805 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.02156, allocations: 190.4 kB / 397.1 MB, free: 5.617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.02167, allocations: 152.2 kB / 397.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.02174, allocations: 0.5585 MB / 397.8 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.913e-05/0.02183, allocations: 77.94 kB / 397.9 MB, free: 4.812 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.02199, allocations: 412.5 kB / 398.3 MB, free: 4.277 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.02229, allocations: 0.5332 MB / 398.8 MB, free: 3.617 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.02229, allocations: 4 kB / 398.8 MB, free: 3.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007331/0.02303, allocations: 0.6784 MB / 399.5 MB, free: 2.914 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.02304, allocations: 18.16 kB / 399.5 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004244/0.02347, allocations: 391.9 kB / 399.9 MB, free: 2.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003952/0.02386, allocations: 186.8 kB / 400.1 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.02412, allocations: 139.8 kB / 400.2 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.02679, allocations: 5.702 MB / 405.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.02698, allocations: 27.98 kB / 405.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.02701, allocations: 27.98 kB / 406 MB, free: 12.07 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.0001511/0.02716, allocations: 204.3 kB / 406.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.518e-05/0.02723, allocations: 79.62 kB / 406.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.0276, allocations: 383.9 kB / 406.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.02761, allocations: 4 kB / 406.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.02761, allocations: 0 / 406.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.02761, allocations: 11.98 kB / 406.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009297/0.02854, allocations: 0.939 MB / 407.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.02855, allocations: 4 kB / 407.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.02884, allocations: 116 kB / 407.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.02884, allocations: 8 kB / 407.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.02886, allocations: 16 kB / 407.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.02887, allocations: 7.938 kB / 407.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.02887, allocations: 7.938 kB / 407.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.02933, allocations: 0.6312 MB / 408.3 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.02944, allocations: 95.45 kB / 408.4 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.02948, allocations: 19.94 kB / 408.5 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.02961, allocations: 8 kB / 408.5 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.02965, allocations: 40.38 kB / 408.5 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.02967, allocations: 12 kB / 408.5 MB, free: 9.379 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.02983, allocations: 326.7 kB / 408.8 MB, free: 9.062 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02983, allocations: 0 / 408.8 MB, free: 9.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004053/0.03023, allocations: 208 kB / 409 MB, free: 8.859 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 9.499e-05/0.03033, allocations: 117.6 kB / 409.2 MB, free: 8.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009576/0.03129, allocations: 0.9407 MB / 410.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.03129, allocations: 4.188 kB / 410.1 MB, free: 7.742 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.03143, allocations: 155.4 kB / 410.3 MB, free: 7.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.03186, allocations: 134.5 kB / 410.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.03382, allocations: 1.725 MB / 412.1 MB, free: 5.668 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.03398, allocations: 242.8 kB / 412.3 MB, free: 5.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001921/0.03417, allocations: 89.41 kB / 412.4 MB, free: 5.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.03441, allocations: 198.1 kB / 412.6 MB, free: 5.125 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.03441, allocations: 0 / 412.6 MB, free: 5.125 MB / 330.7 MB Notification: Performance of Templates: time 0.01116/0.04556, allocations: 8.879 MB / 421.5 MB, free: 12.39 MB / 346.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: 2.9920063354074955]