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.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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 114.1 kB / 17.07 MB, free: 6.016 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.001291/0.001291, allocations: 191 kB / 18 MB, free: 5.098 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.388/1.388, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1732/0.1732, allocations: 38.04 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.91 kB / 458.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4039, allocations: 58.05 MB / 0.5041 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.0121/0.4161, allocations: 9.557 MB / 0.5134 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00779/0.4239, allocations: 3.561 MB / 0.5169 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.4251, allocations: 34.38 kB / 0.5169 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003391/0.4286, allocations: 1.099 MB / 0.518 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.4319, allocations: 0.8873 MB / 0.5189 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.4336, allocations: 484.5 kB / 0.5194 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.4376, allocations: 1.806 MB / 0.5211 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.4392, allocations: 0.9772 MB / 0.5221 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.4408, allocations: 0.761 MB / 0.5228 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.4425, allocations: 0.8995 MB / 0.5237 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.4427, allocations: 105.9 kB / 0.5238 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.4442, allocations: 0.531 MB / 0.5243 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008773/0.4451, allocations: 0.6465 MB / 0.5249 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.4461, allocations: 0.6943 MB / 0.5256 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003458/0.4496, allocations: 1.916 MB / 0.5275 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.4496, allocations: 4 kB / 0.5275 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4496, allocations: 4.75 kB / 0.5275 GB, free: 10.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.637e-05/0.4497, allocations: 0 / 0.5275 GB, free: 10.08 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003866/0.4535, allocations: 1.656 MB / 0.5291 GB, free: 9.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4536, allocations: 9.125 kB / 0.5291 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.4554, allocations: 284.1 kB / 0.5294 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.4575, allocations: 0.9561 MB / 0.5303 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-05/0.4576, allocations: 86.06 kB / 0.5304 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003769/0.458, allocations: 130.8 kB / 0.5305 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.4606, allocations: 1.496 MB / 0.532 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.4606, allocations: 7.25 kB / 0.532 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.4607, allocations: 41.09 kB / 0.532 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002989/0.4611, allocations: 99.69 kB / 0.5321 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.4633, allocations: 1.25 MB / 0.5334 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007877/0.4712, allocations: 5.639 MB / 0.5389 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009633/0.4721, allocations: 0.6002 MB / 0.5395 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005861/0.4727, allocations: 405.8 kB / 0.5398 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.4728, allocations: 10.59 kB / 0.5398 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.4729, allocations: 38.47 kB / 0.5399 GB, free: 1.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=67): time 2.766e-06/0.4729, allocations: 0 / 0.5399 GB, free: 1.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.007785/0.4807, allocations: 3.676 MB / 0.5435 GB, free: 15.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.4807, allocations: 89.42 kB / 0.5436 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009884/0.4817, allocations: 0.7312 MB / 0.5443 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.4818, allocations: 36.3 kB / 0.5443 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/0.4823, allocations: 0.6105 MB / 0.5449 GB, free: 13.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.4826, allocations: 285.2 kB / 0.5452 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00031/0.4829, allocations: 181.3 kB / 0.5454 GB, free: 13.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.4831, allocations: 403.9 kB / 0.5457 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006185/0.4837, allocations: 394.3 kB / 0.5461 GB, free: 12.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007702/0.4845, allocations: 0.6574 MB / 0.5468 GB, free: 12.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.486, allocations: 1.14 MB / 0.5479 GB, free: 10.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.486, allocations: 4 kB / 0.5479 GB, free: 10.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003421/0.4894, allocations: 1.71 MB / 0.5495 GB, free: 9.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.4894, allocations: 8 kB / 0.5495 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002568/0.492, allocations: 1.317 MB / 0.5508 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.4939, allocations: 0.5831 MB / 0.5514 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/0.4945, allocations: 175.7 kB / 0.5516 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.5065, allocations: 10.36 MB / 0.5617 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.5077, allocations: 55.91 kB / 0.5617 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/0.5078, allocations: 39.98 kB / 0.5618 GB, free: 12.05 MB / 430.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.0008317/0.5086, allocations: 385.4 kB / 0.5621 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.5088, allocations: 91.39 kB / 0.5622 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.5111, allocations: 1.248 MB / 0.5634 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.5111, allocations: 8 kB / 0.5635 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.5111, allocations: 4 kB / 0.5635 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.5112, allocations: 3.984 kB / 0.5635 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004107/0.5153, allocations: 2.405 MB / 0.5658 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.5153, allocations: 0 / 0.5658 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.5158, allocations: 107.9 kB / 0.5659 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.5168, allocations: 372 kB / 0.5663 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/0.5169, allocations: 23.98 kB / 0.5663 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007697/0.5246, allocations: 9.311 MB / 0.5754 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5246, allocations: 4 kB / 0.5754 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.5273, allocations: 1.675 MB / 0.577 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/0.5278, allocations: 244.2 kB / 0.5773 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.5279, allocations: 31.88 kB / 0.5773 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/0.5284, allocations: 27.98 kB / 0.5773 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.5285, allocations: 60.48 kB / 0.5774 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.5286, allocations: 23.98 kB / 0.5774 GB, free: 11.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006749/0.5292, allocations: 0.5029 MB / 0.5779 GB, free: 10.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5293, allocations: 0 / 0.5779 GB, free: 10.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001586/0.5308, allocations: 367.9 kB / 0.5782 GB, free: 10.27 MB / 446.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.000369/0.5312, allocations: 151 kB / 0.5784 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00246/0.5337, allocations: 1.59 MB / 0.5799 GB, free: 8.465 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.5337, allocations: 0 / 0.5799 GB, free: 8.465 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.5353, allocations: 1.091 MB / 0.581 GB, free: 7.312 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.5363, allocations: 207.1 kB / 0.5812 GB, free: 7.117 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.5405, allocations: 2.74 MB / 0.5839 GB, free: 4.324 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008728/0.5414, allocations: 1.258 MB / 0.5851 GB, free: 3.035 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005366/0.5419, allocations: 219.6 kB / 0.5853 GB, free: 2.816 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.5421, allocations: 67.42 kB / 0.5854 GB, free: 2.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5421, allocations: 0 / 0.5854 GB, free: 2.75 MB / 446.1 MB Notification: Performance of Templates: time 0.0257/0.5678, allocations: 15.58 MB / 0.6006 GB, free: 3.238 MB / 462.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (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)