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.001657/0.001657, 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.834/1.834, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008932/0.0008933, allocations: 78.78 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2323/0.2323, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.12e-05, allocations: 4 kB / 417.7 MB, free: 29.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 56.32 MB / 474.1 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4505/0.5642, allocations: 99.5 MB / 0.5601 GB, free: 4.094 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.5646, allocations: 82.08 kB / 0.5602 GB, free: 4.051 MB / 362.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.1134/0.678, allocations: 51.83 MB / 0.6108 GB, free: 6.715 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6781, allocations: 0 / 0.6108 GB, free: 6.715 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.6781, allocations: 8 kB / 0.6108 GB, free: 6.707 MB / 410.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.001241/0.6793, allocations: 0.6783 MB / 0.6115 GB, free: 5.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.6794, allocations: 12.03 kB / 0.6115 GB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.681, allocations: 131.3 kB / 0.6116 GB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.6816, allocations: 326.2 kB / 0.6119 GB, free: 5.484 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.6816, allocations: 54.69 kB / 0.612 GB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.6817, allocations: 40 kB / 0.612 GB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008816/0.6826, allocations: 0.5829 MB / 0.6126 GB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.6826, allocations: 0 / 0.6126 GB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.6827, allocations: 19.98 kB / 0.6126 GB, free: 4.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.333e-05/0.6828, allocations: 36.75 kB / 0.6126 GB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005727/0.6833, allocations: 370.7 kB / 0.613 GB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.6863, allocations: 2.619 MB / 0.6155 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/0.687, allocations: 416 kB / 0.6159 GB, free: 1.133 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.6873, allocations: 206.6 kB / 0.6161 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.6873, allocations: 4 kB / 0.6161 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.6874, allocations: 42.5 kB / 0.6162 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.537e-06/0.6874, allocations: 0 / 0.6162 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008749/0.6883, allocations: 426.3 kB / 0.6166 GB, free: 452 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.844e-05/0.6884, allocations: 114.8 kB / 0.6167 GB, free: 312 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.6887, allocations: 286.6 kB / 0.617 GB, free: 20 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.6888, allocations: 33.64 kB / 0.617 GB, free: 15.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.689, allocations: 243.9 kB / 0.6172 GB, free: 15.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.6891, allocations: 122.2 kB / 0.6174 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.6891, allocations: 8 kB / 0.6174 GB, free: 15.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.6893, allocations: 354.8 kB / 0.6177 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.6895, allocations: 120.8 kB / 0.6178 GB, free: 15.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.6898, allocations: 276 kB / 0.6181 GB, free: 14.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.69, allocations: 173.2 kB / 0.6182 GB, free: 14.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.69, allocations: 0 / 0.6182 GB, free: 14.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008011/0.6909, allocations: 0.5465 MB / 0.6188 GB, free: 14.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6909, allocations: 8 kB / 0.6188 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.6909, allocations: 7.953 kB / 0.6188 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/0.6912, allocations: 125.4 kB / 0.6189 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.6915, allocations: 71.84 kB / 0.619 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/0.6944, allocations: 2.338 MB / 0.6213 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.6946, allocations: 43.59 kB / 0.6213 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.6947, allocations: 20 kB / 0.6213 GB, free: 11.31 MB / 426.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 () * 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.0001271/0.6948, allocations: 129.3 kB / 0.6215 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.882e-05/0.6949, allocations: 47.52 kB / 0.6215 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.695, allocations: 44.08 kB / 0.6215 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.695, allocations: 4 kB / 0.6215 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.6951, allocations: 4 kB / 0.6215 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6951, allocations: 3.984 kB / 0.6216 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.6964, allocations: 0.9382 MB / 0.6225 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6964, allocations: 0 / 0.6225 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.6966, allocations: 35.97 kB / 0.6225 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.6968, allocations: 116.1 kB / 0.6226 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.6969, allocations: 7.953 kB / 0.6226 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/0.6993, allocations: 2.318 MB / 0.6249 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6993, allocations: 8.062 kB / 0.6249 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008376/0.7002, allocations: 0.6683 MB / 0.6255 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.7003, allocations: 120.7 kB / 0.6257 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.7003, allocations: 4 kB / 0.6257 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.7005, allocations: 8 kB / 0.6257 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.7006, allocations: 27.97 kB / 0.6257 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.7006, allocations: 4 kB / 0.6257 GB, free: 6.539 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002928/0.7009, allocations: 226.1 kB / 0.6259 GB, free: 6.316 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7009, allocations: 0 / 0.6259 GB, free: 6.316 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007349/0.7016, allocations: 159.7 kB / 0.6261 GB, free: 6.16 MB / 426.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 () * 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.0001689/0.7018, allocations: 103.2 kB / 0.6262 GB, free: 6.051 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008623/0.7027, allocations: 0.5104 MB / 0.6267 GB, free: 5.527 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.7027, allocations: 1.312 kB / 0.6267 GB, free: 5.527 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.7031, allocations: 334.6 kB / 0.627 GB, free: 5.188 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.7035, allocations: 56.08 kB / 0.627 GB, free: 5.133 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.7045, allocations: 0.6026 MB / 0.6276 GB, free: 4.492 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.705, allocations: 0.8903 MB / 0.6285 GB, free: 3.574 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.7052, allocations: 78.89 kB / 0.6286 GB, free: 3.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.7053, allocations: 23.44 kB / 0.6286 GB, free: 3.477 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7053, allocations: 0 / 0.6286 GB, free: 3.477 MB / 426.7 MB Notification: Performance of Templates: time 0.007669/0.713, allocations: 3.384 MB / 0.6319 GB, free: 96 kB / 426.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