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.001031/0.001032, allocations: 175.4 kB / 8.345 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008542/0.0008542, allocations: 85.94 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1772/0.1772, allocations: 37.98 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.55e-05, allocations: 0 / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 56.33 MB / 466.9 MB, free: 6.574 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.4809, allocations: 99.44 MB / 0.5531 GB, free: 11.48 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.4812, allocations: 79.95 kB / 0.5531 GB, free: 11.4 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03828/0.5195, allocations: 13.16 MB / 0.566 GB, free: 14.11 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5195, allocations: 0 / 0.566 GB, free: 14.11 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.581e-05/0.5195, allocations: 8 kB / 0.566 GB, free: 14.1 MB / 411.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.001281/0.5208, allocations: 0.6833 MB / 0.5667 GB, free: 13.37 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5209, allocations: 8.031 kB / 0.5667 GB, free: 13.36 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006633/0.5216, allocations: 99.28 kB / 0.5668 GB, free: 13.27 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.5239, allocations: 0.8447 MB / 0.5676 GB, free: 12.38 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.5239, allocations: 12 kB / 0.5676 GB, free: 12.37 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.524, allocations: 23.98 kB / 0.5676 GB, free: 12.34 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006614/0.5247, allocations: 469.9 kB / 0.5681 GB, free: 11.89 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007756/0.5255, allocations: 0.5974 MB / 0.5687 GB, free: 11.25 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.5255, allocations: 3.938 kB / 0.5687 GB, free: 11.25 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.5255, allocations: 4 kB / 0.5687 GB, free: 11.25 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.5256, allocations: 44.75 kB / 0.5687 GB, free: 11.2 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.529, allocations: 2.416 MB / 0.5711 GB, free: 8.676 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.5295, allocations: 341.9 kB / 0.5714 GB, free: 8.32 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.5298, allocations: 262.7 kB / 0.5716 GB, free: 8.059 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.5299, allocations: 12.22 kB / 0.5717 GB, free: 8.047 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.5299, allocations: 34.83 kB / 0.5717 GB, free: 8.004 MB / 411.1 MB Notification: Performance of pre-optimization done (n=47): time 3.106e-06/0.5299, allocations: 0 / 0.5717 GB, free: 8.004 MB / 411.1 MB Notification: Performance of matching and sorting (n=48): time 0.002814/0.5328, allocations: 1.575 MB / 0.5732 GB, free: 6.379 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.5328, allocations: 89.14 kB / 0.5733 GB, free: 6.273 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.533, allocations: 230.2 kB / 0.5735 GB, free: 6.047 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.5331, allocations: 25.7 kB / 0.5736 GB, free: 6.016 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.5332, allocations: 244.4 kB / 0.5738 GB, free: 5.773 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.5333, allocations: 161.6 kB / 0.5739 GB, free: 5.613 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.5333, allocations: 0 / 0.5739 GB, free: 5.613 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.5334, allocations: 350.8 kB / 0.5743 GB, free: 5.262 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.5337, allocations: 216.9 kB / 0.5745 GB, free: 5.047 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.5341, allocations: 360.4 kB / 0.5748 GB, free: 4.641 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/0.5348, allocations: 396 kB / 0.5752 GB, free: 4.254 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5348, allocations: 0 / 0.5752 GB, free: 4.254 MB / 411.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001411/0.5362, allocations: 0.7943 MB / 0.576 GB, free: 3.449 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5363, allocations: 4 kB / 0.576 GB, free: 3.445 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001096/0.5374, allocations: 0.6216 MB / 0.5766 GB, free: 2.816 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002992/0.5377, allocations: 76.89 kB / 0.5767 GB, free: 2.738 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.5381, allocations: 103.8 kB / 0.5768 GB, free: 2.637 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.5395, allocations: 1.529 MB / 0.5783 GB, free: 0.9922 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.5398, allocations: 19.97 kB / 0.5783 GB, free: 0.9727 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.5398, allocations: 20 kB / 0.5783 GB, free: 0.9531 MB / 411.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 () * 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.0001219/0.54, allocations: 124.7 kB / 0.5784 GB, free: 0.8242 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.54, allocations: 31.62 kB / 0.5784 GB, free: 0.793 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.5412, allocations: 0.6492 MB / 0.5791 GB, free: 140 kB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-05/0.5413, allocations: 23.97 kB / 0.5791 GB, free: 116 kB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5413, allocations: 7.938 kB / 0.5791 GB, free: 108 kB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5413, allocations: 0 / 0.5791 GB, free: 108 kB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.5434, allocations: 1.244 MB / 0.5803 GB, free: 14.8 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5434, allocations: 0 / 0.5803 GB, free: 14.8 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.5438, allocations: 83.88 kB / 0.5804 GB, free: 14.72 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.5439, allocations: 4 kB / 0.5804 GB, free: 14.72 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.5439, allocations: 4 kB / 0.5804 GB, free: 14.71 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5439, allocations: 4.094 kB / 0.5804 GB, free: 14.71 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5439, allocations: 4 kB / 0.5804 GB, free: 14.71 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.5455, allocations: 1.092 MB / 0.5815 GB, free: 13.56 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.5456, allocations: 116.6 kB / 0.5816 GB, free: 13.43 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.5456, allocations: 8.031 kB / 0.5816 GB, free: 13.42 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.5459, allocations: 19.97 kB / 0.5816 GB, free: 13.4 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.5459, allocations: 23.97 kB / 0.5816 GB, free: 13.38 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.546, allocations: 12 kB / 0.5817 GB, free: 13.37 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.5461, allocations: 174 kB / 0.5818 GB, free: 13.2 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5461, allocations: 4 kB / 0.5818 GB, free: 13.2 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0005675/0.5467, allocations: 119.9 kB / 0.5819 GB, free: 13.08 MB / 427.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 () * 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.0002423/0.547, allocations: 137 kB / 0.5821 GB, free: 12.94 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.5481, allocations: 0.66 MB / 0.5827 GB, free: 12.27 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.5481, allocations: 0 / 0.5827 GB, free: 12.27 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003481/0.5485, allocations: 271.7 kB / 0.583 GB, free: 12 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.5489, allocations: 57.75 kB / 0.583 GB, free: 11.95 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.5505, allocations: 0.9401 MB / 0.584 GB, free: 10.96 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.5511, allocations: 0.8908 MB / 0.5848 GB, free: 10.05 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0003581/0.5514, allocations: 123.2 kB / 0.5849 GB, free: 9.926 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.5516, allocations: 31.44 kB / 0.585 GB, free: 9.898 MB / 427.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5516, allocations: 0 / 0.585 GB, free: 9.898 MB / 427.1 MB Notification: Performance of Templates: time 0.007627/0.5592, allocations: 3.903 MB / 0.5888 GB, free: 6 MB / 427.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","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches