Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000992/0.0009919, allocations: 176.6 kB / 17.4 MB, free: 4.398 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.482/1.482, allocations: 205.4 MB / 223.5 MB, free: 9.027 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.0007192/0.0007194, allocations: 78.42 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2474/0.2474, allocations: 38.08 MB / 358.3 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 8 kB / 425.2 MB, free: 37.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3078, allocations: 56.32 MB / 481.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4441, allocations: 99.62 MB / 0.5676 GB, free: 2.645 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4444, allocations: 83.81 kB / 0.5676 GB, free: 2.566 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:436:7-436:61:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1142/0.5585, allocations: 52.16 MB / 0.6186 GB, free: 13.42 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.5586, allocations: 4 kB / 0.6186 GB, free: 13.42 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.588e-05/0.5586, allocations: 7.938 kB / 0.6186 GB, free: 13.41 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001419/0.56, allocations: 0.7257 MB / 0.6193 GB, free: 12.63 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.5601, allocations: 12.03 kB / 0.6193 GB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.5617, allocations: 128.3 kB / 0.6194 GB, free: 12.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.5623, allocations: 339.3 kB / 0.6198 GB, free: 12.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.5624, allocations: 59.19 kB / 0.6198 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.5625, allocations: 44.38 kB / 0.6199 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/0.5634, allocations: 0.5832 MB / 0.6204 GB, free: 11.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.5634, allocations: 3.938 kB / 0.6204 GB, free: 11.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.5635, allocations: 15.98 kB / 0.6205 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-05/0.5636, allocations: 40.62 kB / 0.6205 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007053/0.5643, allocations: 390.1 kB / 0.6209 GB, free: 10.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/0.567, allocations: 2.603 MB / 0.6234 GB, free: 8.199 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/0.5677, allocations: 434.3 kB / 0.6238 GB, free: 7.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.568, allocations: 202.5 kB / 0.624 GB, free: 7.543 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.568, allocations: 7.938 kB / 0.624 GB, free: 7.535 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.5681, allocations: 38.56 kB / 0.6241 GB, free: 7.488 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 2.925e-06/0.5681, allocations: 0 / 0.6241 GB, free: 7.488 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.001702/0.5698, allocations: 0.7811 MB / 0.6248 GB, free: 6.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.5698, allocations: 106.8 kB / 0.6249 GB, free: 6.551 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.5702, allocations: 316.5 kB / 0.6252 GB, free: 6.238 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.5702, allocations: 29.7 kB / 0.6253 GB, free: 6.203 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.5704, allocations: 255.9 kB / 0.6255 GB, free: 5.945 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.5705, allocations: 110.4 kB / 0.6256 GB, free: 5.836 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.5706, allocations: 8 kB / 0.6256 GB, free: 5.828 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5707, allocations: 346.8 kB / 0.6259 GB, free: 5.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.5709, allocations: 128.8 kB / 0.6261 GB, free: 5.352 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.5712, allocations: 275.4 kB / 0.6263 GB, free: 5.012 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.5717, allocations: 460.1 kB / 0.6268 GB, free: 4.496 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5717, allocations: 0 / 0.6268 GB, free: 4.496 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008679/0.5726, allocations: 0.554 MB / 0.6273 GB, free: 3.934 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.5726, allocations: 8.562 kB / 0.6273 GB, free: 3.926 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.5726, allocations: 12 kB / 0.6273 GB, free: 3.914 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.573, allocations: 116.7 kB / 0.6274 GB, free: 3.797 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.5732, allocations: 71.91 kB / 0.6275 GB, free: 3.727 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.5757, allocations: 2.36 MB / 0.6298 GB, free: 1.223 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.5759, allocations: 47.44 kB / 0.6299 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.5759, allocations: 20 kB / 0.6299 GB, free: 1.156 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.5762, allocations: 197.6 kB / 0.6301 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.5763, allocations: 35.62 kB / 0.6301 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.048e-05/0.5764, allocations: 47.95 kB / 0.6301 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.5764, allocations: 4.062 kB / 0.6301 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.5764, allocations: 12 kB / 0.6302 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5765, allocations: 3.984 kB / 0.6302 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.5777, allocations: 0.9381 MB / 0.6311 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5778, allocations: 4.062 kB / 0.6311 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.5779, allocations: 35.92 kB / 0.6311 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002502/0.5782, allocations: 108.8 kB / 0.6312 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.5782, allocations: 8 kB / 0.6312 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/0.5805, allocations: 2.341 MB / 0.6335 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5805, allocations: 0 / 0.6335 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007169/0.5813, allocations: 0.6301 MB / 0.6341 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.5814, allocations: 116.6 kB / 0.6342 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.5814, allocations: 8 kB / 0.6342 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.5816, allocations: 8 kB / 0.6343 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.5816, allocations: 23.97 kB / 0.6343 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.5817, allocations: 15.94 kB / 0.6343 GB, free: 12.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002116/0.5819, allocations: 219 kB / 0.6345 GB, free: 12.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5819, allocations: 0 / 0.6345 GB, free: 12.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000672/0.5826, allocations: 159.8 kB / 0.6347 GB, free: 11.99 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (20): * Single equations (assignments): 18 * 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: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001283/0.5827, allocations: 103.5 kB / 0.6347 GB, free: 11.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008621/0.5836, allocations: 0.5141 MB / 0.6353 GB, free: 11.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5836, allocations: 0 / 0.6353 GB, free: 11.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004484/0.584, allocations: 347.5 kB / 0.6356 GB, free: 11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.5846, allocations: 66.25 kB / 0.6356 GB, free: 10.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.586, allocations: 0.951 MB / 0.6366 GB, free: 9.945 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.5866, allocations: 0.882 MB / 0.6374 GB, free: 9.039 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.5868, allocations: 70.91 kB / 0.6375 GB, free: 8.965 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/0.5868, allocations: 23.62 kB / 0.6375 GB, free: 8.941 MB / 474.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5868, allocations: 0 / 0.6375 GB, free: 8.941 MB / 474.7 MB Notification: Performance of Templates: time 0.007732/0.5946, allocations: 3.381 MB / 0.6408 GB, free: 5.559 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches