Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 110.1 kB / 17.06 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.0009975/0.0009976, allocations: 191 kB / 18 MB, free: 5.102 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1781/0.1781, allocations: 38.06 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.91 kB / 458.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4, allocations: 58.05 MB / 0.5041 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005255/0.4053, allocations: 4.414 MB / 0.5084 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.4083, allocations: 1.43 MB / 0.5098 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003585/0.4087, allocations: 13.09 kB / 0.5098 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.4099, allocations: 379.6 kB / 0.5102 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.4107, allocations: 248.7 kB / 0.5104 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007721/0.4114, allocations: 243.8 kB / 0.5106 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006463/0.4121, allocations: 0.5568 MB / 0.5112 GB, free: 3.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.4126, allocations: 282 kB / 0.5115 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.4129, allocations: 262 kB / 0.5117 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005242/0.4134, allocations: 350.3 kB / 0.512 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.4135, allocations: 39.91 kB / 0.5121 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005145/0.414, allocations: 225.4 kB / 0.5123 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.4144, allocations: 232.6 kB / 0.5125 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.4147, allocations: 262.5 kB / 0.5128 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.4159, allocations: 0.6794 MB / 0.5134 GB, free: 2.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4159, allocations: 0 / 0.5134 GB, free: 2.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4159, allocations: 0 / 0.5134 GB, free: 2.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.4159, allocations: 0 / 0.5134 GB, free: 2.133 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001709/0.4177, allocations: 0.7798 MB / 0.5142 GB, free: 1.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.4177, allocations: 10.38 kB / 0.5142 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007671/0.4185, allocations: 95.73 kB / 0.5143 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007979/0.4193, allocations: 430.2 kB / 0.5147 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.4193, allocations: 28.06 kB / 0.5147 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.4195, allocations: 53.56 kB / 0.5148 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.4206, allocations: 0.6786 MB / 0.5154 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.4206, allocations: 1.312 kB / 0.5154 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/0.4207, allocations: 16.38 kB / 0.5155 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/0.4209, allocations: 51.22 kB / 0.5155 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.4222, allocations: 0.6749 MB / 0.5162 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.4262, allocations: 2.432 MB / 0.5185 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/0.4269, allocations: 362.5 kB / 0.5189 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.4273, allocations: 256 kB / 0.5191 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.846e-05/0.4274, allocations: 14.81 kB / 0.5191 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.4274, allocations: 33.12 kB / 0.5192 GB, free: 14.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.374e-06/0.4274, allocations: 1.219 kB / 0.5192 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002781/0.4302, allocations: 1.482 MB / 0.5206 GB, free: 13.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.4303, allocations: 82.02 kB / 0.5207 GB, free: 13.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.4307, allocations: 285.9 kB / 0.521 GB, free: 13.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.4307, allocations: 35.08 kB / 0.521 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.4309, allocations: 255.7 kB / 0.5213 GB, free: 13.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.4311, allocations: 165.8 kB / 0.5214 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.4312, allocations: 95.11 kB / 0.5215 GB, free: 13.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4314, allocations: 349.3 kB / 0.5218 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.4317, allocations: 216.5 kB / 0.522 GB, free: 12.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.4321, allocations: 366.9 kB / 0.5224 GB, free: 12.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008169/0.433, allocations: 0.6292 MB / 0.523 GB, free: 12.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.433, allocations: 5.312 kB / 0.523 GB, free: 12.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00141/0.4344, allocations: 0.7193 MB / 0.5237 GB, free: 12.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4344, allocations: 11.72 kB / 0.5237 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009443/0.4354, allocations: 0.5205 MB / 0.5242 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003488/0.4357, allocations: 74.44 kB / 0.5243 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.4361, allocations: 109.2 kB / 0.5244 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.4379, allocations: 1.735 MB / 0.5261 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.4382, allocations: 28.47 kB / 0.5261 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.4383, allocations: 20.77 kB / 0.5261 GB, free: 10.26 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.4386, allocations: 213.7 kB / 0.5264 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.4388, allocations: 40.62 kB / 0.5264 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.4399, allocations: 0.5689 MB / 0.5269 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/0.4399, allocations: 16.55 kB / 0.527 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.4399, allocations: 1.594 kB / 0.527 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.4399, allocations: 2.578 kB / 0.527 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.4422, allocations: 1.185 MB / 0.5281 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4422, allocations: 2.891 kB / 0.5281 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.4426, allocations: 85.28 kB / 0.5282 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.4426, allocations: 6.938 kB / 0.5282 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.4427, allocations: 13.64 kB / 0.5282 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.4427, allocations: 6.75 kB / 0.5282 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4427, allocations: 1.312 kB / 0.5282 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.444, allocations: 0.9293 MB / 0.5291 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.4442, allocations: 112.6 kB / 0.5292 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.263e-05/0.4443, allocations: 9.547 kB / 0.5293 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.4445, allocations: 18.38 kB / 0.5293 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/0.4446, allocations: 39.95 kB / 0.5293 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.4447, allocations: 15.23 kB / 0.5293 GB, free: 8.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.4449, allocations: 198.6 kB / 0.5295 GB, free: 8.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4449, allocations: 0 / 0.5295 GB, free: 8.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000699/0.4457, allocations: 123.5 kB / 0.5296 GB, free: 8.488 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (39): * Single equations (assignments): 36 * Array equations: 2 * 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.0003211/0.446, allocations: 140.9 kB / 0.5298 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.4474, allocations: 0.6768 MB / 0.5304 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4474, allocations: 0 / 0.5304 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004631/0.4479, allocations: 262.3 kB / 0.5307 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.4485, allocations: 64.44 kB / 0.5307 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.4511, allocations: 1.173 MB / 0.5319 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/0.4518, allocations: 0.8737 MB / 0.5327 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004022/0.4522, allocations: 123.6 kB / 0.5329 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.4524, allocations: 40.8 kB / 0.5329 GB, free: 6.586 MB / 398.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4524, allocations: 4 kB / 0.5329 GB, free: 6.582 MB / 398.1 MB Notification: Performance of Templates: time 0.01459/0.467, allocations: 4.622 MB / 0.5374 GB, free: 4.395 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches