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.0009343/0.0009346, allocations: 176.9 kB / 17.4 MB, free: 4.297 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.401/1.401, allocations: 205.4 MB / 223.5 MB, free: 9.016 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.0007401/0.0007401, allocations: 86.36 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1695/0.1695, allocations: 38.07 MB / 358.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005671/0.0005673, allocations: 12 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3471, allocations: 56.32 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.495, allocations: 103.8 MB / 0.5717 GB, free: 14.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.4954, allocations: 91.81 kB / 0.5717 GB, free: 14.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07279/0.5682, allocations: 25.8 MB / 0.5969 GB, free: 4.215 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5683, allocations: 0 / 0.5969 GB, free: 4.215 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.343e-05/0.5684, allocations: 27.94 kB / 0.597 GB, free: 4.188 MB / 426.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.003448/0.5718, allocations: 1.179 MB / 0.5981 GB, free: 2.945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.5719, allocations: 11.98 kB / 0.5981 GB, free: 2.934 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.5731, allocations: 177.2 kB / 0.5983 GB, free: 2.762 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.5759, allocations: 1.003 MB / 0.5993 GB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/0.576, allocations: 61.98 kB / 0.5993 GB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.5762, allocations: 95.83 kB / 0.5994 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.5784, allocations: 1.148 MB / 0.6006 GB, free: 344 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/0.5784, allocations: 7.938 kB / 0.6006 GB, free: 336 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.5785, allocations: 32 kB / 0.6006 GB, free: 304 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.108e-05/0.5786, allocations: 53.97 kB / 0.6006 GB, free: 248 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.5803, allocations: 0.8898 MB / 0.6015 GB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006043/0.5864, allocations: 4.714 MB / 0.6061 GB, free: 10.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.5876, allocations: 0.664 MB / 0.6068 GB, free: 9.754 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005651/0.5882, allocations: 407.8 kB / 0.6072 GB, free: 9.352 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.412e-05/0.5882, allocations: 12.53 kB / 0.6072 GB, free: 9.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006421/0.5889, allocations: 463.7 kB / 0.6076 GB, free: 8.859 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 2.936e-06/0.5889, allocations: 3.938 kB / 0.6076 GB, free: 8.855 MB / 442.7 MB Notification: Performance of matching and sorting (n=70): time 0.005722/0.5946, allocations: 2.592 MB / 0.6101 GB, free: 6.195 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/0.5948, allocations: 170.8 kB / 0.6103 GB, free: 5.992 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000793/0.5956, allocations: 0.5822 MB / 0.6109 GB, free: 5.402 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.5956, allocations: 41.7 kB / 0.6109 GB, free: 5.355 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.596, allocations: 466.8 kB / 0.6114 GB, free: 4.891 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.5963, allocations: 236.7 kB / 0.6116 GB, free: 4.656 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.5963, allocations: 12 kB / 0.6116 GB, free: 4.645 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.5965, allocations: 394.7 kB / 0.612 GB, free: 4.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.597, allocations: 293.8 kB / 0.6123 GB, free: 3.965 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/0.5977, allocations: 0.5567 MB / 0.6128 GB, free: 3.293 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.599, allocations: 0.9745 MB / 0.6137 GB, free: 2.191 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.599, allocations: 3.938 kB / 0.6137 GB, free: 2.188 MB / 442.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002281/0.6013, allocations: 1.239 MB / 0.615 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.6014, allocations: 37.64 kB / 0.615 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/0.6014, allocations: 8 kB / 0.615 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.6025, allocations: 346.4 kB / 0.6153 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.603, allocations: 147.7 kB / 0.6155 GB, free: 400 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005926/0.609, allocations: 4.969 MB / 0.6203 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/0.6097, allocations: 48.02 kB / 0.6204 GB, free: 11.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.6098, allocations: 32 kB / 0.6204 GB, free: 11.05 MB / 458.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 () * Number of clocked 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.0007515/0.6106, allocations: 362.9 kB / 0.6207 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.6107, allocations: 79.06 kB / 0.6208 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.6129, allocations: 1.089 MB / 0.6219 GB, free: 9.484 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.6129, allocations: 12 kB / 0.6219 GB, free: 9.473 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.6129, allocations: 8 kB / 0.6219 GB, free: 9.465 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.6129, allocations: 7.922 kB / 0.6219 GB, free: 9.457 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/0.6166, allocations: 2.125 MB / 0.624 GB, free: 7.246 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.6166, allocations: 8.156 kB / 0.624 GB, free: 7.238 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.6169, allocations: 75.89 kB / 0.6241 GB, free: 7.164 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009129/0.6179, allocations: 317.6 kB / 0.6244 GB, free: 6.848 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.6179, allocations: 19.98 kB / 0.6244 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005433/0.6234, allocations: 4.891 MB / 0.6292 GB, free: 1.645 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6234, allocations: 4 kB / 0.6292 GB, free: 1.641 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.6253, allocations: 1.156 MB / 0.6303 GB, free: 448 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.6256, allocations: 148.2 kB / 0.6304 GB, free: 280 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.6257, allocations: 12 kB / 0.6305 GB, free: 268 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.6261, allocations: 31.97 kB / 0.6305 GB, free: 236 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.6263, allocations: 60.42 kB / 0.6305 GB, free: 176 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.6263, allocations: 16 kB / 0.6306 GB, free: 160 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005935/0.6269, allocations: 411.1 kB / 0.6309 GB, free: 15.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6269, allocations: 0 / 0.6309 GB, free: 15.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001395/0.6284, allocations: 299.9 kB / 0.6312 GB, free: 15.46 MB / 474.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) * Number of clocked states: 0 () * 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.0003947/0.6288, allocations: 171.3 kB / 0.6314 GB, free: 15.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.6308, allocations: 1.172 MB / 0.6325 GB, free: 14.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6309, allocations: 7.938 kB / 0.6326 GB, free: 14.06 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.632, allocations: 0.7908 MB / 0.6333 GB, free: 13.24 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009875/0.633, allocations: 171.1 kB / 0.6335 GB, free: 13.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.6364, allocations: 2.152 MB / 0.6356 GB, free: 10.88 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009238/0.6373, allocations: 1.103 MB / 0.6367 GB, free: 9.746 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006116/0.6379, allocations: 178.2 kB / 0.6368 GB, free: 9.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.6381, allocations: 47.44 kB / 0.6369 GB, free: 9.523 MB / 474.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6381, allocations: 0 / 0.6369 GB, free: 9.523 MB / 474.7 MB Notification: Performance of Templates: time 0.2011/0.8392, allocations: 10.79 MB / 0.6474 GB, free: 136.5 MB / 474.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/jenkins1/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