Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") [: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.001011/0.001011, allocations: 185.9 kB / 8.137 MB, free: 2.188 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.442/1.442, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.0008465/0.0008465, allocations: 92.58 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.1687/0.1687, allocations: 37.97 MB / 347.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.757e-06/3.798e-06, allocations: 0 / 410 MB, free: 46.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 56.32 MB / 466.3 MB, free: 6.477 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3316/0.4431, allocations: 95.15 MB / 0.5483 GB, free: 15.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4434, allocations: 83.94 kB / 0.5484 GB, free: 15.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1242/0.5676, allocations: 53.41 MB / 0.6006 GB, free: 9.246 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.675e-05/0.5677, allocations: 12 kB / 0.6006 GB, free: 9.234 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001798/0.5695, allocations: 0.9721 MB / 0.6015 GB, free: 8.215 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.5695, allocations: 8.031 kB / 0.6015 GB, free: 8.207 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/0.573, allocations: 402.4 kB / 0.6019 GB, free: 7.812 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/0.5738, allocations: 488.2 kB / 0.6024 GB, free: 7.297 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.5738, allocations: 20 kB / 0.6024 GB, free: 7.277 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.5739, allocations: 44 kB / 0.6024 GB, free: 7.234 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001466/0.5754, allocations: 0.9332 MB / 0.6033 GB, free: 6.301 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.5769, allocations: 1.063 MB / 0.6044 GB, free: 5.211 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.577, allocations: 7.906 kB / 0.6044 GB, free: 5.203 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/0.5771, allocations: 4 kB / 0.6044 GB, free: 5.199 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000251/0.5773, allocations: 101.9 kB / 0.6045 GB, free: 5.098 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005142/0.5825, allocations: 3.437 MB / 0.6078 GB, free: 1.578 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.584, allocations: 0.9657 MB / 0.6088 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/0.5848, allocations: 0.6288 MB / 0.6094 GB, free: 15.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.637e-05/0.5849, allocations: 8.781 kB / 0.6094 GB, free: 15.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.5849, allocations: 47.34 kB / 0.6095 GB, free: 15.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 2.485e-06/0.5849, allocations: 3.938 kB / 0.6095 GB, free: 15.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.003573/0.5885, allocations: 1.944 MB / 0.6114 GB, free: 13.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.5886, allocations: 85.89 kB / 0.6114 GB, free: 13.83 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.589, allocations: 297.9 kB / 0.6117 GB, free: 13.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.5891, allocations: 25.7 kB / 0.6117 GB, free: 13.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.5893, allocations: 272.2 kB / 0.612 GB, free: 13.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.5896, allocations: 303.5 kB / 0.6123 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.5896, allocations: 0 / 0.6123 GB, free: 12.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.5898, allocations: 374.7 kB / 0.6127 GB, free: 12.56 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006577/0.5904, allocations: 429.8 kB / 0.6131 GB, free: 12.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007279/0.5912, allocations: 0.5285 MB / 0.6136 GB, free: 11.58 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/0.5919, allocations: 0.508 MB / 0.6141 GB, free: 11.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.592, allocations: 0 / 0.6141 GB, free: 11.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002475/0.5944, allocations: 1.362 MB / 0.6154 GB, free: 9.699 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5945, allocations: 4.625 kB / 0.6154 GB, free: 9.695 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5945, allocations: 12.17 kB / 0.6154 GB, free: 9.684 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009399/0.5954, allocations: 312.4 kB / 0.6157 GB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008161/0.5963, allocations: 175.8 kB / 0.6159 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004788/0.6011, allocations: 3.463 MB / 0.6193 GB, free: 5.625 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/0.6018, allocations: 27.91 kB / 0.6193 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-05/0.6019, allocations: 31.98 kB / 0.6193 GB, free: 5.566 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002048/0.6021, allocations: 116.8 kB / 0.6194 GB, free: 5.445 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.6022, allocations: 63.23 kB / 0.6195 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.6048, allocations: 1.475 MB / 0.6209 GB, free: 3.895 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.6048, allocations: 8 kB / 0.6209 GB, free: 3.887 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.6048, allocations: 8 kB / 0.621 GB, free: 3.879 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.6049, allocations: 7.969 kB / 0.621 GB, free: 3.871 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004852/0.6097, allocations: 2.878 MB / 0.6238 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.6098, allocations: 4 kB / 0.6238 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007605/0.6105, allocations: 163.7 kB / 0.6239 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009624/0.6115, allocations: 277 kB / 0.6242 GB, free: 456 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.81e-05/0.6116, allocations: 11.98 kB / 0.6242 GB, free: 444 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004639/0.6162, allocations: 3.266 MB / 0.6274 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/0.6163, allocations: 7.938 kB / 0.6274 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002715/0.619, allocations: 1.676 MB / 0.629 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.6193, allocations: 148.3 kB / 0.6292 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.6194, allocations: 4 kB / 0.6292 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.6199, allocations: 23.95 kB / 0.6292 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.62, allocations: 64.61 kB / 0.6293 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.151e-05/0.6201, allocations: 35.98 kB / 0.6293 GB, free: 10.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003/0.6204, allocations: 228.6 kB / 0.6295 GB, free: 10.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001198/0.6216, allocations: 268 kB / 0.6298 GB, free: 10.43 MB / 474.7 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 (82): * Single equations (assignments): 80 * 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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002489/0.6219, allocations: 119 kB / 0.6299 GB, free: 10.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002116/0.624, allocations: 1.257 MB / 0.6311 GB, free: 9.039 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.624, allocations: 0.5625 kB / 0.6311 GB, free: 9.039 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.6252, allocations: 0.7542 MB / 0.6319 GB, free: 8.277 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.6258, allocations: 70.02 kB / 0.6319 GB, free: 8.207 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.6288, allocations: 1.492 MB / 0.6334 GB, free: 6.641 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/0.6299, allocations: 1.128 MB / 0.6345 GB, free: 5.48 MB / 474.7 MB Notification: Performance of SimCode: time 2.855e-06/0.6299, allocations: 4 kB / 0.6345 GB, free: 5.477 MB / 474.7 MB Notification: Performance of Templates: time 0.1923/0.8223, allocations: 10 MB / 0.6443 GB, free: 180.7 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches