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.001753/0.001753, allocations: 110.8 kB / 17.06 MB, free: 6.098 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.00201/0.00201, allocations: 198.9 kB / 18 MB, free: 5.172 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.43/1.43, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1727/0.1727, allocations: 38.04 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 458.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3695, allocations: 58.06 MB / 0.5041 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005972/0.3755, allocations: 4.422 MB / 0.5084 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.378, allocations: 1.416 MB / 0.5098 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004049/0.3784, allocations: 13.53 kB / 0.5098 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.3798, allocations: 379.8 kB / 0.5102 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.381, allocations: 256.3 kB / 0.5104 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.382, allocations: 234.9 kB / 0.5106 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.3831, allocations: 0.5614 MB / 0.5112 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005682/0.3837, allocations: 284.8 kB / 0.5115 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005821/0.3843, allocations: 261 kB / 0.5117 GB, free: 2.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006455/0.3849, allocations: 361 kB / 0.512 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-05/0.385, allocations: 39.47 kB / 0.5121 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005968/0.3856, allocations: 220.4 kB / 0.5123 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.3859, allocations: 237.2 kB / 0.5125 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.3862, allocations: 261.5 kB / 0.5128 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.3873, allocations: 0.6725 MB / 0.5134 GB, free: 2.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3873, allocations: 0.6094 kB / 0.5134 GB, free: 2.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3873, allocations: 1.188 kB / 0.5134 GB, free: 2.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3873, allocations: 0 / 0.5134 GB, free: 2.078 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.0016/0.3889, allocations: 0.764 MB / 0.5142 GB, free: 1.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.389, allocations: 16.7 kB / 0.5142 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006908/0.3897, allocations: 100.2 kB / 0.5143 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007719/0.3904, allocations: 422.9 kB / 0.5147 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.3905, allocations: 32.58 kB / 0.5147 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.3906, allocations: 58.3 kB / 0.5148 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.3917, allocations: 0.6734 MB / 0.5154 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.3917, allocations: 5.031 kB / 0.5154 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.3918, allocations: 16.59 kB / 0.5155 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/0.3919, allocations: 51.45 kB / 0.5155 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.3932, allocations: 0.6703 MB / 0.5162 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003825/0.397, allocations: 2.433 MB / 0.5185 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.3976, allocations: 355.3 kB / 0.5189 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.3981, allocations: 254.2 kB / 0.5191 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.3981, allocations: 13.92 kB / 0.5191 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3982, allocations: 33.19 kB / 0.5192 GB, free: 14.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.975e-06/0.3982, allocations: 0 / 0.5192 GB, free: 14.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002543/0.4007, allocations: 1.47 MB / 0.5206 GB, free: 13.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.4008, allocations: 85.17 kB / 0.5207 GB, free: 13.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.4012, allocations: 286.8 kB / 0.521 GB, free: 13.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.4012, allocations: 35.17 kB / 0.521 GB, free: 13.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.4014, allocations: 239.8 kB / 0.5212 GB, free: 13.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.4016, allocations: 161.8 kB / 0.5214 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.4018, allocations: 93.47 kB / 0.5215 GB, free: 13.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.402, allocations: 348.9 kB / 0.5218 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.4023, allocations: 220.9 kB / 0.522 GB, free: 12.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/0.4028, allocations: 361.9 kB / 0.5223 GB, free: 12.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009407/0.4037, allocations: 0.6307 MB / 0.523 GB, free: 12.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4038, allocations: 1.594 kB / 0.523 GB, free: 12.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001711/0.4055, allocations: 0.7188 MB / 0.5237 GB, free: 12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.4055, allocations: 10.97 kB / 0.5237 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001055/0.4066, allocations: 0.5176 MB / 0.5242 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000364/0.407, allocations: 78.31 kB / 0.5243 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.4074, allocations: 112.7 kB / 0.5244 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.4093, allocations: 1.724 MB / 0.526 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.4097, allocations: 26.83 kB / 0.5261 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.4097, allocations: 22.08 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.0003634/0.4101, allocations: 213.2 kB / 0.5263 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.4102, allocations: 41.84 kB / 0.5263 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.4112, allocations: 0.5726 MB / 0.5269 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.268e-05/0.4113, allocations: 16.91 kB / 0.5269 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.4113, allocations: 0 / 0.5269 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.4113, allocations: 3.812 kB / 0.5269 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.4136, allocations: 1.189 MB / 0.5281 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.4136, allocations: 5.625 kB / 0.5281 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.414, allocations: 88.77 kB / 0.5282 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.414, allocations: 3.531 kB / 0.5282 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.4141, allocations: 9.016 kB / 0.5282 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.4141, allocations: 8.484 kB / 0.5282 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4141, allocations: 0 / 0.5282 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.4155, allocations: 0.9252 MB / 0.5291 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.4157, allocations: 112.6 kB / 0.5292 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.4157, allocations: 13.34 kB / 0.5292 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.416, allocations: 19.14 kB / 0.5292 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.4161, allocations: 35.97 kB / 0.5293 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.4161, allocations: 11.33 kB / 0.5293 GB, free: 8.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002532/0.4164, allocations: 201.2 kB / 0.5295 GB, free: 8.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4164, allocations: 0 / 0.5295 GB, free: 8.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006995/0.4171, allocations: 123.9 kB / 0.5296 GB, free: 8.48 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.0002952/0.4174, allocations: 138.6 kB / 0.5297 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.4186, allocations: 0.668 MB / 0.5304 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.4187, allocations: 0 / 0.5304 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.4191, allocations: 263.4 kB / 0.5306 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.4196, allocations: 73.53 kB / 0.5307 GB, free: 7.969 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.4217, allocations: 1.156 MB / 0.5318 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.4223, allocations: 0.8768 MB / 0.5327 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004313/0.4227, allocations: 122.8 kB / 0.5328 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.4229, allocations: 40.59 kB / 0.5328 GB, free: 6.594 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4229, allocations: 1.125 kB / 0.5328 GB, free: 6.594 MB / 398.1 MB Notification: Performance of Templates: time 0.01001/0.4329, allocations: 4.617 MB / 0.5373 GB, free: 4.414 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