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.001212/0.001212, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.549/1.549, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001109/0.001109, allocations: 103.6 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1699/0.1699, allocations: 38.06 MB / 357.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 8 kB / 424 MB, free: 37.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3733, allocations: 56.32 MB / 480.3 MB, free: 9.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.527, allocations: 100.2 MB / 0.5669 GB, free: 2.227 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.5274, allocations: 83.95 kB / 0.567 GB, free: 2.145 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0412/0.5686, allocations: 13.27 MB / 0.5799 GB, free: 4.723 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5686, allocations: 0 / 0.5799 GB, free: 4.723 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.123e-05/0.5687, allocations: 15.98 kB / 0.58 GB, free: 4.707 MB / 410.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.001869/0.5706, allocations: 0.7231 MB / 0.5807 GB, free: 3.934 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.5706, allocations: 8.031 kB / 0.5807 GB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007688/0.5714, allocations: 91.28 kB / 0.5808 GB, free: 3.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/0.5742, allocations: 0.8683 MB / 0.5816 GB, free: 2.922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/0.5743, allocations: 32.94 kB / 0.5816 GB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.5744, allocations: 39.98 kB / 0.5817 GB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.5757, allocations: 0.6609 MB / 0.5823 GB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.5757, allocations: 3.984 kB / 0.5823 GB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.5757, allocations: 12 kB / 0.5823 GB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/0.5759, allocations: 48.97 kB / 0.5824 GB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.577, allocations: 0.6362 MB / 0.583 GB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003968/0.581, allocations: 2.414 MB / 0.5854 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.5815, allocations: 354 kB / 0.5857 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.5816, allocations: 4.344 kB / 0.5857 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.5816, allocations: 42.84 kB / 0.5857 GB, free: 14.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 3.707e-06/0.5816, allocations: 4 kB / 0.5857 GB, free: 14.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.002666/0.5843, allocations: 1.729 MB / 0.5874 GB, free: 12.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.5844, allocations: 81.11 kB / 0.5875 GB, free: 12.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.5847, allocations: 246.2 kB / 0.5877 GB, free: 12.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.5848, allocations: 41.81 kB / 0.5878 GB, free: 12.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.5849, allocations: 247.6 kB / 0.588 GB, free: 12.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.5851, allocations: 164.5 kB / 0.5882 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.5851, allocations: 12 kB / 0.5882 GB, free: 11.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.5853, allocations: 350.8 kB / 0.5885 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.5856, allocations: 212.9 kB / 0.5887 GB, free: 11.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.586, allocations: 361.2 kB / 0.5891 GB, free: 10.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.5865, allocations: 288.2 kB / 0.5893 GB, free: 10.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5865, allocations: 0 / 0.5893 GB, free: 10.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001247/0.5877, allocations: 0.7201 MB / 0.5901 GB, free: 9.875 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.5878, allocations: 6.5 kB / 0.5901 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009787/0.5887, allocations: 0.5239 MB / 0.5906 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/0.5891, allocations: 76.78 kB / 0.5906 GB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.5895, allocations: 103.8 kB / 0.5907 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.5914, allocations: 1.624 MB / 0.5923 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.5917, allocations: 27.97 kB / 0.5924 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.5918, allocations: 23.98 kB / 0.5924 GB, free: 7.348 MB / 426.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 () * Number of clocked 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.0003654/0.5922, allocations: 221.6 kB / 0.5926 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.874e-05/0.5922, allocations: 31.62 kB / 0.5926 GB, free: 7.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009019/0.5932, allocations: 0.5558 MB / 0.5932 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-05/0.5932, allocations: 16 kB / 0.5932 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5932, allocations: 0 / 0.5932 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.5932, allocations: 7.922 kB / 0.5932 GB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.5952, allocations: 1.188 MB / 0.5943 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5952, allocations: 0 / 0.5943 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.5956, allocations: 83.88 kB / 0.5944 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.5956, allocations: 4 kB / 0.5944 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.5956, allocations: 11.98 kB / 0.5944 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.5957, allocations: 4 kB / 0.5944 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.5957, allocations: 4.047 kB / 0.5944 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.5969, allocations: 0.9788 MB / 0.5954 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.597, allocations: 112.6 kB / 0.5955 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.5971, allocations: 8.375 kB / 0.5955 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.5973, allocations: 28 kB / 0.5955 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.5973, allocations: 19.95 kB / 0.5956 GB, free: 3.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.5974, allocations: 16 kB / 0.5956 GB, free: 3.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001986/0.5976, allocations: 190 kB / 0.5958 GB, free: 3.727 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5976, allocations: 0 / 0.5958 GB, free: 3.727 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005871/0.5982, allocations: 139.9 kB / 0.5959 GB, free: 3.59 MB / 426.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 () * Number of clocked 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.0002511/0.5985, allocations: 151 kB / 0.596 GB, free: 3.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.5996, allocations: 0.6691 MB / 0.5967 GB, free: 2.746 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.5996, allocations: 4.375 kB / 0.5967 GB, free: 2.742 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.6, allocations: 264.5 kB / 0.5969 GB, free: 2.484 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.6004, allocations: 64.58 kB / 0.597 GB, free: 2.422 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.6024, allocations: 1.397 MB / 0.5984 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.6029, allocations: 0.8867 MB / 0.5992 GB, free: 72 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003662/0.6033, allocations: 127.2 kB / 0.5994 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.6034, allocations: 31.44 kB / 0.5994 GB, free: 15.91 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6034, allocations: 0 / 0.5994 GB, free: 15.91 MB / 442.7 MB Notification: Performance of Templates: time 0.008261/0.6117, allocations: 3.954 MB / 0.6033 GB, free: 11.97 MB / 442.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