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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 107.9 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 198.5 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1903/0.1903, allocations: 38.02 MB / 330.6 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2787, allocations: 58.06 MB / 0.5048 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007032/0.2858, allocations: 7.529 MB / 0.5121 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.2899, allocations: 2.971 MB / 0.515 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004056/0.2903, allocations: 25.44 kB / 0.515 GB, free: 444 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.2921, allocations: 0.7307 MB / 0.5158 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.2937, allocations: 0.7037 MB / 0.5164 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009505/0.2947, allocations: 374.4 kB / 0.5168 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.2965, allocations: 1.352 MB / 0.5181 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.2977, allocations: 0.7198 MB / 0.5188 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.2988, allocations: 0.5626 MB / 0.5194 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.3, allocations: 0.6231 MB / 0.52 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.3002, allocations: 75.38 kB / 0.5201 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.3012, allocations: 483.1 kB / 0.5205 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000542/0.3018, allocations: 457.6 kB / 0.521 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008011/0.3026, allocations: 0.5006 MB / 0.5214 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.3046, allocations: 1.423 MB / 0.5228 GB, free: 12.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3046, allocations: 1.375 kB / 0.5228 GB, free: 12.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3046, allocations: 0 / 0.5228 GB, free: 12.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.101e-05/0.3047, allocations: 0 / 0.5228 GB, free: 12.95 MB / 398.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.002943/0.3076, allocations: 1.278 MB / 0.5241 GB, free: 12.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3077, allocations: 13.86 kB / 0.5241 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.3091, allocations: 201.2 kB / 0.5243 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.3109, allocations: 0.7534 MB / 0.525 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.3109, allocations: 58 kB / 0.5251 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.3112, allocations: 97.22 kB / 0.5252 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.3131, allocations: 1.103 MB / 0.5262 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/0.3132, allocations: 6.984 kB / 0.5263 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.845e-05/0.3133, allocations: 32.34 kB / 0.5263 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001832/0.3135, allocations: 71.95 kB / 0.5264 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.315, allocations: 0.8681 MB / 0.5272 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005727/0.3208, allocations: 3.974 MB / 0.5311 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.3214, allocations: 436.1 kB / 0.5315 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.3218, allocations: 278.1 kB / 0.5318 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.3219, allocations: 8.922 kB / 0.5318 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.3219, allocations: 42.53 kB / 0.5318 GB, free: 7.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.294e-06/0.3219, allocations: 3.938 kB / 0.5318 GB, free: 7.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.003195/0.3251, allocations: 1.715 MB / 0.5335 GB, free: 6.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3252, allocations: 86.7 kB / 0.5336 GB, free: 6.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000777/0.326, allocations: 0.5905 MB / 0.5342 GB, free: 5.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.326, allocations: 34.8 kB / 0.5342 GB, free: 5.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.3264, allocations: 465.8 kB / 0.5346 GB, free: 5.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.3265, allocations: 189.9 kB / 0.5348 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.3267, allocations: 137.4 kB / 0.5349 GB, free: 5.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3269, allocations: 385.3 kB / 0.5353 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.3273, allocations: 248.1 kB / 0.5355 GB, free: 4.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.3279, allocations: 477.1 kB / 0.536 GB, free: 4.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.3289, allocations: 0.7747 MB / 0.5368 GB, free: 3.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3289, allocations: 6.281 kB / 0.5368 GB, free: 3.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002067/0.331, allocations: 1.116 MB / 0.5379 GB, free: 3.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.331, allocations: 7.656 kB / 0.5379 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001429/0.3325, allocations: 0.7945 MB / 0.5386 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007719/0.3333, allocations: 216 kB / 0.5388 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.3339, allocations: 158 kB / 0.539 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/0.3398, allocations: 5.672 MB / 0.5445 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.3404, allocations: 41.91 kB / 0.5446 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.3405, allocations: 29.88 kB / 0.5446 GB, free: 13.3 MB / 414.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.0006229/0.3411, allocations: 301.2 kB / 0.5449 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.3413, allocations: 70.59 kB / 0.545 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.3424, allocations: 0.607 MB / 0.5455 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.3425, allocations: 7.984 kB / 0.5456 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3425, allocations: 1.062 kB / 0.5456 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/0.3429, allocations: 188 kB / 0.5457 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.3431, allocations: 8.75 kB / 0.5457 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.3435, allocations: 27 kB / 0.5458 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.3436, allocations: 35.58 kB / 0.5458 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001526/0.3451, allocations: 0.7858 MB / 0.5466 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0014/0.3465, allocations: 1.099 MB / 0.5476 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003608/0.3469, allocations: 260.1 kB / 0.5479 GB, free: 11.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005697/0.3475, allocations: 421.6 kB / 0.5483 GB, free: 10.79 MB / 414.1 MB Notification: Performance of Backend: time 2.7e-07/0.3475, allocations: 0 / 0.5483 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002552/0.35, allocations: 1.081 MB / 0.5493 GB, free: 9.664 MB / 414.1 MB Notification: Performance of SimCode: time 0.003474/0.3535, allocations: 2.422 MB / 0.5517 GB, free: 7.195 MB / 414.1 MB Notification: Performance of Templates: time 0.02045/0.374, allocations: 11.58 MB / 0.563 GB, free: 11.67 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (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)