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.001333/0.001333, allocations: 114.8 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.001321/0.001321, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1717/0.1717, allocations: 38.04 MB / 330.6 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.89 kB / 458.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3286, allocations: 58.06 MB / 0.5047 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005031/0.3337, allocations: 4.424 MB / 0.5091 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.3359, allocations: 1.418 MB / 0.5105 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.3361, allocations: 16.81 kB / 0.5105 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000969/0.3371, allocations: 372.1 kB / 0.5108 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005743/0.3377, allocations: 257.1 kB / 0.5111 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000679/0.3384, allocations: 239.2 kB / 0.5113 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006521/0.3391, allocations: 0.5607 MB / 0.5118 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.3395, allocations: 288.2 kB / 0.5121 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004026/0.34, allocations: 270 kB / 0.5124 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005311/0.3405, allocations: 352.2 kB / 0.5127 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.3406, allocations: 39.56 kB / 0.5127 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.3411, allocations: 221.2 kB / 0.513 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.3413, allocations: 242 kB / 0.5132 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.3416, allocations: 257.1 kB / 0.5134 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008139/0.3424, allocations: 0.6714 MB / 0.5141 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3424, allocations: 4.453 kB / 0.5141 GB, free: 2.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3424, allocations: 5.344 kB / 0.5141 GB, free: 2.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3425, allocations: 0 / 0.5141 GB, free: 2.039 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.001364/0.3438, allocations: 0.7604 MB / 0.5148 GB, free: 1.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3439, allocations: 13.34 kB / 0.5149 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006269/0.3445, allocations: 90.84 kB / 0.5149 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006082/0.3451, allocations: 426.7 kB / 0.5153 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.3452, allocations: 33.44 kB / 0.5154 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.3453, allocations: 53.64 kB / 0.5154 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.3463, allocations: 0.6743 MB / 0.5161 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.3464, allocations: 5.531 kB / 0.5161 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.3464, allocations: 16.3 kB / 0.5161 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001869/0.3466, allocations: 52 kB / 0.5162 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.3478, allocations: 0.6729 MB / 0.5168 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/0.3513, allocations: 2.431 MB / 0.5192 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.3519, allocations: 358.4 kB / 0.5195 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.3523, allocations: 249.2 kB / 0.5198 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.3523, allocations: 13.89 kB / 0.5198 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3524, allocations: 41.67 kB / 0.5198 GB, free: 14.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.354e-06/0.3524, allocations: 0 / 0.5198 GB, free: 14.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002389/0.3548, allocations: 1.47 MB / 0.5213 GB, free: 13.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.3549, allocations: 81.11 kB / 0.5213 GB, free: 13.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.3552, allocations: 286.6 kB / 0.5216 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.3552, allocations: 30.89 kB / 0.5216 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.3554, allocations: 247.6 kB / 0.5219 GB, free: 13.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3555, allocations: 159.7 kB / 0.522 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.3557, allocations: 96.52 kB / 0.5221 GB, free: 13.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3558, allocations: 347.5 kB / 0.5225 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.3562, allocations: 217.6 kB / 0.5227 GB, free: 12.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.3566, allocations: 366.2 kB / 0.523 GB, free: 12.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008131/0.3574, allocations: 0.6299 MB / 0.5236 GB, free: 12.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.3574, allocations: 1.406 kB / 0.5236 GB, free: 12.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001298/0.3588, allocations: 0.7227 MB / 0.5243 GB, free: 11.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3588, allocations: 15.09 kB / 0.5243 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008801/0.3597, allocations: 0.5181 MB / 0.5249 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.36, allocations: 73.19 kB / 0.5249 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.3605, allocations: 109.8 kB / 0.525 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.3621, allocations: 1.723 MB / 0.5267 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.3625, allocations: 32.17 kB / 0.5267 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.3626, allocations: 21.27 kB / 0.5268 GB, free: 10.22 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.0003239/0.3629, allocations: 214.9 kB / 0.527 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.363, allocations: 39.47 kB / 0.527 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009757/0.364, allocations: 0.5695 MB / 0.5276 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.364, allocations: 11.94 kB / 0.5276 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.364, allocations: 1.984 kB / 0.5276 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.547e-06/0.364, allocations: 5.969 kB / 0.5276 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.3661, allocations: 1.19 MB / 0.5287 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3661, allocations: 1.438 kB / 0.5287 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.3665, allocations: 85.98 kB / 0.5288 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3665, allocations: 3.562 kB / 0.5288 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.3665, allocations: 8.953 kB / 0.5288 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/0.3665, allocations: 16.62 kB / 0.5289 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3666, allocations: 0 / 0.5289 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.3678, allocations: 0.9202 MB / 0.5297 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.3679, allocations: 117.6 kB / 0.5299 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.368, allocations: 8.141 kB / 0.5299 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.3682, allocations: 19.17 kB / 0.5299 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.3683, allocations: 38.33 kB / 0.5299 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.3683, allocations: 9.188 kB / 0.5299 GB, free: 8.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.3685, allocations: 200.7 kB / 0.5301 GB, free: 8.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3685, allocations: 1.094 kB / 0.5301 GB, free: 8.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006036/0.3691, allocations: 124.6 kB / 0.5302 GB, free: 8.453 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.0002435/0.3694, allocations: 136.7 kB / 0.5304 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.3705, allocations: 0.665 MB / 0.531 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3705, allocations: 0 / 0.531 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.3709, allocations: 267.7 kB / 0.5313 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.3714, allocations: 64.83 kB / 0.5313 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.3734, allocations: 1.22 MB / 0.5325 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.3739, allocations: 0.8689 MB / 0.5334 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.374, allocations: 40.86 kB / 0.5334 GB, free: 6.539 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3741, allocations: 4 kB / 0.5334 GB, free: 6.535 MB / 398.1 MB Notification: Performance of Templates: time 0.0103/0.3844, allocations: 6.522 MB / 0.5398 GB, free: 3.316 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches