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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 78.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1841/0.1841, allocations: 37.98 MB / 353.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.839e-05, allocations: 4 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09804, allocations: 56.32 MB / 474 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.497, allocations: 100.1 MB / 0.5607 GB, free: 2.699 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.4973, allocations: 77.2 kB / 0.5608 GB, free: 2.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03596/0.5332, allocations: 13.27 MB / 0.5737 GB, free: 7.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5333, allocations: 0 / 0.5737 GB, free: 7.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.5333, allocations: 12 kB / 0.5737 GB, free: 7.23 MB / 378.7 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.001162/0.5345, allocations: 0.6793 MB / 0.5744 GB, free: 6.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5345, allocations: 8.031 kB / 0.5744 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005785/0.5351, allocations: 91.28 kB / 0.5745 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.5372, allocations: 0.8549 MB / 0.5753 GB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.5372, allocations: 29.72 kB / 0.5754 GB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.072e-05/0.5373, allocations: 37.94 kB / 0.5754 GB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009031/0.5382, allocations: 0.6462 MB / 0.576 GB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.5382, allocations: 0 / 0.576 GB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.5383, allocations: 21.55 kB / 0.576 GB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.5384, allocations: 55.98 kB / 0.5761 GB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008605/0.5393, allocations: 0.6276 MB / 0.5767 GB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.5425, allocations: 2.405 MB / 0.5791 GB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.543, allocations: 349 kB / 0.5794 GB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.5434, allocations: 255 kB / 0.5796 GB, free: 2.012 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.5434, allocations: 8.281 kB / 0.5796 GB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.5435, allocations: 50.66 kB / 0.5797 GB, free: 1.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 1.833e-06/0.5435, allocations: 0 / 0.5797 GB, free: 1.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.002052/0.5455, allocations: 1.259 MB / 0.5809 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.5456, allocations: 81.11 kB / 0.581 GB, free: 0.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.5459, allocations: 259 kB / 0.5813 GB, free: 0.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.5459, allocations: 29.33 kB / 0.5813 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.5461, allocations: 248 kB / 0.5815 GB, free: 348 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.5462, allocations: 171.4 kB / 0.5817 GB, free: 196 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.5463, allocations: 15.38 kB / 0.5817 GB, free: 188 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5464, allocations: 345.4 kB / 0.582 GB, free: 15.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.5467, allocations: 210.4 kB / 0.5822 GB, free: 15.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.5471, allocations: 352 kB / 0.5826 GB, free: 15.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.5475, allocations: 287.1 kB / 0.5828 GB, free: 15.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5475, allocations: 4 kB / 0.5828 GB, free: 15.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001217/0.5487, allocations: 0.7095 MB / 0.5835 GB, free: 14.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.5487, allocations: 18.39 kB / 0.5835 GB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007794/0.5495, allocations: 0.5074 MB / 0.584 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/0.5499, allocations: 81.78 kB / 0.5841 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.5503, allocations: 98.84 kB / 0.5842 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.5518, allocations: 1.588 MB / 0.5858 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.5522, allocations: 30.66 kB / 0.5858 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.5522, allocations: 19.38 kB / 0.5858 GB, free: 12.44 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.5523, allocations: 141.9 kB / 0.5859 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.5524, allocations: 31.53 kB / 0.586 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000823/0.5532, allocations: 0.5454 MB / 0.5865 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.5533, allocations: 15.94 kB / 0.5865 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.5533, allocations: 4 kB / 0.5865 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5533, allocations: 3.984 kB / 0.5865 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.5551, allocations: 1.177 MB / 0.5877 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5551, allocations: 0 / 0.5877 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.5555, allocations: 87.69 kB / 0.5878 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.5555, allocations: 4 kB / 0.5878 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.5556, allocations: 19.62 kB / 0.5878 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.5556, allocations: 4 kB / 0.5878 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.5556, allocations: 7.891 kB / 0.5878 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.5566, allocations: 0.9608 MB / 0.5887 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.5567, allocations: 109 kB / 0.5888 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.5568, allocations: 11.56 kB / 0.5889 GB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.557, allocations: 23.91 kB / 0.5889 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.5571, allocations: 27.89 kB / 0.5889 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.5571, allocations: 15.81 kB / 0.5889 GB, free: 9.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001634/0.5573, allocations: 197.7 kB / 0.5891 GB, free: 9.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5573, allocations: 0 / 0.5891 GB, free: 9.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005095/0.5578, allocations: 143.4 kB / 0.5892 GB, free: 9.492 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002134/0.558, allocations: 135 kB / 0.5894 GB, free: 9.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009306/0.559, allocations: 0.6691 MB / 0.59 GB, free: 8.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.559, allocations: 0 / 0.59 GB, free: 8.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.5593, allocations: 262.3 kB / 0.5903 GB, free: 8.645 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.5597, allocations: 69.92 kB / 0.5903 GB, free: 8.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.5611, allocations: 0.9348 MB / 0.5913 GB, free: 7.738 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.5615, allocations: 0.8837 MB / 0.5921 GB, free: 6.848 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003205/0.5618, allocations: 127.2 kB / 0.5922 GB, free: 6.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.5619, allocations: 31.44 kB / 0.5923 GB, free: 6.691 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5619, allocations: 0 / 0.5923 GB, free: 6.691 MB / 394.7 MB Notification: Performance of Templates: time 0.007761/0.5697, allocations: 3.965 MB / 0.5961 GB, free: 2.742 MB / 394.7 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","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches