Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.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.SimulationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001637/0.001637, allocations: 175.4 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.603/1.603, allocations: 205.2 MB / 219.4 MB, free: 14.25 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.0008117/0.0008117, allocations: 94.62 kB / 267.5 MB, free: 14.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1733/0.1733, allocations: 37.98 MB / 353.5 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.911e-05, allocations: 0 / 417.7 MB, free: 29.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 56.32 MB / 474 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4151/0.5275, allocations: 103.7 MB / 0.5642 GB, free: 15.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5278, allocations: 82.7 kB / 0.5643 GB, free: 15.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07192/0.5997, allocations: 25.82 MB / 0.5895 GB, free: 8.926 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5998, allocations: 4 kB / 0.5895 GB, free: 8.922 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.84e-05/0.5998, allocations: 23.94 kB / 0.5895 GB, free: 8.898 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001946/0.6018, allocations: 1.054 MB / 0.5905 GB, free: 7.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.6018, allocations: 11.98 kB / 0.5906 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009165/0.6028, allocations: 178.5 kB / 0.5907 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/0.6065, allocations: 1.352 MB / 0.5921 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.919e-05/0.6065, allocations: 57.38 kB / 0.5921 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.6067, allocations: 81.44 kB / 0.5922 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.6084, allocations: 1.128 MB / 0.5933 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.6085, allocations: 15.83 kB / 0.5933 GB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/0.6086, allocations: 38.86 kB / 0.5933 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.197e-05/0.6087, allocations: 49.98 kB / 0.5934 GB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.6101, allocations: 0.868 MB / 0.5942 GB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006031/0.6161, allocations: 4.716 MB / 0.5988 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.6173, allocations: 0.6617 MB / 0.5995 GB, free: 120 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/0.6179, allocations: 402.5 kB / 0.5999 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.352e-05/0.6179, allocations: 4.562 kB / 0.5999 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006197/0.6185, allocations: 464.2 kB / 0.6003 GB, free: 15.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.106e-06/0.6186, allocations: 0 / 0.6003 GB, free: 15.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=70): time 0.003199/0.6218, allocations: 1.696 MB / 0.602 GB, free: 14.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/0.6219, allocations: 170.2 kB / 0.6021 GB, free: 13.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006239/0.6225, allocations: 0.5153 MB / 0.6026 GB, free: 13.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.6226, allocations: 31.58 kB / 0.6027 GB, free: 13.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.623, allocations: 478.5 kB / 0.6031 GB, free: 13.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.6232, allocations: 240.6 kB / 0.6034 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.6232, allocations: 14 kB / 0.6034 GB, free: 12.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.6234, allocations: 390.5 kB / 0.6037 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.6239, allocations: 288.7 kB / 0.604 GB, free: 12.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.6245, allocations: 0.5466 MB / 0.6045 GB, free: 11.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005846/0.6251, allocations: 418.6 kB / 0.6049 GB, free: 11.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.6251, allocations: 7.938 kB / 0.605 GB, free: 11.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002184/0.6273, allocations: 1.221 MB / 0.6061 GB, free: 10.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/0.6274, allocations: 37.66 kB / 0.6062 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.6274, allocations: 8 kB / 0.6062 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.6285, allocations: 348.8 kB / 0.6065 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.629, allocations: 139.5 kB / 0.6067 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005744/0.6347, allocations: 4.949 MB / 0.6115 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007206/0.6355, allocations: 40.83 kB / 0.6115 GB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.6356, allocations: 39.05 kB / 0.6116 GB, free: 5.516 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,switch.control[1],$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 76 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.6359, allocations: 194.3 kB / 0.6117 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.6361, allocations: 75.06 kB / 0.6118 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.6383, allocations: 1.062 MB / 0.6129 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.6383, allocations: 12 kB / 0.6129 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.6384, allocations: 4 kB / 0.6129 GB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.6384, allocations: 3.984 kB / 0.6129 GB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/0.6426, allocations: 2.118 MB / 0.6149 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6427, allocations: 0 / 0.6149 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.643, allocations: 79.89 kB / 0.615 GB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009487/0.644, allocations: 321.5 kB / 0.6153 GB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-05/0.644, allocations: 12 kB / 0.6153 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006371/0.6504, allocations: 4.872 MB / 0.6201 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.6505, allocations: 96 / 0.6201 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.6527, allocations: 1.199 MB / 0.6213 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/0.6531, allocations: 148.2 kB / 0.6214 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.6534, allocations: 19.98 kB / 0.6214 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/0.654, allocations: 27.92 kB / 0.6215 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.6542, allocations: 60.42 kB / 0.6215 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/0.6542, allocations: 16 kB / 0.6215 GB, free: 10.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007463/0.655, allocations: 411.1 kB / 0.6219 GB, free: 10.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.655, allocations: 0 / 0.6219 GB, free: 10.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001326/0.6563, allocations: 295.9 kB / 0.6222 GB, free: 10.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.closed,switch.control[1],$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003849/0.6567, allocations: 195.3 kB / 0.6224 GB, free: 9.973 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002197/0.6589, allocations: 1.164 MB / 0.6235 GB, free: 8.766 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.659, allocations: 0 / 0.6235 GB, free: 8.766 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.6602, allocations: 0.7708 MB / 0.6243 GB, free: 7.957 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009492/0.6612, allocations: 154.2 kB / 0.6244 GB, free: 7.809 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.6647, allocations: 1.368 MB / 0.6258 GB, free: 6.398 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/0.6661, allocations: 1.123 MB / 0.6269 GB, free: 5.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007256/0.6668, allocations: 178.3 kB / 0.627 GB, free: 5.074 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.667, allocations: 55.42 kB / 0.6271 GB, free: 5.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/0.667, allocations: 3.938 kB / 0.6271 GB, free: 5.016 MB / 426.7 MB Notification: Performance of Templates: time 0.023/0.6901, allocations: 10.97 MB / 0.6378 GB, free: 10.04 MB / 442.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationSteadyState.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches