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.00167/0.00167, allocations: 102.5 kB / 17.06 MB, free: 6.117 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.001923/0.001923, allocations: 198.9 kB / 18 MB, free: 5.195 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.474/1.474, 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-master/package.mo): time 0.1782/0.1782, allocations: 38.04 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 59.91 kB / 458.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4807, allocations: 58.05 MB / 0.5041 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.007116/0.4879, allocations: 4.425 MB / 0.5084 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.4905, allocations: 1.412 MB / 0.5098 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.4908, allocations: 12.56 kB / 0.5098 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.492, allocations: 388.8 kB / 0.5102 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006792/0.4926, allocations: 249.2 kB / 0.5104 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008166/0.4935, allocations: 247.3 kB / 0.5106 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006558/0.4941, allocations: 0.5544 MB / 0.5112 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004764/0.4946, allocations: 292.6 kB / 0.5115 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004076/0.495, allocations: 258.4 kB / 0.5117 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.4957, allocations: 360.4 kB / 0.5121 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.302e-05/0.4957, allocations: 39.84 kB / 0.5121 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004985/0.4963, allocations: 220.3 kB / 0.5123 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.4966, allocations: 237.2 kB / 0.5125 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.4969, allocations: 257.5 kB / 0.5128 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009792/0.4979, allocations: 0.6725 MB / 0.5134 GB, free: 2.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4979, allocations: 0 / 0.5134 GB, free: 2.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4979, allocations: 1.031 kB / 0.5134 GB, free: 2.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.4979, allocations: 4 kB / 0.5134 GB, free: 2.113 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.001406/0.4993, allocations: 0.7641 MB / 0.5142 GB, free: 1.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4994, allocations: 13.92 kB / 0.5142 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006866/0.5001, allocations: 94.59 kB / 0.5143 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/0.5008, allocations: 426.9 kB / 0.5147 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.5008, allocations: 25.53 kB / 0.5147 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.501, allocations: 59.78 kB / 0.5148 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.5021, allocations: 0.6747 MB / 0.5154 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.5021, allocations: 1.719 kB / 0.5154 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.5022, allocations: 24.11 kB / 0.5155 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/0.5023, allocations: 52.38 kB / 0.5155 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.5036, allocations: 0.6663 MB / 0.5162 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.5072, allocations: 2.435 MB / 0.5185 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.5079, allocations: 355.5 kB / 0.5189 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.5083, allocations: 261.8 kB / 0.5191 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.5084, allocations: 5.625 kB / 0.5191 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.5084, allocations: 41.42 kB / 0.5192 GB, free: 14.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 3.006e-06/0.5084, allocations: 1.031 kB / 0.5192 GB, free: 14.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002687/0.5111, allocations: 1.469 MB / 0.5206 GB, free: 13.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.5112, allocations: 81.88 kB / 0.5207 GB, free: 13.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003639/0.5115, allocations: 287.6 kB / 0.521 GB, free: 13.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.5116, allocations: 31.33 kB / 0.521 GB, free: 13.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.5118, allocations: 250.6 kB / 0.5212 GB, free: 13.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.512, allocations: 159.7 kB / 0.5214 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.5121, allocations: 87.34 kB / 0.5215 GB, free: 13.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5123, allocations: 349.7 kB / 0.5218 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.5127, allocations: 220.4 kB / 0.522 GB, free: 12.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.5132, allocations: 360.3 kB / 0.5223 GB, free: 12.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009044/0.5141, allocations: 0.6285 MB / 0.523 GB, free: 12.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5141, allocations: 5.188 kB / 0.523 GB, free: 12.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001556/0.5156, allocations: 0.7203 MB / 0.5237 GB, free: 12.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.5157, allocations: 11.12 kB / 0.5237 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009604/0.5166, allocations: 0.521 MB / 0.5242 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003437/0.517, allocations: 78.02 kB / 0.5243 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.5174, allocations: 110 kB / 0.5244 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.5192, allocations: 1.719 MB / 0.526 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.5196, allocations: 29.88 kB / 0.5261 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.5196, allocations: 25.48 kB / 0.5261 GB, free: 10.29 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.0003455/0.52, allocations: 215.1 kB / 0.5263 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.5201, allocations: 41.3 kB / 0.5263 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.5212, allocations: 0.5608 MB / 0.5269 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/0.5212, allocations: 12.12 kB / 0.5269 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.5212, allocations: 1.094 kB / 0.5269 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.5212, allocations: 7.141 kB / 0.5269 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.5233, allocations: 1.194 MB / 0.5281 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.5233, allocations: 2.688 kB / 0.5281 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/0.5238, allocations: 78.73 kB / 0.5282 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.5238, allocations: 3.312 kB / 0.5282 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.5238, allocations: 17.81 kB / 0.5282 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.5238, allocations: 10.81 kB / 0.5282 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5239, allocations: 1.094 kB / 0.5282 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.5251, allocations: 0.9254 MB / 0.5291 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.5253, allocations: 108.7 kB / 0.5292 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.5253, allocations: 18.05 kB / 0.5292 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.5255, allocations: 21.64 kB / 0.5292 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.5256, allocations: 32.94 kB / 0.5293 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.5257, allocations: 13.84 kB / 0.5293 GB, free: 8.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.5259, allocations: 198 kB / 0.5295 GB, free: 8.539 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5259, allocations: 0 / 0.5295 GB, free: 8.539 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009488/0.5269, allocations: 121.7 kB / 0.5296 GB, free: 8.523 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.0002698/0.5272, allocations: 140.9 kB / 0.5297 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.5284, allocations: 0.673 MB / 0.5304 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5284, allocations: 0 / 0.5304 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.5288, allocations: 262.9 kB / 0.5306 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.5294, allocations: 63.02 kB / 0.5307 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.5314, allocations: 1.161 MB / 0.5318 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006231/0.5321, allocations: 0.8716 MB / 0.5327 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003638/0.5324, allocations: 132.5 kB / 0.5328 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.5326, allocations: 36.22 kB / 0.5328 GB, free: 6.633 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5326, allocations: 0 / 0.5328 GB, free: 6.633 MB / 398.1 MB Notification: Performance of Templates: time 0.01061/0.5432, allocations: 4.629 MB / 0.5374 GB, free: 4.426 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