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.001114/0.001114, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001152/0.001152, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.533/1.533, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2357/0.2357, allocations: 38.04 MB / 330.6 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3005, allocations: 58.06 MB / 0.5048 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.008624/0.3092, allocations: 9.55 MB / 0.5141 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005812/0.315, allocations: 3.552 MB / 0.5176 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007979/0.3158, allocations: 34.25 kB / 0.5176 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.319, allocations: 1.109 MB / 0.5187 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.3217, allocations: 0.9007 MB / 0.5196 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.3233, allocations: 480.7 kB / 0.52 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.3264, allocations: 1.805 MB / 0.5218 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.3279, allocations: 0.9777 MB / 0.5227 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.3297, allocations: 0.7789 MB / 0.5235 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.3319, allocations: 0.8924 MB / 0.5244 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000612/0.3325, allocations: 109.2 kB / 0.5245 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.3342, allocations: 0.5415 MB / 0.525 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.3353, allocations: 0.6351 MB / 0.5256 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.3372, allocations: 0.7023 MB / 0.5263 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003212/0.3404, allocations: 1.902 MB / 0.5282 GB, free: 9.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3404, allocations: 0 / 0.5282 GB, free: 9.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3405, allocations: 0 / 0.5282 GB, free: 9.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.102e-05/0.3405, allocations: 0 / 0.5282 GB, free: 9.852 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.004496/0.345, allocations: 1.633 MB / 0.5298 GB, free: 8.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3451, allocations: 13.22 kB / 0.5298 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.3471, allocations: 270 kB / 0.53 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.3495, allocations: 0.9503 MB / 0.531 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.184e-05/0.3496, allocations: 80.5 kB / 0.531 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003907/0.35, allocations: 136 kB / 0.5312 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.3527, allocations: 1.491 MB / 0.5326 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/0.3528, allocations: 11.69 kB / 0.5326 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.3529, allocations: 45.91 kB / 0.5327 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003397/0.3532, allocations: 94.8 kB / 0.5328 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.3555, allocations: 1.259 MB / 0.534 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00853/0.3641, allocations: 5.625 MB / 0.5395 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009284/0.365, allocations: 0.6013 MB / 0.5401 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/0.3656, allocations: 397.5 kB / 0.5405 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.3657, allocations: 20.66 kB / 0.5405 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.3657, allocations: 41.38 kB / 0.5405 GB, free: 1.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=67): time 3.136e-06/0.3657, allocations: 1.156 kB / 0.5405 GB, free: 1.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.008004/0.3737, allocations: 3.632 MB / 0.5441 GB, free: 14.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.3738, allocations: 88.89 kB / 0.5441 GB, free: 14.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.3748, allocations: 0.7356 MB / 0.5449 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.532e-05/0.3749, allocations: 37.48 kB / 0.5449 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.3753, allocations: 0.5892 MB / 0.5455 GB, free: 13.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.3756, allocations: 271.1 kB / 0.5457 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.3759, allocations: 177.7 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3761, allocations: 402.8 kB / 0.5463 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006344/0.3767, allocations: 398 kB / 0.5467 GB, free: 12.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000778/0.3775, allocations: 0.6613 MB / 0.5473 GB, free: 12.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.379, allocations: 1.136 MB / 0.5484 GB, free: 10.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.379, allocations: 4 kB / 0.5484 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003441/0.3825, allocations: 1.717 MB / 0.5501 GB, free: 9.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.3825, allocations: 8 kB / 0.5501 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002727/0.3852, allocations: 1.314 MB / 0.5514 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/0.3872, allocations: 0.5769 MB / 0.552 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.3878, allocations: 171.7 kB / 0.5521 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.4, allocations: 10.35 MB / 0.5622 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009256/0.401, allocations: 48.09 kB / 0.5623 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.4011, allocations: 44 kB / 0.5623 GB, free: 12.04 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.0007721/0.4019, allocations: 385.4 kB / 0.5627 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.4021, allocations: 90.88 kB / 0.5628 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/0.4046, allocations: 1.252 MB / 0.564 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.4047, allocations: 0 / 0.564 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4047, allocations: 3.984 kB / 0.564 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/0.4052, allocations: 227.9 kB / 0.5642 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.4054, allocations: 23.94 kB / 0.5642 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/0.4059, allocations: 31.95 kB / 0.5643 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.4061, allocations: 60.69 kB / 0.5643 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003351/0.4094, allocations: 1.48 MB / 0.5658 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002044/0.4115, allocations: 1.577 MB / 0.5673 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005584/0.4121, allocations: 409 kB / 0.5677 GB, free: 6.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006936/0.4128, allocations: 0.5029 MB / 0.5682 GB, free: 5.93 MB / 430.1 MB Notification: Performance of Backend: time 1.823e-06/0.4128, allocations: 0 / 0.5682 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003149/0.4159, allocations: 1.517 MB / 0.5697 GB, free: 4.348 MB / 430.1 MB Notification: Performance of SimCode: time 0.004513/0.4205, allocations: 3.103 MB / 0.5727 GB, free: 1.203 MB / 430.1 MB Notification: Performance of Templates: time 0.02948/0.45, allocations: 17.51 MB / 0.5898 GB, free: 15.75 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)