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.001463/0.001463, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001656/0.001656, allocations: 161 kB / 24.56 MB, free: 16 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.001/1.001, allocations: 177.1 MB / 205 MB, free: 5.602 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.2216/0.2216, allocations: 29.42 MB / 290.9 MB, free: 2.5 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.333e-06/1.333e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.357e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.005774/0.005798, allocations: 6.527 MB / 376.2 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003554/0.009352, allocations: 2.968 MB / 379.1 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003748/0.009727, allocations: 31.75 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007091/0.01044, allocations: 278.1 kB / 379.4 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.01163, allocations: 0.7109 MB / 380.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007325/0.01236, allocations: 406.1 kB / 380.5 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.01372, allocations: 1.383 MB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007128/0.01444, allocations: 0.5412 MB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000862/0.0153, allocations: 0.8222 MB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008481/0.01615, allocations: 0.6078 MB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.01625, allocations: 72 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007095/0.01696, allocations: 391.2 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003198/0.01728, allocations: 478.8 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.01758, allocations: 351.2 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.01859, allocations: 0.9382 MB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.0186, allocations: 0 / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.0186, allocations: 0 / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.01862, allocations: 0 / 386.1 MB, free: 10.46 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.001476/0.0201, allocations: 1.32 MB / 387.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.02013, allocations: 11.98 kB / 387.4 MB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007329/0.02087, allocations: 268.1 kB / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.02188, allocations: 0.6285 MB / 388.3 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.02192, allocations: 62.36 kB / 388.4 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.02207, allocations: 100.6 kB / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008667/0.02294, allocations: 0.7605 MB / 389.2 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.02296, allocations: 0 / 389.2 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.02301, allocations: 32 kB / 389.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.686e-05/0.0231, allocations: 65.97 kB / 389.3 MB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/0.02371, allocations: 411.5 kB / 389.7 MB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/0.02692, allocations: 3.818 MB / 393.6 MB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.02728, allocations: 227.9 kB / 393.8 MB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.02745, allocations: 136.9 kB / 393.9 MB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.02748, allocations: 8.5 kB / 393.9 MB, free: 2.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.02751, allocations: 49.77 kB / 394 MB, free: 2.238 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.603e-06/0.02751, allocations: 0 / 394 MB, free: 2.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001762/0.02927, allocations: 1.161 MB / 395.1 MB, free: 1.043 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.02931, allocations: 89.72 kB / 395.2 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.02968, allocations: 0.5375 MB / 395.8 MB, free: 392 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.02971, allocations: 33.7 kB / 395.8 MB, free: 352 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.02995, allocations: 0.5299 MB / 396.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.03005, allocations: 198.3 kB / 396.5 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.03019, allocations: 144.3 kB / 396.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.03035, allocations: 0.5586 MB / 397.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.03052, allocations: 105.9 kB / 397.3 MB, free: 14.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.0308, allocations: 428.6 kB / 397.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.0313, allocations: 0.5801 MB / 398.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.03131, allocations: 0 / 398.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009798/0.03229, allocations: 0.7368 MB / 399.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.03231, allocations: 8 kB / 399.1 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005829/0.03289, allocations: 443.4 kB / 399.5 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004591/0.03335, allocations: 198.8 kB / 399.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.03364, allocations: 155.8 kB / 399.8 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/0.03704, allocations: 5.846 MB / 405.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.03727, allocations: 43.95 kB / 405.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.0373, allocations: 28 kB / 405.8 MB, free: 5.668 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.000175/0.03748, allocations: 212.2 kB / 406 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/0.03755, allocations: 75.62 kB / 406 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/0.03799, allocations: 408.1 kB / 406.4 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.03799, allocations: 8 kB / 406.4 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.038, allocations: 3.938 kB / 406.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.038, allocations: 7.984 kB / 406.5 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.0392, allocations: 1.118 MB / 407.6 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.03921, allocations: 3.938 kB / 407.6 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.03953, allocations: 128 kB / 407.7 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.03953, allocations: 4 kB / 407.7 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.03956, allocations: 19.98 kB / 407.7 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.03957, allocations: 7.938 kB / 407.7 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.03957, allocations: 0 / 407.7 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.04021, allocations: 0.682 MB / 408.4 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.04034, allocations: 95.53 kB / 408.5 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.04039, allocations: 12 kB / 408.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.04053, allocations: 19.97 kB / 408.5 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.04059, allocations: 48.36 kB / 408.6 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.04061, allocations: 16 kB / 408.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002589/0.04087, allocations: 342.8 kB / 408.9 MB, free: 2.367 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04087, allocations: 0 / 408.9 MB, free: 2.367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008355/0.0417, allocations: 208 kB / 409.1 MB, free: 2.164 MB / 378.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.0001163/0.04182, allocations: 115.1 kB / 409.3 MB, free: 2.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009101/0.04273, allocations: 0.9839 MB / 410.2 MB, free: 1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.04273, allocations: 4.062 kB / 410.2 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.0429, allocations: 163.4 kB / 410.4 MB, free: 0.832 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.04336, allocations: 136.8 kB / 410.5 MB, free: 0.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.04572, allocations: 1.732 MB / 412.3 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.04589, allocations: 242.8 kB / 412.5 MB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002672/0.04616, allocations: 149.3 kB / 412.6 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.04626, allocations: 56.48 kB / 412.7 MB, free: 14.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.04626, allocations: 4 kB / 412.7 MB, free: 14.45 MB / 394.7 MB Notification: Performance of Templates: time 0.01143/0.05769, allocations: 8.505 MB / 421.2 MB, free: 6.062 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2182435048744082]