Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.001361/0.001361, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001523/0.001523, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.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.1881/0.1881, allocations: 38.56 MB / 353.2 MB, free: 12.4 MB / 286.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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 63.89 kB / 493.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3015, allocations: 62.47 MB / 0.5432 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01168/0.3132, allocations: 8.995 MB / 0.552 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006468/0.3197, allocations: 3.371 MB / 0.5553 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007066/0.3204, allocations: 46.06 kB / 0.5553 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.3234, allocations: 1.069 MB / 0.5563 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.3259, allocations: 0.9035 MB / 0.5572 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.3273, allocations: 494 kB / 0.5577 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002634/0.3299, allocations: 1.808 MB / 0.5595 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.3311, allocations: 0.7395 MB / 0.5602 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.3325, allocations: 0.7977 MB / 0.561 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.3341, allocations: 0.9187 MB / 0.5619 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.3343, allocations: 112 kB / 0.562 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.3356, allocations: 0.5732 MB / 0.5625 GB, free: 320 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000674/0.3362, allocations: 0.6507 MB / 0.5632 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007236/0.337, allocations: 0.5794 MB / 0.5637 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.3394, allocations: 1.934 MB / 0.5656 GB, free: 13.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3394, allocations: 0 / 0.5656 GB, free: 13.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3394, allocations: 0 / 0.5656 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.3394, allocations: 0 / 0.5656 GB, free: 13.14 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003158/0.3426, allocations: 1.606 MB / 0.5672 GB, free: 11.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3426, allocations: 15.92 kB / 0.5672 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.3445, allocations: 307.8 kB / 0.5675 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.3467, allocations: 0.8735 MB / 0.5683 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.472e-05/0.3467, allocations: 82.09 kB / 0.5684 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/0.3471, allocations: 143.8 kB / 0.5686 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.3496, allocations: 1.482 MB / 0.57 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/0.3496, allocations: 7.953 kB / 0.57 GB, free: 8.488 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.3497, allocations: 47.98 kB / 0.5701 GB, free: 8.441 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003215/0.35, allocations: 98.16 kB / 0.5702 GB, free: 8.344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.3523, allocations: 1.254 MB / 0.5714 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00793/0.3602, allocations: 4.701 MB / 0.576 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009501/0.3612, allocations: 0.5659 MB / 0.5765 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005781/0.3617, allocations: 379.5 kB / 0.5769 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/0.3618, allocations: 8.656 kB / 0.5769 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.3618, allocations: 39.22 kB / 0.5769 GB, free: 1.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 6.191e-06/0.3618, allocations: 4 kB / 0.5769 GB, free: 1.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.007531/0.3694, allocations: 3.198 MB / 0.5801 GB, free: 13.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.3694, allocations: 89.7 kB / 0.5801 GB, free: 13.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009199/0.3703, allocations: 0.6878 MB / 0.5808 GB, free: 13.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.3704, allocations: 37.7 kB / 0.5809 GB, free: 13.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004756/0.3709, allocations: 0.6168 MB / 0.5815 GB, free: 12.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/0.3712, allocations: 285.6 kB / 0.5817 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.3714, allocations: 186.5 kB / 0.5819 GB, free: 11.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.3717, allocations: 398.8 kB / 0.5823 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006304/0.3723, allocations: 393.8 kB / 0.5827 GB, free: 11.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008614/0.3731, allocations: 0.6574 MB / 0.5833 GB, free: 10.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.3748, allocations: 1.148 MB / 0.5844 GB, free: 9.137 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.3748, allocations: 4 kB / 0.5844 GB, free: 9.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00352/0.3784, allocations: 1.679 MB / 0.5861 GB, free: 7.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3784, allocations: 8 kB / 0.5861 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002751/0.3811, allocations: 1.286 MB / 0.5873 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/0.3831, allocations: 0.573 MB / 0.5879 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006378/0.3837, allocations: 171.7 kB / 0.5881 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/0.3965, allocations: 9.664 MB / 0.5975 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008367/0.3974, allocations: 55.91 kB / 0.5975 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/0.3975, allocations: 40 kB / 0.5976 GB, free: 11.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0006737/0.3981, allocations: 387 kB / 0.598 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.3983, allocations: 91.44 kB / 0.598 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.4008, allocations: 1.236 MB / 0.5992 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.4008, allocations: 11.98 kB / 0.5993 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4008, allocations: 4 kB / 0.5993 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.4008, allocations: 7.984 kB / 0.5993 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004875/0.4057, allocations: 2.126 MB / 0.6013 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.4057, allocations: 4 kB / 0.6013 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.4062, allocations: 116 kB / 0.6015 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.4074, allocations: 367.8 kB / 0.6018 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.776e-05/0.4074, allocations: 31.98 kB / 0.6018 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009056/0.4165, allocations: 8.628 MB / 0.6103 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.4165, allocations: 3.938 kB / 0.6103 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/0.4196, allocations: 1.671 MB / 0.6119 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/0.4202, allocations: 151.3 kB / 0.612 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.4204, allocations: 24.12 kB / 0.6121 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/0.4209, allocations: 31.98 kB / 0.6121 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.421, allocations: 68.45 kB / 0.6122 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/0.4211, allocations: 20 kB / 0.6122 GB, free: 11.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006992/0.4218, allocations: 467 kB / 0.6126 GB, free: 11.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4218, allocations: 0 / 0.6126 GB, free: 11.11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001474/0.4233, allocations: 368 kB / 0.613 GB, free: 10.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000339/0.4236, allocations: 154.8 kB / 0.6131 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002745/0.4264, allocations: 1.539 MB / 0.6146 GB, free: 9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4264, allocations: 0 / 0.6146 GB, free: 9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.4281, allocations: 1.065 MB / 0.6157 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.4293, allocations: 190 kB / 0.6159 GB, free: 7.684 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005352/0.4346, allocations: 2.849 MB / 0.6186 GB, free: 4.773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009731/0.4356, allocations: 0.6642 MB / 0.6193 GB, free: 4.078 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.4359, allocations: 75.41 kB / 0.6194 GB, free: 4.004 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4359, allocations: 0 / 0.6194 GB, free: 4.004 MB / 462.1 MB Notification: Performance of Templates: time 0.04418/0.4801, allocations: 33.16 MB / 0.6517 GB, free: 2.828 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.040915641002357] Failed to read output from testmodel.py, exit status != 0: 0.48965438222512603 0.505496356 0.16256612 Calling exit ...