Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [: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.001197/0.001197, allocations: 174.9 kB / 8.129 MB, free: 0.8828 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.2 MB / 213.7 MB, free: 8.52 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009008/0.0009008, allocations: 91.88 kB / 261.7 MB, free: 5.125 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1685/0.1685, allocations: 37.97 MB / 347.7 MB, free: 0.8828 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.736e-06, allocations: 0 / 410 MB, free: 74.45 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 56.33 MB / 466.3 MB, free: 18.11 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/0.4512, allocations: 98.69 MB / 0.5518 GB, free: 13.88 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4515, allocations: 86.12 kB / 0.5519 GB, free: 13.83 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.1417/0.5932, allocations: 58.46 MB / 0.6089 GB, free: 10.29 MB / 418.8 MB Notification: Performance of Transformations before backend: time 3.704e-05/0.5933, allocations: 20 kB / 0.609 GB, free: 10.27 MB / 418.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00236/0.5957, allocations: 1.132 MB / 0.6101 GB, free: 9.086 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5957, allocations: 12.03 kB / 0.6101 GB, free: 9.074 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004118/0.5998, allocations: 0.5096 MB / 0.6106 GB, free: 8.562 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009814/0.6008, allocations: 0.5592 MB / 0.6111 GB, free: 7.969 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.6009, allocations: 28 kB / 0.6112 GB, free: 7.941 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.601, allocations: 55.91 kB / 0.6112 GB, free: 7.887 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00184/0.6029, allocations: 1.214 MB / 0.6124 GB, free: 6.668 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.605, allocations: 1.364 MB / 0.6137 GB, free: 5.266 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.605, allocations: 0 / 0.6137 GB, free: 5.266 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-05/0.6051, allocations: 0 / 0.6137 GB, free: 5.266 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002993/0.6054, allocations: 130 kB / 0.6138 GB, free: 5.137 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007479/0.6129, allocations: 4.815 MB / 0.6185 GB, free: 144 kB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.6145, allocations: 1.075 MB / 0.6196 GB, free: 15.05 MB / 434.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009707/0.6155, allocations: 0.7342 MB / 0.6203 GB, free: 14.31 MB / 434.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.417e-05/0.6155, allocations: 20.98 kB / 0.6203 GB, free: 14.29 MB / 434.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.6156, allocations: 47.88 kB / 0.6204 GB, free: 14.23 MB / 434.8 MB Notification: Performance of pre-optimization done (n=107): time 3.196e-06/0.6156, allocations: 0 / 0.6204 GB, free: 14.23 MB / 434.8 MB Notification: Performance of matching and sorting (n=108): time 0.003995/0.6196, allocations: 2.307 MB / 0.6226 GB, free: 11.91 MB / 434.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.6197, allocations: 86.11 kB / 0.6227 GB, free: 11.8 MB / 434.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/0.6201, allocations: 400.9 kB / 0.6231 GB, free: 11.41 MB / 434.8 MB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/0.6202, allocations: 25.7 kB / 0.6231 GB, free: 11.38 MB / 434.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.6204, allocations: 371.4 kB / 0.6235 GB, free: 11 MB / 434.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.6207, allocations: 358.7 kB / 0.6238 GB, free: 10.65 MB / 434.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.6208, allocations: 0 / 0.6238 GB, free: 10.65 MB / 434.8 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6209, allocations: 382.8 kB / 0.6242 GB, free: 10.27 MB / 434.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/0.6216, allocations: 0.5102 MB / 0.6247 GB, free: 9.758 MB / 434.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000844/0.6225, allocations: 0.7164 MB / 0.6254 GB, free: 8.957 MB / 434.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000917/0.6234, allocations: 0.643 MB / 0.626 GB, free: 8.32 MB / 434.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6234, allocations: 0 / 0.626 GB, free: 8.32 MB / 434.8 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002848/0.6263, allocations: 1.688 MB / 0.6277 GB, free: 6.617 MB / 434.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.6263, allocations: 8.094 kB / 0.6277 GB, free: 6.609 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.6263, allocations: 8 kB / 0.6277 GB, free: 6.602 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.6275, allocations: 383.3 kB / 0.628 GB, free: 6.223 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009623/0.6285, allocations: 223.7 kB / 0.6283 GB, free: 6.004 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006325/0.6348, allocations: 5.082 MB / 0.6332 GB, free: 0.6836 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008989/0.6357, allocations: 39.83 kB / 0.6333 GB, free: 0.6445 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.6359, allocations: 44 kB / 0.6333 GB, free: 0.6016 MB / 434.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000275/0.6362, allocations: 124.9 kB / 0.6334 GB, free: 484 kB / 434.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.6364, allocations: 71.16 kB / 0.6335 GB, free: 412 kB / 434.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/0.6396, allocations: 1.715 MB / 0.6352 GB, free: 14.68 MB / 450.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.6396, allocations: 12 kB / 0.6352 GB, free: 14.66 MB / 450.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.6397, allocations: 12 kB / 0.6352 GB, free: 14.65 MB / 450.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.6397, allocations: 11.91 kB / 0.6352 GB, free: 14.64 MB / 450.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006363/0.6461, allocations: 3.292 MB / 0.6384 GB, free: 11.23 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.6461, allocations: 7.906 kB / 0.6384 GB, free: 11.22 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007951/0.6469, allocations: 179.7 kB / 0.6386 GB, free: 11.05 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.648, allocations: 341.4 kB / 0.6389 GB, free: 10.71 MB / 450.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.373e-05/0.6481, allocations: 11.98 kB / 0.6389 GB, free: 10.7 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006036/0.6541, allocations: 4.879 MB / 0.6437 GB, free: 5.578 MB / 450.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.6542, allocations: 4 kB / 0.6437 GB, free: 5.574 MB / 450.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003045/0.6572, allocations: 1.913 MB / 0.6456 GB, free: 3.5 MB / 450.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.6575, allocations: 156.1 kB / 0.6457 GB, free: 3.328 MB / 450.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.6577, allocations: 4 kB / 0.6457 GB, free: 3.324 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/0.6582, allocations: 27.97 kB / 0.6457 GB, free: 3.297 MB / 450.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.6584, allocations: 64.91 kB / 0.6458 GB, free: 3.234 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-05/0.6585, allocations: 35.91 kB / 0.6458 GB, free: 3.199 MB / 450.8 MB Notification: Performance of sort global known variables: time 0.0003734/0.6588, allocations: 295.2 kB / 0.6461 GB, free: 2.91 MB / 450.8 MB Notification: Performance of remove unused functions: time 0.001319/0.6602, allocations: 344 kB / 0.6464 GB, free: 2.57 MB / 450.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002325/0.6604, allocations: 119 kB / 0.6466 GB, free: 2.445 MB / 450.8 MB Notification: Performance of simCode: created initialization part: time 0.002432/0.6629, allocations: 1.593 MB / 0.6481 GB, free: 0.8359 MB / 450.8 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6629, allocations: 0.625 kB / 0.6481 GB, free: 0.8359 MB / 450.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.6643, allocations: 0.9753 MB / 0.6491 GB, free: 15.84 MB / 466.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.6649, allocations: 90.88 kB / 0.6492 GB, free: 15.75 MB / 466.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/0.6685, allocations: 1.797 MB / 0.6509 GB, free: 13.88 MB / 466.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/0.6698, allocations: 1.246 MB / 0.6521 GB, free: 12.6 MB / 466.8 MB Notification: Performance of SimCode: time 5.61e-07/0.6698, allocations: 0 / 0.6521 GB, free: 12.6 MB / 466.8 MB Notification: Performance of Templates: time 0.02121/0.691, allocations: 12.4 MB / 0.6642 GB, free: 216 kB / 466.8 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches