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.001072/0.001072, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002516, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001155/0.001155, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002564, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9384/0.9384, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07545/1.014, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.1135/0.1135, allocations: 29.43 MB / 273.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1218/0.2354, allocations: 9.52 MB / 282.9 MB, free: 12.84 MB / 282.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.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: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 284.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.201e-05, allocations: 5.734 kB / 284.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01072/0.01075, allocations: 7.987 MB / 292.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006497/0.01724, allocations: 3.611 MB / 295.8 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008293/0.01807, allocations: 47.16 kB / 295.9 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.01935, allocations: 405.1 kB / 296.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.02173, allocations: 0.9583 MB / 297.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.02302, allocations: 0.4946 MB / 297.7 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002508/0.02553, allocations: 1.916 MB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008621/0.02639, allocations: 0.759 MB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.02779, allocations: 1.207 MB / 301.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.02895, allocations: 0.8531 MB / 302.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.0291, allocations: 100 kB / 302.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007883/0.02989, allocations: 491 kB / 303 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004085/0.0303, allocations: 0.6314 MB / 303.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000397/0.03069, allocations: 415.2 kB / 304.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.03223, allocations: 1.207 MB / 305.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.03225, allocations: 0 / 305.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.03225, allocations: 0 / 305.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.358e-05/0.03228, allocations: 0 / 305.3 MB, free: 9.641 MB / 298.7 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.001805/0.03409, allocations: 1.792 MB / 307.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.03412, allocations: 8.031 kB / 307.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009506/0.03507, allocations: 409.6 kB / 307.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008846/0.03595, allocations: 0.7017 MB / 308.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.036, allocations: 82.47 kB / 308.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.03619, allocations: 147.7 kB / 308.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008825/0.03708, allocations: 0.8755 MB / 309.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.436e-05/0.03711, allocations: 7.938 kB / 309.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.03717, allocations: 36 kB / 309.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.03733, allocations: 98.16 kB / 309.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.03787, allocations: 400 kB / 309.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/0.04172, allocations: 3.89 MB / 313.7 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.04205, allocations: 306 kB / 314 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.0422, allocations: 146.5 kB / 314.1 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.04224, allocations: 20.59 kB / 314.2 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.04227, allocations: 43.2 kB / 314.2 MB, free: 292 kB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.585e-06/0.04227, allocations: 0 / 314.2 MB, free: 292 kB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.002663/0.04493, allocations: 1.634 MB / 315.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.04497, allocations: 85.77 kB / 315.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.0453, allocations: 0.5816 MB / 316.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.04534, allocations: 37.7 kB / 316.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.04554, allocations: 0.5204 MB / 317.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.04568, allocations: 289.5 kB / 317.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.04585, allocations: 174.5 kB / 317.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.04596, allocations: 406.5 kB / 317.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.04609, allocations: 97.95 kB / 318 MB, free: 12.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.04634, allocations: 393.2 kB / 318.4 MB, free: 11.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007232/0.04707, allocations: 0.5919 MB / 319 MB, free: 11.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.04707, allocations: 4 kB / 319 MB, free: 11.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001168/0.04824, allocations: 0.8876 MB / 319.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.04826, allocations: 8 kB / 319.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008316/0.04909, allocations: 0.5847 MB / 320.5 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.05014, allocations: 0.5025 MB / 321 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.05051, allocations: 203.7 kB / 321.2 MB, free: 8.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/0.05517, allocations: 6.689 MB / 327.9 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.05551, allocations: 31.95 kB / 327.9 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.05556, allocations: 35.94 kB / 327.9 MB, free: 1.781 MB / 314.7 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.0002348/0.05579, allocations: 176.4 kB / 328.1 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-05/0.05588, allocations: 71.92 kB / 328.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007801/0.05666, allocations: 0.6326 MB / 328.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.05666, allocations: 8 kB / 328.8 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.05667, allocations: 4 kB / 328.8 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.05667, allocations: 3.984 kB / 328.8 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.0582, allocations: 1.296 MB / 330.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.0582, allocations: 4 kB / 330.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.05848, allocations: 111.9 kB / 330.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.05862, allocations: 111.4 kB / 330.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005385/0.05916, allocations: 295 kB / 330.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.0592, allocations: 27.98 kB / 330.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003396/0.06259, allocations: 7.238 MB / 337.9 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.06259, allocations: 0 / 337.9 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/0.06347, allocations: 0.8868 MB / 338.8 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.06354, allocations: 35.88 kB / 338.8 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.06373, allocations: 16 kB / 338.8 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.0638, allocations: 64.47 kB / 338.9 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.06383, allocations: 16 kB / 338.9 MB, free: 6.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.064, allocations: 272.5 kB / 339.2 MB, free: 5.848 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.064, allocations: 0 / 339.2 MB, free: 5.848 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000823/0.06483, allocations: 340 kB / 339.5 MB, free: 5.516 MB / 330.7 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.0001201/0.06495, allocations: 108.3 kB / 339.6 MB, free: 5.402 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.06609, allocations: 1.074 MB / 340.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-05/0.06612, allocations: 20.56 kB / 340.7 MB, free: 4.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006216/0.06674, allocations: 0.874 MB / 341.6 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.0673, allocations: 294.4 kB / 341.9 MB, free: 3.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/0.08547, allocations: 2.231 MB / 344.1 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.08576, allocations: 347.2 kB / 344.4 MB, free: 396 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.08606, allocations: 111.3 kB / 344.5 MB, free: 280 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.08634, allocations: 209.2 kB / 344.7 MB, free: 68 kB / 330.7 MB Notification: Performance of SimCode: time 1.442e-06/0.08634, allocations: 0 / 344.7 MB, free: 68 kB / 330.7 MB Notification: Performance of Templates: time 0.01753/0.1039, allocations: 15.59 MB / 360.3 MB, free: 0.6836 MB / 346.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9718192564323545]