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.001418/0.001418, allocations: 82.86 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001566/0.001566, allocations: 165.2 kB / 23.96 MB, free: 4.164 MB / 14.72 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.52/1.52, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.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.178/0.178, allocations: 29.43 MB / 290.1 MB, free: 3.277 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.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.854e-06/1.854e-06, allocations: 0 / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.318e-05, allocations: 6.219 kB / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.0105/0.01054, allocations: 7.092 MB / 437.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005498/0.01603, allocations: 2.824 MB / 440.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006498/0.01668, allocations: 35.69 kB / 440.7 MB, free: 7.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.0189, allocations: 0.7251 MB / 441.4 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.02071, allocations: 0.7303 MB / 442.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.02175, allocations: 394.5 kB / 442.5 MB, free: 6.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.02356, allocations: 1.383 MB / 443.9 MB, free: 4.695 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008164/0.02438, allocations: 0.5529 MB / 444.5 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009841/0.02537, allocations: 0.7557 MB / 445.2 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000928/0.02629, allocations: 0.5883 MB / 445.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.02644, allocations: 76 kB / 445.9 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009138/0.02736, allocations: 0.4911 MB / 446.4 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004789/0.02784, allocations: 482.7 kB / 446.8 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004606/0.0283, allocations: 359.2 kB / 447.2 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2012/0.2295, allocations: 1.437 MB / 448.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.2295, allocations: 0.7031 kB / 448.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2295, allocations: 0 / 448.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.366e-05/0.2296, allocations: 0 / 448.6 MB, free: 17.93 MB / 366.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.002416/0.232, allocations: 1.233 MB / 449.9 MB, free: 17.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.232, allocations: 13.64 kB / 449.9 MB, free: 17.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.2334, allocations: 220.5 kB / 450.1 MB, free: 17.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.235, allocations: 0.6688 MB / 450.8 MB, free: 17.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.235, allocations: 61.67 kB / 450.8 MB, free: 17.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.2353, allocations: 105.6 kB / 450.9 MB, free: 17.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.2369, allocations: 1.104 MB / 452 MB, free: 16.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.2369, allocations: 2.734 kB / 452 MB, free: 16.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.237, allocations: 34.73 kB / 452.1 MB, free: 16.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/0.2371, allocations: 69.08 kB / 452.1 MB, free: 16.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.2385, allocations: 0.8739 MB / 453 MB, free: 16.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004518/0.2431, allocations: 3.507 MB / 456.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005966/0.2437, allocations: 343.5 kB / 456.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.244, allocations: 265.6 kB / 457.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.2441, allocations: 7.875 kB / 457.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.2441, allocations: 36.81 kB / 457.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.335e-06/0.2441, allocations: 0 / 457.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.00307/0.2472, allocations: 1.659 MB / 458.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.2472, allocations: 91.19 kB / 458.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007108/0.2479, allocations: 0.5234 MB / 459.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.248, allocations: 35.67 kB / 459.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.2482, allocations: 493.3 kB / 459.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.2484, allocations: 193.8 kB / 460.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.2486, allocations: 138 kB / 460.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.2487, allocations: 375.4 kB / 460.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/0.2491, allocations: 252.4 kB / 460.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.2497, allocations: 476.4 kB / 461.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.2507, allocations: 0.7773 MB / 462.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2507, allocations: 3.266 kB / 462.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001993/0.2527, allocations: 1.033 MB / 463.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2527, allocations: 9.672 kB / 463.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00139/0.2541, allocations: 0.7111 MB / 463.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007823/0.2549, allocations: 226.3 kB / 464.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/0.2555, allocations: 154.3 kB / 464.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004747/0.2602, allocations: 5.253 MB / 469.5 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.2608, allocations: 42.16 kB / 469.5 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.2609, allocations: 37.78 kB / 469.6 MB, free: 7.625 MB / 366.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.0004162/0.2613, allocations: 302.6 kB / 469.9 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2614, allocations: 72.42 kB / 469.9 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009996/0.2624, allocations: 0.6051 MB / 470.5 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2624, allocations: 5.844 kB / 470.5 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2624, allocations: 0 / 470.5 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.2624, allocations: 8.156 kB / 470.6 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.2647, allocations: 1.283 MB / 471.8 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2647, allocations: 5.562 kB / 471.8 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.2653, allocations: 126.6 kB / 472 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.2653, allocations: 3.531 kB / 472 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.2654, allocations: 17.3 kB / 472 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.2654, allocations: 3.25 kB / 472 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2654, allocations: 2.562 kB / 472 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.2665, allocations: 0.9323 MB / 472.9 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.2667, allocations: 107.1 kB / 473 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.049e-05/0.2668, allocations: 21.8 kB / 473.1 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.2671, allocations: 19.84 kB / 473.1 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.2672, allocations: 37.56 kB / 473.1 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.2672, allocations: 13.98 kB / 473.1 MB, free: 5.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003681/0.2676, allocations: 362.9 kB / 473.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2676, allocations: 1.5 kB / 473.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008101/0.2684, allocations: 238.4 kB / 473.7 MB, free: 5.789 MB / 366.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.0002813/0.2687, allocations: 143.7 kB / 473.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.2702, allocations: 1.009 MB / 474.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2702, allocations: 2 kB / 474.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.2705, allocations: 247.6 kB / 475.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.2713, allocations: 134.7 kB / 475.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.2737, allocations: 1.871 MB / 477.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.2741, allocations: 488.1 kB / 477.6 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003825/0.2745, allocations: 185.1 kB / 477.8 MB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.2747, allocations: 56.38 kB / 477.8 MB, free: 3.836 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.2747, allocations: 0 / 477.8 MB, free: 3.836 MB / 366.1 MB Notification: Performance of Templates: time 0.0147/0.2894, allocations: 8.561 MB / 486.4 MB, free: 14.93 MB / 382.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.154891021549702] Failed to read output from testmodel.py, exit status != 0: 0.29851020127534866 0.31333908200000005 0.080678344 Calling exit ...