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.001639/0.001639, allocations: 110.9 kB / 17.06 MB, free: 6.012 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.00177/0.00177, 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.434/1.434, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2323/0.2323, allocations: 38.04 MB / 329.9 MB, free: 8.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 71.86 kB / 458.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3718, allocations: 58.05 MB / 0.5041 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.00846/0.3804, allocations: 7.512 MB / 0.5114 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005745/0.3861, allocations: 2.971 MB / 0.5143 GB, free: 484 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006392/0.3868, allocations: 25.75 kB / 0.5144 GB, free: 476 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.3889, allocations: 0.7335 MB / 0.5151 GB, free: 24 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002775/0.3916, allocations: 0.6998 MB / 0.5158 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.3929, allocations: 377.4 kB / 0.5161 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.3953, allocations: 1.347 MB / 0.5174 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.3964, allocations: 0.7154 MB / 0.5181 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.3975, allocations: 0.5554 MB / 0.5187 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.3985, allocations: 0.6265 MB / 0.5193 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.3987, allocations: 74.88 kB / 0.5194 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.3999, allocations: 476.1 kB / 0.5198 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005664/0.4005, allocations: 454.9 kB / 0.5203 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006743/0.4012, allocations: 0.5053 MB / 0.5208 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.4035, allocations: 1.427 MB / 0.5221 GB, free: 12.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4036, allocations: 0 / 0.5221 GB, free: 12.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4036, allocations: 0 / 0.5221 GB, free: 12.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.4036, allocations: 1.469 kB / 0.5221 GB, free: 12.98 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.002469/0.4061, allocations: 1.311 MB / 0.5234 GB, free: 12.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4061, allocations: 13.48 kB / 0.5234 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.4075, allocations: 215.3 kB / 0.5236 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.4091, allocations: 0.7416 MB / 0.5244 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.478e-05/0.4092, allocations: 67.11 kB / 0.5244 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.4094, allocations: 100.4 kB / 0.5245 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.4115, allocations: 1.096 MB / 0.5256 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/0.4116, allocations: 10.09 kB / 0.5256 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/0.4116, allocations: 31.91 kB / 0.5256 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001991/0.4119, allocations: 73.16 kB / 0.5257 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.4135, allocations: 0.868 MB / 0.5266 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005814/0.4193, allocations: 3.985 MB / 0.5304 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.42, allocations: 440.5 kB / 0.5309 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/0.4205, allocations: 273.5 kB / 0.5311 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.4205, allocations: 5.812 kB / 0.5311 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.4205, allocations: 38.59 kB / 0.5312 GB, free: 7.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.595e-06/0.4205, allocations: 3.938 kB / 0.5312 GB, free: 7.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.003222/0.4238, allocations: 1.739 MB / 0.5329 GB, free: 6.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.4239, allocations: 88.2 kB / 0.533 GB, free: 6.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007715/0.4246, allocations: 0.5933 MB / 0.5335 GB, free: 5.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.4247, allocations: 32.02 kB / 0.5336 GB, free: 5.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/0.4251, allocations: 487 kB / 0.534 GB, free: 5.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.4252, allocations: 194.1 kB / 0.5342 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.4255, allocations: 138.7 kB / 0.5344 GB, free: 5.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.4257, allocations: 380.2 kB / 0.5347 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.4261, allocations: 252.2 kB / 0.535 GB, free: 4.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/0.4267, allocations: 476.7 kB / 0.5354 GB, free: 4.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.4277, allocations: 0.7749 MB / 0.5362 GB, free: 3.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4278, allocations: 2.375 kB / 0.5362 GB, free: 3.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002013/0.4298, allocations: 1.121 MB / 0.5373 GB, free: 3.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4298, allocations: 7.031 kB / 0.5373 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001404/0.4312, allocations: 0.8063 MB / 0.5381 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007127/0.4319, allocations: 217 kB / 0.5383 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/0.4325, allocations: 156.6 kB / 0.5384 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005738/0.4382, allocations: 5.662 MB / 0.5439 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/0.4389, allocations: 37.38 kB / 0.544 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.439, allocations: 30.06 kB / 0.544 GB, free: 13.25 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.0005487/0.4395, allocations: 305.2 kB / 0.5443 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.4397, allocations: 71.06 kB / 0.5444 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.4407, allocations: 0.6149 MB / 0.545 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.4407, allocations: 5.656 kB / 0.545 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.4407, allocations: 1.469 kB / 0.545 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4407, allocations: 4 kB / 0.545 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.4432, allocations: 1.487 MB / 0.5464 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.4432, allocations: 5.891 kB / 0.5464 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.4438, allocations: 129.2 kB / 0.5466 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.4438, allocations: 4.188 kB / 0.5466 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.4439, allocations: 21.61 kB / 0.5466 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.4439, allocations: 4.25 kB / 0.5466 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.4439, allocations: 1.562 kB / 0.5466 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.4452, allocations: 0.9314 MB / 0.5475 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.4454, allocations: 188.5 kB / 0.5477 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.139e-05/0.4455, allocations: 20 kB / 0.5477 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.4458, allocations: 27.97 kB / 0.5477 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.4459, allocations: 28.41 kB / 0.5477 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.446, allocations: 19.98 kB / 0.5478 GB, free: 10.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005149/0.4465, allocations: 419 kB / 0.5482 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4465, allocations: 3.938 kB / 0.5482 GB, free: 10.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009905/0.4475, allocations: 231.9 kB / 0.5484 GB, free: 9.926 MB / 414.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.0003362/0.4478, allocations: 143 kB / 0.5485 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.4495, allocations: 1.045 MB / 0.5495 GB, free: 8.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4495, allocations: 4 kB / 0.5496 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.4499, allocations: 259.6 kB / 0.5498 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007994/0.4507, allocations: 164.1 kB / 0.55 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.454, allocations: 2.075 MB / 0.552 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.4549, allocations: 1.079 MB / 0.553 GB, free: 5.059 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004834/0.4554, allocations: 189.9 kB / 0.5532 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.4555, allocations: 59.42 kB / 0.5533 GB, free: 4.812 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4555, allocations: 0 / 0.5533 GB, free: 4.812 MB / 414.1 MB Notification: Performance of Templates: time 0.01727/0.4728, allocations: 9.419 MB / 0.5625 GB, free: 11.45 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)