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_L.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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [: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.328/1.328, allocations: 249.4 MB / 256.7 MB, free: 6.969 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.001084/0.001084, allocations: 188.5 kB / 316 MB, free: 3.527 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.314/1.314, allocations: 205.2 MB / 0.5667 GB, free: 15.58 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.0009858/0.0009858, allocations: 90.86 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.994e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1821, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5298/0.7119, allocations: 164.8 MB / 1.046 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.7122, allocations: 90.94 kB / 1.046 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.405/1.117, allocations: 178.4 MB / 1.22 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003037/1.118, allocations: 127.9 kB / 1.22 GB, free: 13.75 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01097/1.128, allocations: 3.896 MB / 1.224 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.129, allocations: 8.25 kB / 1.224 GB, free: 9.777 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006153/1.135, allocations: 0.9269 MB / 1.225 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006342/1.141, allocations: 3.003 MB / 1.228 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/1.141, allocations: 152 kB / 1.228 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000809/1.142, allocations: 279.8 kB / 1.228 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008998/1.151, allocations: 4.689 MB / 1.233 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/1.162, allocations: 6.707 MB / 1.239 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/1.162, allocations: 23.78 kB / 1.239 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004228/1.163, allocations: 15.91 kB / 1.239 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002568/1.163, allocations: 289 kB / 1.24 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.272/1.435, allocations: 34.2 MB / 1.273 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/1.437, allocations: 1.491 MB / 1.274 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/1.438, allocations: 1.31 MB / 1.276 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.403e-05/1.438, allocations: 18.11 kB / 1.276 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.438, allocations: 46.44 kB / 1.276 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=133): time 4.068e-06/1.438, allocations: 0 / 1.276 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136): time 0.007217/1.445, allocations: 4.58 MB / 1.28 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/1.445, allocations: 70.56 kB / 1.28 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/1.447, allocations: 1.06 MB / 1.281 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.5e-05/1.447, allocations: 25.7 kB / 1.281 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006661/1.447, allocations: 1.754 MB / 1.283 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/1.448, allocations: 467.3 kB / 1.283 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/1.448, allocations: 3.344 kB / 1.283 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/1.448, allocations: 380.1 kB / 1.284 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009947/1.449, allocations: 0.9018 MB / 1.285 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/1.45, allocations: 1.544 MB / 1.286 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/1.451, allocations: 1.174 MB / 1.287 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.451, allocations: 6.469 kB / 1.287 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005064/1.456, allocations: 3.36 MB / 1.291 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.456, allocations: 3.812 kB / 1.291 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.456, allocations: 25.88 kB / 1.291 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/1.459, allocations: 0.96 MB / 1.292 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/1.46, allocations: 336.8 kB / 1.292 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/1.474, allocations: 19.74 MB / 1.311 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/1.476, allocations: 46.47 kB / 1.311 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/1.476, allocations: 87.12 kB / 1.311 GB, free: 265.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,68.8%) 4,(4,68.8%) 4,(4,68.8%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003037/1.476, allocations: 164.4 kB / 1.311 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/1.477, allocations: 191 kB / 1.312 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004579/1.481, allocations: 2.988 MB / 1.315 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.481, allocations: 10.44 kB / 1.315 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/1.481, allocations: 11.91 kB / 1.315 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.481, allocations: 7.688 kB / 1.315 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009427/1.491, allocations: 6.211 MB / 1.321 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/1.491, allocations: 3.594 kB / 1.321 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/1.491, allocations: 157.9 kB / 1.321 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002577/1.494, allocations: 0.9271 MB / 1.322 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/1.494, allocations: 3.906 kB / 1.322 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01392/1.508, allocations: 19.77 MB / 1.341 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.508, allocations: 3.5 kB / 1.341 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0048/1.513, allocations: 3.39 MB / 1.344 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008142/1.514, allocations: 454 kB / 1.345 GB, free: 248.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/1.514, allocations: 6.75 kB / 1.345 GB, free: 248.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007666/1.515, allocations: 32.22 kB / 1.345 GB, free: 248.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/1.515, allocations: 79.91 kB / 1.345 GB, free: 248.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/1.515, allocations: 36.47 kB / 1.345 GB, free: 248.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008894/1.516, allocations: 0.7839 MB / 1.346 GB, free: 248.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00237/1.518, allocations: 0.7346 MB / 1.346 GB, free: 248.6 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 (85): * Single equations (assignments): 73 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002158/1.518, allocations: 126.9 kB / 1.347 GB, free: 248.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00443/1.523, allocations: 3.791 MB / 1.35 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.523, allocations: 0 / 1.35 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003038/1.526, allocations: 2.604 MB / 1.353 GB, free: 246 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/1.529, allocations: 0.5818 MB / 1.353 GB, free: 246 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009865/1.538, allocations: 5.651 MB / 1.359 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003132/1.542, allocations: 3.252 MB / 1.362 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.303e-06/1.542, allocations: 0 / 1.362 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.05032/1.592, allocations: 33.39 MB / 1.395 GB, free: 242.3 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches