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_RLC.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_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") [: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.418/1.418, allocations: 249.4 MB / 256.7 MB, free: 6.949 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.001041/0.001041, allocations: 189.1 kB / 316 MB, free: 3.523 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.245/1.245, allocations: 205.2 MB / 0.5667 GB, free: 15.6 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.0008968/0.0008967, allocations: 87.31 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.414e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1985, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6044/0.8029, allocations: 178.9 MB / 1.059 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.8033, allocations: 93.91 kB / 1.059 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.024/1.827, allocations: 265.7 MB / 1.319 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004286/1.828, allocations: 148.5 kB / 1.319 GB, free: 197.5 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01757/1.845, allocations: 4.715 MB / 1.324 GB, free: 195.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.846, allocations: 10.69 kB / 1.324 GB, free: 195.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/1.858, allocations: 1.41 MB / 1.325 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/1.869, allocations: 4.2 MB / 1.329 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/1.869, allocations: 161.3 kB / 1.329 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/1.871, allocations: 299.6 kB / 1.329 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01289/1.884, allocations: 5.767 MB / 1.335 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/1.898, allocations: 7.714 MB / 1.343 GB, free: 193 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/1.899, allocations: 31.25 kB / 1.343 GB, free: 193 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005741/1.899, allocations: 13.5 kB / 1.343 GB, free: 193 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002505/1.899, allocations: 344.3 kB / 1.343 GB, free: 193 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04447/1.944, allocations: 39.08 MB / 1.381 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00401/1.948, allocations: 2.571 MB / 1.384 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003478/1.951, allocations: 2.516 MB / 1.386 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/1.952, allocations: 28.28 kB / 1.386 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/1.952, allocations: 61.72 kB / 1.386 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 6.222e-06/1.952, allocations: 5.016 kB / 1.386 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.07245/2.024, allocations: 27.93 MB / 1.414 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/2.024, allocations: 94.73 kB / 1.414 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/2.027, allocations: 1.635 MB / 1.415 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008244/2.028, allocations: 25.7 kB / 1.415 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/2.029, allocations: 1.894 MB / 1.417 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001569/2.031, allocations: 1.388 MB / 1.418 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/2.031, allocations: 4 kB / 1.418 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002367/2.031, allocations: 480.8 kB / 1.419 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003348/2.035, allocations: 2.743 MB / 1.422 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003805/2.039, allocations: 3.679 MB / 1.425 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/2.043, allocations: 3.358 MB / 1.428 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/2.043, allocations: 8 kB / 1.428 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.025/2.068, allocations: 11.38 MB / 1.44 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/2.068, allocations: 5.562 kB / 1.44 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.964e-05/2.068, allocations: 30.81 kB / 1.44 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01931/2.087, allocations: 4.971 MB / 1.444 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/2.09, allocations: 499.2 kB / 1.445 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0607/2.15, allocations: 59.67 MB / 1.503 GB, free: 57.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004754/2.155, allocations: 67.94 kB / 1.503 GB, free: 57.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009447/2.156, allocations: 159.9 kB / 1.503 GB, free: 57.49 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009033/2.157, allocations: 196.2 kB / 1.504 GB, free: 57.29 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/2.158, allocations: 371.6 kB / 1.504 GB, free: 56.92 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02362/2.182, allocations: 11.23 MB / 1.515 GB, free: 45.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.758e-05/2.182, allocations: 43.94 kB / 1.515 GB, free: 45.61 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001353/2.182, allocations: 48 kB / 1.515 GB, free: 45.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-05/2.182, allocations: 19.92 kB / 1.515 GB, free: 45.55 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0363/2.218, allocations: 16.75 MB / 1.531 GB, free: 28.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.139e-05/2.218, allocations: 8 kB / 1.531 GB, free: 28.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/2.22, allocations: 272.3 kB / 1.532 GB, free: 28.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01553/2.236, allocations: 4.445 MB / 1.536 GB, free: 23.92 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007979/2.237, allocations: 19.89 kB / 1.536 GB, free: 23.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3857/2.622, allocations: 57.24 MB / 1.592 GB, free: 276.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/2.622, allocations: 10.47 kB / 1.592 GB, free: 276.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02643/2.649, allocations: 15.07 MB / 1.607 GB, free: 274.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/2.651, allocations: 0.9513 MB / 1.608 GB, free: 274.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009491/2.652, allocations: 15.09 kB / 1.608 GB, free: 274.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/2.655, allocations: 71.02 kB / 1.608 GB, free: 274.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000456/2.656, allocations: 217.4 kB / 1.608 GB, free: 274.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002861/2.656, allocations: 105 kB / 1.608 GB, free: 274.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001805/2.658, allocations: 1.201 MB / 1.609 GB, free: 274.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006803/2.664, allocations: 1.428 MB / 1.611 GB, free: 274.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000617/2.665, allocations: 151.8 kB / 1.611 GB, free: 274.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01784/2.683, allocations: 10.52 MB / 1.621 GB, free: 272 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/2.683, allocations: 0 / 1.621 GB, free: 272 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01365/2.697, allocations: 7.036 MB / 1.628 GB, free: 269.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00482/2.701, allocations: 0.8415 MB / 1.629 GB, free: 269.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/2.723, allocations: 10.09 MB / 1.639 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004571/2.727, allocations: 4.091 MB / 1.643 GB, free: 266.7 MB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/2.727, allocations: 0 / 1.643 GB, free: 266.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.1507/2.878, allocations: 92.84 MB / 1.733 GB, free: 238.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches