Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.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.SimulationFixedInitial,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.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,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.SimulationFixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, 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.65/1.65, 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.0008767/0.0008768, allocations: 95.8 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1753/0.1753, allocations: 38.05 MB / 357.2 MB, free: 1.875 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.000336, allocations: 8 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3518, allocations: 56.32 MB / 480.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.5083, allocations: 103.7 MB / 0.5703 GB, free: 14.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.5086, allocations: 87.97 kB / 0.5704 GB, free: 14.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07455/0.5832, allocations: 25.88 MB / 0.5957 GB, free: 4.383 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5832, allocations: 4 kB / 0.5957 GB, free: 4.379 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.005e-05/0.5833, allocations: 20 kB / 0.5957 GB, free: 4.359 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.003183/0.5865, allocations: 1.224 MB / 0.5969 GB, free: 3.074 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5865, allocations: 11.98 kB / 0.5969 GB, free: 3.062 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.5876, allocations: 182.5 kB / 0.5971 GB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/0.591, allocations: 1.374 MB / 0.5984 GB, free: 1.465 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-05/0.5911, allocations: 69.98 kB / 0.5985 GB, free: 1.398 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.5912, allocations: 91.89 kB / 0.5986 GB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.5931, allocations: 1.191 MB / 0.5998 GB, free: 48 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.5931, allocations: 7.938 kB / 0.5998 GB, free: 40 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/0.5932, allocations: 35.98 kB / 0.5998 GB, free: 4 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.76e-05/0.5933, allocations: 49.98 kB / 0.5999 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.5948, allocations: 0.9757 MB / 0.6008 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005943/0.6008, allocations: 4.679 MB / 0.6054 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.6019, allocations: 0.6937 MB / 0.6061 GB, free: 9.395 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.005e-05/0.602, allocations: 4.625 kB / 0.6061 GB, free: 9.391 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000786/0.6028, allocations: 0.5321 MB / 0.6066 GB, free: 8.832 MB / 442.7 MB Notification: Performance of pre-optimization done (n=73): time 3.025e-06/0.6028, allocations: 0 / 0.6066 GB, free: 8.832 MB / 442.7 MB Notification: Performance of matching and sorting (n=77): time 0.005104/0.6079, allocations: 3.097 MB / 0.6096 GB, free: 5.598 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/0.608, allocations: 170.9 kB / 0.6098 GB, free: 5.395 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006291/0.6087, allocations: 0.5072 MB / 0.6103 GB, free: 4.883 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.6087, allocations: 45.7 kB / 0.6103 GB, free: 4.832 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/0.6091, allocations: 471.1 kB / 0.6108 GB, free: 4.363 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.6093, allocations: 264.2 kB / 0.611 GB, free: 4.102 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.6094, allocations: 20 kB / 0.611 GB, free: 4.082 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.6096, allocations: 390.8 kB / 0.6114 GB, free: 3.691 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/0.6102, allocations: 385.8 kB / 0.6118 GB, free: 3.316 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000772/0.611, allocations: 0.6295 MB / 0.6124 GB, free: 2.578 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/0.6216, allocations: 3.92 MB / 0.6162 GB, free: 14.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.6216, allocations: 0 / 0.6162 GB, free: 14.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002297/0.6239, allocations: 1.358 MB / 0.6175 GB, free: 13.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.624, allocations: 37.7 kB / 0.6176 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.624, allocations: 8.031 kB / 0.6176 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007001/0.6247, allocations: 250.3 kB / 0.6178 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.6259, allocations: 271.6 kB / 0.6181 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005412/0.6313, allocations: 5.637 MB / 0.6236 GB, free: 6.617 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007019/0.632, allocations: 43.97 kB / 0.6236 GB, free: 6.574 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/0.6321, allocations: 39.98 kB / 0.6237 GB, free: 6.535 MB / 458.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,$whenCondition2,switch.control[1],$PRE.switch.t0,switch.t0,$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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006968/0.6328, allocations: 375.2 kB / 0.624 GB, free: 6.152 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.633, allocations: 79.05 kB / 0.6241 GB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.635, allocations: 1.177 MB / 0.6252 GB, free: 4.871 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/0.6351, allocations: 8 kB / 0.6252 GB, free: 4.863 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6351, allocations: 4 kB / 0.6253 GB, free: 4.859 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.6351, allocations: 7.984 kB / 0.6253 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/0.6388, allocations: 2.314 MB / 0.6275 GB, free: 2.449 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.6388, allocations: 0 / 0.6275 GB, free: 2.449 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009314/0.6398, allocations: 199.9 kB / 0.6277 GB, free: 2.254 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007604/0.6406, allocations: 254.2 kB / 0.628 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/0.6406, allocations: 27.98 kB / 0.628 GB, free: 1.969 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005057/0.6457, allocations: 5.566 MB / 0.6334 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6457, allocations: 7.969 kB / 0.6334 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.6483, allocations: 1.759 MB / 0.6351 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.6485, allocations: 152.2 kB / 0.6353 GB, free: 9.977 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.6486, allocations: 31.94 kB / 0.6353 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.6491, allocations: 35.97 kB / 0.6354 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.6492, allocations: 60.41 kB / 0.6354 GB, free: 9.852 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/0.6493, allocations: 27.98 kB / 0.6354 GB, free: 9.824 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004987/0.6498, allocations: 403 kB / 0.6358 GB, free: 9.434 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6498, allocations: 0 / 0.6358 GB, free: 9.434 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001199/0.651, allocations: 311.9 kB / 0.6361 GB, free: 9.129 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003405/0.6514, allocations: 183.3 kB / 0.6363 GB, free: 8.941 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.6536, allocations: 1.427 MB / 0.6377 GB, free: 7.469 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.6537, allocations: 3.938 kB / 0.6377 GB, free: 7.465 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.655, allocations: 0.9407 MB / 0.6386 GB, free: 6.473 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.6558, allocations: 158.8 kB / 0.6388 GB, free: 6.316 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.6597, allocations: 2.633 MB / 0.6413 GB, free: 3.637 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008318/0.6606, allocations: 1.138 MB / 0.6424 GB, free: 2.469 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000668/0.6613, allocations: 210.3 kB / 0.6426 GB, free: 2.258 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.6614, allocations: 59.42 kB / 0.6427 GB, free: 2.203 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6615, allocations: 0 / 0.6427 GB, free: 2.203 MB / 474.7 MB Notification: Performance of Templates: time 0.2469/0.9084, allocations: 10.92 MB / 0.6534 GB, free: 134.6 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationFixedInitial.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches