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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 184.5 kB / 8.138 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.2 MB / 213.7 MB, free: 13.92 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.000975/0.0009752, allocations: 86.56 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2251/0.2251, allocations: 37.98 MB / 347.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.942e-06/5.942e-06, allocations: 0 / 410 MB, free: 46.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 56.32 MB / 466.3 MB, free: 6.465 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3377/0.4496, allocations: 98.81 MB / 0.5519 GB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.4498, allocations: 83.95 kB / 0.552 GB, free: 11.7 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: time 0.1093/0.5591, allocations: 51.28 MB / 0.602 GB, free: 7.457 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.613e-05/0.5592, allocations: 8 kB / 0.6021 GB, free: 7.449 MB / 442.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.001235/0.5604, allocations: 0.6902 MB / 0.6027 GB, free: 6.711 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.5605, allocations: 8.031 kB / 0.6027 GB, free: 6.703 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.5622, allocations: 135.2 kB / 0.6029 GB, free: 6.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.5627, allocations: 338.2 kB / 0.6032 GB, free: 6.199 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/0.5628, allocations: 42.7 kB / 0.6032 GB, free: 6.152 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.5628, allocations: 24 kB / 0.6033 GB, free: 6.129 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005215/0.5634, allocations: 309.9 kB / 0.6035 GB, free: 5.828 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.5641, allocations: 0.5223 MB / 0.6041 GB, free: 5.238 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.5641, allocations: 7.938 kB / 0.6041 GB, free: 5.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.5642, allocations: 0 / 0.6041 GB, free: 5.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-05/0.5642, allocations: 48.61 kB / 0.6041 GB, free: 5.184 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.5669, allocations: 2.544 MB / 0.6066 GB, free: 2.523 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.5675, allocations: 395.1 kB / 0.607 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.5678, allocations: 202.5 kB / 0.6072 GB, free: 1.902 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.5678, allocations: 15.88 kB / 0.6072 GB, free: 1.887 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.5678, allocations: 38.56 kB / 0.6072 GB, free: 1.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 1.784e-06/0.5678, allocations: 0 / 0.6072 GB, free: 1.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007832/0.5686, allocations: 414.3 kB / 0.6076 GB, free: 1.426 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.5687, allocations: 106.8 kB / 0.6077 GB, free: 1.297 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.5689, allocations: 243.6 kB / 0.6079 GB, free: 1.059 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.569, allocations: 25.7 kB / 0.608 GB, free: 1.027 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.5692, allocations: 227.6 kB / 0.6082 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.703e-05/0.5693, allocations: 118.3 kB / 0.6083 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.5693, allocations: 0 / 0.6083 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5694, allocations: 338.8 kB / 0.6086 GB, free: 348 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.5696, allocations: 124.9 kB / 0.6087 GB, free: 220 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.5699, allocations: 271.1 kB / 0.609 GB, free: 15.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.5701, allocations: 165.2 kB / 0.6092 GB, free: 15.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5701, allocations: 7.938 kB / 0.6092 GB, free: 15.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007772/0.5709, allocations: 0.5077 MB / 0.6097 GB, free: 15.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.571, allocations: 4 kB / 0.6097 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.571, allocations: 8 kB / 0.6097 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003263/0.5713, allocations: 113.8 kB / 0.6098 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.5716, allocations: 75.91 kB / 0.6099 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.5739, allocations: 2.12 MB / 0.6119 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.5741, allocations: 35.53 kB / 0.612 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.5741, allocations: 24.06 kB / 0.612 GB, free: 12.7 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 () * 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.0001256/0.5743, allocations: 120.8 kB / 0.6121 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.5744, allocations: 31.62 kB / 0.6121 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.5744, allocations: 39.14 kB / 0.6122 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5745, allocations: 4 kB / 0.6122 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.5745, allocations: 7.984 kB / 0.6122 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.5745, allocations: 7.891 kB / 0.6122 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.5757, allocations: 0.8651 MB / 0.613 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.5757, allocations: 0 / 0.613 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.5759, allocations: 35.98 kB / 0.6131 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/0.5761, allocations: 112.8 kB / 0.6132 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.5761, allocations: 4 kB / 0.6132 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.5783, allocations: 2.129 MB / 0.6153 GB, free: 9.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5783, allocations: 4 kB / 0.6153 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007289/0.579, allocations: 0.6448 MB / 0.6159 GB, free: 8.477 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-05/0.5791, allocations: 112.6 kB / 0.616 GB, free: 8.348 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.5792, allocations: 4 kB / 0.616 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.5794, allocations: 4 kB / 0.616 GB, free: 8.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.5794, allocations: 19.97 kB / 0.616 GB, free: 8.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.5794, allocations: 8 kB / 0.616 GB, free: 8.312 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0001764/0.5796, allocations: 187.1 kB / 0.6162 GB, free: 8.129 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006551/0.5803, allocations: 135.7 kB / 0.6163 GB, free: 7.996 MB / 458.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.0001322/0.5804, allocations: 103.2 kB / 0.6164 GB, free: 7.883 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007312/0.5812, allocations: 465.3 kB / 0.6169 GB, free: 7.418 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5812, allocations: 1.312 kB / 0.6169 GB, free: 7.418 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.5816, allocations: 305.4 kB / 0.6172 GB, free: 7.109 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.582, allocations: 49 kB / 0.6172 GB, free: 7.062 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.5832, allocations: 0.5997 MB / 0.6178 GB, free: 6.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/0.5837, allocations: 0.9005 MB / 0.6187 GB, free: 5.5 MB / 458.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5837, allocations: 0 / 0.6187 GB, free: 5.5 MB / 458.7 MB Notification: Performance of Templates: time 0.008497/0.5922, allocations: 3.64 MB / 0.6222 GB, free: 1.855 MB / 458.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