Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [: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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 249.4 MB / 256.7 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 181.2 kB / 316 MB, free: 3.516 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.1 MB / 0.5667 GB, free: 15.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009307/0.0009308, allocations: 90.31 kB / 0.671 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.436e-06/8.707e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1624, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4985/0.661, allocations: 165.5 MB / 1.046 GB, free: 6.832 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.6613, allocations: 87 kB / 1.046 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.4631/1.124, allocations: 200.1 MB / 1.242 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003682/1.125, allocations: 144 kB / 1.242 GB, free: 6.863 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01522/1.14, allocations: 4.953 MB / 1.247 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.14, allocations: 12.03 kB / 1.247 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008611/1.149, allocations: 1.129 MB / 1.248 GB, free: 0.6953 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3451/1.494, allocations: 3.721 MB / 1.251 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/1.494, allocations: 184.9 kB / 1.252 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002105/1.496, allocations: 326.9 kB / 1.252 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01213/1.508, allocations: 5.889 MB / 1.258 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01915/1.528, allocations: 8.045 MB / 1.265 GB, free: 292.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001624/1.528, allocations: 20.28 kB / 1.265 GB, free: 292.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006411/1.528, allocations: 14.25 kB / 1.266 GB, free: 292.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002577/1.529, allocations: 307.7 kB / 1.266 GB, free: 292.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03746/1.566, allocations: 40.41 MB / 1.305 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/1.57, allocations: 2.865 MB / 1.308 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002424/1.572, allocations: 2.114 MB / 1.31 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/1.573, allocations: 30.94 kB / 1.31 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/1.573, allocations: 58.56 kB / 1.31 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 3.687e-06/1.573, allocations: 0 / 1.31 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.01069/1.583, allocations: 6.452 MB / 1.317 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/1.583, allocations: 75.59 kB / 1.317 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/1.585, allocations: 1.332 MB / 1.318 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002772/1.586, allocations: 25.7 kB / 1.318 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009436/1.587, allocations: 2.052 MB / 1.32 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005998/1.587, allocations: 0.7037 MB / 1.321 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/1.587, allocations: 3.094 kB / 1.321 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.588, allocations: 412.3 kB / 1.321 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/1.589, allocations: 1.3 MB / 1.322 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/1.591, allocations: 2.07 MB / 1.324 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/1.593, allocations: 1.672 MB / 1.326 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/1.593, allocations: 7.5 kB / 1.326 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.007008/1.6, allocations: 4.72 MB / 1.331 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.6, allocations: 3.625 kB / 1.331 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.473e-05/1.6, allocations: 27.88 kB / 1.331 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0031/1.603, allocations: 1.434 MB / 1.332 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/1.605, allocations: 425.8 kB / 1.332 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/1.622, allocations: 15.51 MB / 1.348 GB, free: 254.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/1.625, allocations: 65.67 kB / 1.348 GB, free: 254.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005952/1.626, allocations: 106.1 kB / 1.348 GB, free: 254.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008922/1.627, allocations: 177 kB / 1.348 GB, free: 254.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008892/1.627, allocations: 271 kB / 1.348 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007457/1.635, allocations: 4.306 MB / 1.352 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/1.635, allocations: 26.59 kB / 1.352 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.451e-05/1.635, allocations: 20.31 kB / 1.352 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/1.635, allocations: 13.17 kB / 1.352 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/1.652, allocations: 8.723 MB / 1.361 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.653, allocations: 3.469 kB / 1.361 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.654, allocations: 212.2 kB / 1.361 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003191/1.657, allocations: 1.401 MB / 1.362 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/1.657, allocations: 11.09 kB / 1.362 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01832/1.675, allocations: 15.49 MB / 1.378 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/1.675, allocations: 15.58 kB / 1.378 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007619/1.683, allocations: 4.75 MB / 1.382 GB, free: 237.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/1.685, allocations: 0.6083 MB / 1.383 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007008/1.685, allocations: 3.812 kB / 1.383 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/1.687, allocations: 54.66 kB / 1.383 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/1.687, allocations: 103.5 kB / 1.383 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.687, allocations: 62.53 kB / 1.383 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001531/1.689, allocations: 0.9749 MB / 1.384 GB, free: 237 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004044/1.693, allocations: 1.008 MB / 1.385 GB, free: 237 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003087/1.693, allocations: 127.5 kB / 1.385 GB, free: 236.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007009/1.7, allocations: 4.206 MB / 1.389 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.7, allocations: 5.641 kB / 1.389 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004323/1.705, allocations: 2.555 MB / 1.392 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/1.709, allocations: 0.6653 MB / 1.392 GB, free: 234 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/1.729, allocations: 7.554 MB / 1.4 GB, free: 229.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006049/1.735, allocations: 3.844 MB / 1.404 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of SimCode: time 3.397e-06/1.735, allocations: 0 / 1.404 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.07189/1.807, allocations: 46.5 MB / 1.449 GB, free: 200.8 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches