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.001019/0.001019, 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.566/1.566, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0008815/0.0008815, allocations: 92.14 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1768/0.1768, allocations: 38.05 MB / 357.2 MB, free: 1.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002946, allocations: 15.98 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2957, allocations: 56.31 MB / 480.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.4368, allocations: 99.6 MB / 0.5663 GB, free: 2.816 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.4371, allocations: 87.95 kB / 0.5664 GB, free: 2.73 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.1125/0.5496, allocations: 52.14 MB / 0.6173 GB, free: 13.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.5497, allocations: 0 / 0.6173 GB, free: 13.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.5497, allocations: 8 kB / 0.6173 GB, free: 13.61 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.00153/0.5512, allocations: 0.7294 MB / 0.618 GB, free: 12.83 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.5513, allocations: 8.031 kB / 0.618 GB, free: 12.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.553, allocations: 131.3 kB / 0.6182 GB, free: 12.69 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.5536, allocations: 334.2 kB / 0.6185 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.5537, allocations: 54.69 kB / 0.6185 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.936e-05/0.5538, allocations: 39.98 kB / 0.6186 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000911/0.5547, allocations: 0.5788 MB / 0.6191 GB, free: 11.58 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.5548, allocations: 4 kB / 0.6191 GB, free: 11.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.5548, allocations: 19.98 kB / 0.6192 GB, free: 11.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.974e-05/0.5549, allocations: 40.62 kB / 0.6192 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/0.5556, allocations: 382.1 kB / 0.6196 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.5584, allocations: 2.607 MB / 0.6221 GB, free: 8.406 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.559, allocations: 434.9 kB / 0.6225 GB, free: 7.953 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.5591, allocations: 4.062 kB / 0.6225 GB, free: 7.949 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.5591, allocations: 38.5 kB / 0.6226 GB, free: 7.902 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.5591, allocations: 0 / 0.6226 GB, free: 7.902 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.001765/0.5609, allocations: 0.7616 MB / 0.6233 GB, free: 7.113 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.561, allocations: 106.8 kB / 0.6234 GB, free: 6.984 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.5613, allocations: 287.7 kB / 0.6237 GB, free: 6.699 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.5613, allocations: 29.86 kB / 0.6237 GB, free: 6.664 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.5615, allocations: 247.8 kB / 0.624 GB, free: 6.418 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.5616, allocations: 118.4 kB / 0.6241 GB, free: 6.301 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.5616, allocations: 12 kB / 0.6241 GB, free: 6.289 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5617, allocations: 346.8 kB / 0.6244 GB, free: 5.941 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.5619, allocations: 128.8 kB / 0.6245 GB, free: 5.812 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.5622, allocations: 276 kB / 0.6248 GB, free: 5.473 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.5624, allocations: 185.2 kB / 0.625 GB, free: 5.293 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5624, allocations: 0 / 0.625 GB, free: 5.293 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008079/0.5633, allocations: 0.5465 MB / 0.6255 GB, free: 4.738 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.5633, allocations: 8 kB / 0.6255 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.5633, allocations: 4.594 kB / 0.6255 GB, free: 4.727 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.5637, allocations: 120.8 kB / 0.6256 GB, free: 4.605 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.5639, allocations: 79.86 kB / 0.6257 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.5663, allocations: 2.384 MB / 0.628 GB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.5665, allocations: 51.5 kB / 0.6281 GB, free: 1.941 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.5666, allocations: 20 kB / 0.6281 GB, free: 1.922 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.000229/0.5668, allocations: 213.5 kB / 0.6283 GB, free: 1.703 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.5669, allocations: 31.62 kB / 0.6283 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.653e-05/0.567, allocations: 47.95 kB / 0.6284 GB, free: 1.625 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.567, allocations: 4 kB / 0.6284 GB, free: 1.621 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.567, allocations: 4 kB / 0.6284 GB, free: 1.617 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.567, allocations: 4 kB / 0.6284 GB, free: 1.613 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.5682, allocations: 0.9343 MB / 0.6293 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5682, allocations: 0 / 0.6293 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.5684, allocations: 39.92 kB / 0.6293 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/0.5686, allocations: 112.7 kB / 0.6295 GB, free: 476 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.5687, allocations: 8 kB / 0.6295 GB, free: 468 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.571, allocations: 2.376 MB / 0.6318 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.571, allocations: 0 / 0.6318 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.5717, allocations: 0.6721 MB / 0.6324 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.5719, allocations: 116.6 kB / 0.6325 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.5719, allocations: 8 kB / 0.6326 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.5721, allocations: 8 kB / 0.6326 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.5721, allocations: 23.97 kB / 0.6326 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.5722, allocations: 12 kB / 0.6326 GB, free: 13.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002129/0.5724, allocations: 219 kB / 0.6328 GB, free: 12.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5724, allocations: 0 / 0.6328 GB, free: 12.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006429/0.573, allocations: 155.8 kB / 0.633 GB, free: 12.66 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.0001376/0.5732, allocations: 107.2 kB / 0.6331 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007932/0.574, allocations: 0.5117 MB / 0.6336 GB, free: 12.02 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.574, allocations: 0.75 kB / 0.6336 GB, free: 12.02 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.5744, allocations: 350.9 kB / 0.6339 GB, free: 11.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.5748, allocations: 61.75 kB / 0.634 GB, free: 11.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.5761, allocations: 0.9511 MB / 0.6349 GB, free: 10.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.5766, allocations: 0.8902 MB / 0.6357 GB, free: 9.691 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.5768, allocations: 66.91 kB / 0.6358 GB, free: 9.625 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.5768, allocations: 23.44 kB / 0.6358 GB, free: 9.602 MB / 474.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5769, allocations: 11.88 kB / 0.6358 GB, free: 9.59 MB / 474.7 MB Notification: Performance of Templates: time 0.007785/0.5846, allocations: 3.382 MB / 0.6391 GB, free: 6.207 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/jenkins/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