Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001231/0.001231, allocations: 175.5 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.668/1.668, 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.0009131/0.0009133, allocations: 90.64 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.1622/0.1622, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.116e-05, allocations: 4 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 56.31 MB / 474 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.389/0.5102, allocations: 94.73 MB / 0.5554 GB, free: 8.398 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.5106, allocations: 84.14 kB / 0.5555 GB, free: 8.355 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03157/0.5422, allocations: 14.12 MB / 0.5693 GB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5422, allocations: 4 kB / 0.5693 GB, free: 12.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.5422, allocations: 4 kB / 0.5693 GB, free: 12.75 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008112/0.543, allocations: 493.5 kB / 0.5698 GB, free: 12.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5431, allocations: 8.031 kB / 0.5698 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.5441, allocations: 115.5 kB / 0.5699 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.5446, allocations: 269.8 kB / 0.5702 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.5447, allocations: 19.67 kB / 0.5702 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.5447, allocations: 15.88 kB / 0.5702 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.5453, allocations: 314.1 kB / 0.5705 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.5453, allocations: 4 kB / 0.5705 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.5453, allocations: 11.67 kB / 0.5705 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.418e-05/0.5454, allocations: 23.86 kB / 0.5705 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/0.5459, allocations: 296 kB / 0.5708 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.5478, allocations: 1.248 MB / 0.572 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.5481, allocations: 159.9 kB / 0.5722 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.5483, allocations: 110.5 kB / 0.5723 GB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.5483, allocations: 4 kB / 0.5723 GB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.5484, allocations: 33.44 kB / 0.5723 GB, free: 9.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 2.345e-06/0.5484, allocations: 4 kB / 0.5723 GB, free: 9.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009778/0.5494, allocations: 433.5 kB / 0.5728 GB, free: 9.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.5494, allocations: 85.02 kB / 0.5728 GB, free: 9.453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.5496, allocations: 166.7 kB / 0.573 GB, free: 9.301 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.5496, allocations: 29.7 kB / 0.573 GB, free: 9.266 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.5497, allocations: 154.1 kB / 0.5732 GB, free: 9.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.5498, allocations: 58.98 kB / 0.5732 GB, free: 9.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.5498, allocations: 11.84 kB / 0.5732 GB, free: 9.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.55, allocations: 325.1 kB / 0.5735 GB, free: 8.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.5501, allocations: 77.84 kB / 0.5736 GB, free: 8.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.5503, allocations: 146.2 kB / 0.5738 GB, free: 8.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.5505, allocations: 106.9 kB / 0.5739 GB, free: 8.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5505, allocations: 0 / 0.5739 GB, free: 8.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006095/0.5511, allocations: 353.4 kB / 0.5742 GB, free: 8.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5512, allocations: 4 kB / 0.5742 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5512, allocations: 4 kB / 0.5742 GB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/0.5515, allocations: 87.34 kB / 0.5743 GB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.5517, allocations: 39.14 kB / 0.5743 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.5541, allocations: 1.945 MB / 0.5762 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.5542, allocations: 19.39 kB / 0.5762 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.5542, allocations: 8.125 kB / 0.5763 GB, free: 6.207 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * 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: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.5544, allocations: 119.6 kB / 0.5764 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.5544, allocations: 19.81 kB / 0.5764 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006162/0.5551, allocations: 319.4 kB / 0.5767 GB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/0.5551, allocations: 4 kB / 0.5767 GB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.5551, allocations: 0 / 0.5767 GB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.5551, allocations: 0 / 0.5767 GB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.5563, allocations: 0.7391 MB / 0.5774 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5563, allocations: 0 / 0.5774 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.5564, allocations: 27.92 kB / 0.5774 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002694/0.5567, allocations: 79.66 kB / 0.5775 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.5567, allocations: 7.312 kB / 0.5775 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.5587, allocations: 1.818 MB / 0.5793 GB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5587, allocations: 0 / 0.5793 GB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.5593, allocations: 434.8 kB / 0.5797 GB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.5594, allocations: 96.84 kB / 0.5798 GB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.5594, allocations: 10.7 kB / 0.5798 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.5595, allocations: 15.36 kB / 0.5798 GB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.5596, allocations: 11.98 kB / 0.5798 GB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.5596, allocations: 7.062 kB / 0.5798 GB, free: 2.742 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.5598, allocations: 149.5 kB / 0.58 GB, free: 2.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5598, allocations: 3.938 kB / 0.58 GB, free: 2.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004571/0.5602, allocations: 69.94 kB / 0.5801 GB, free: 2.547 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001532/0.5604, allocations: 109.9 kB / 0.5802 GB, free: 2.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006827/0.5611, allocations: 373.8 kB / 0.5805 GB, free: 2.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5611, allocations: 3.938 kB / 0.5805 GB, free: 2.117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.5615, allocations: 247 kB / 0.5808 GB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.5617, allocations: 31.73 kB / 0.5808 GB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.5624, allocations: 345.3 kB / 0.5811 GB, free: 1.551 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.5628, allocations: 0.7746 MB / 0.5819 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.5629, allocations: 37.56 kB / 0.5819 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.563, allocations: 23.42 kB / 0.5819 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.563, allocations: 0 / 0.5819 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of Templates: time 0.005845/0.5688, allocations: 2.65 MB / 0.5845 GB, free: 14.06 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,line.i[1],line.i[2],line.p[1],line.p[2],line.v[1],line.v[2] Variables in the result:line.L,line.R,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.p[1],line.p[2],line.terminal_p.v[1],line.v[1],line.v[2],line.v_start[1],line.v_start[2],load.P,load.p[1],load.phi,load.v_start[1],load.v_start[2],source.V,source.definiteReference,source.potentialReference,source.terminal.v[1],system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time