Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.772/1.772, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009262/0.0009262, allocations: 192.5 kB / 487 MB, free: 5.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.11/1.11, allocations: 221.3 MB / 0.7819 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009306/0.0009305, allocations: 94 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.102e-06/6.122e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.188, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5295/0.7176, allocations: 195.9 MB / 1.397 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.7178, allocations: 93.62 kB / 1.397 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.6777/1.396, allocations: 322.7 MB / 1.712 GB, free: 6.059 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.000269/1.396, allocations: 151.8 kB / 1.712 GB, free: 5.91 MB / 1.135 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.009231/1.405, allocations: 4.74 MB / 1.717 GB, free: 1.105 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/1.405, allocations: 8.031 kB / 1.717 GB, free: 1.098 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009551/1.415, allocations: 1.425 MB / 1.718 GB, free: 15.66 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/1.425, allocations: 4.207 MB / 1.722 GB, free: 11.38 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/1.426, allocations: 164 kB / 1.722 GB, free: 11.22 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001719/1.427, allocations: 303.8 kB / 1.723 GB, free: 10.92 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01221/1.439, allocations: 5.765 MB / 1.728 GB, free: 5.152 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3182/1.758, allocations: 7.704 MB / 1.736 GB, free: 383.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/1.758, allocations: 34.34 kB / 1.736 GB, free: 383.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004754/1.758, allocations: 20.97 kB / 1.736 GB, free: 383.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/1.759, allocations: 341.6 kB / 1.736 GB, free: 383.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03057/1.789, allocations: 39.1 MB / 1.774 GB, free: 360.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/1.792, allocations: 2.558 MB / 1.777 GB, free: 360.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0024/1.794, allocations: 2.515 MB / 1.779 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/1.794, allocations: 28.17 kB / 1.779 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/1.795, allocations: 64.75 kB / 1.779 GB, free: 360 MB / 1.151 GB Notification: Performance of pre-optimization done (n=265): time 4.458e-06/1.795, allocations: 0 / 1.779 GB, free: 360 MB / 1.151 GB Notification: Performance of matching and sorting (n=424): time 0.05903/1.854, allocations: 27.9 MB / 1.807 GB, free: 357.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/1.854, allocations: 97.17 kB / 1.807 GB, free: 357.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/1.855, allocations: 1.636 MB / 1.808 GB, free: 357.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002712/1.856, allocations: 28.92 kB / 1.808 GB, free: 357.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006592/1.856, allocations: 1.896 MB / 1.81 GB, free: 356.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008394/1.857, allocations: 1.389 MB / 1.811 GB, free: 355.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/1.858, allocations: 0 / 1.811 GB, free: 355.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.858, allocations: 485.7 kB / 1.812 GB, free: 355.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002976/1.861, allocations: 2.741 MB / 1.815 GB, free: 355.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/1.864, allocations: 3.677 MB / 1.818 GB, free: 354.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00343/1.867, allocations: 3.357 MB / 1.821 GB, free: 354.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.867, allocations: 6.312 kB / 1.821 GB, free: 354.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02127/1.889, allocations: 11.38 MB / 1.833 GB, free: 353.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.889, allocations: 3.969 kB / 1.833 GB, free: 353.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/1.889, allocations: 30.06 kB / 1.833 GB, free: 353.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0159/1.905, allocations: 4.961 MB / 1.837 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/1.907, allocations: 0.4894 MB / 1.838 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05729/1.964, allocations: 59.67 MB / 1.896 GB, free: 317.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/1.967, allocations: 70.45 kB / 1.896 GB, free: 317.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003908/1.968, allocations: 168.1 kB / 1.896 GB, free: 317.2 MB / 1.151 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.0006838/1.969, allocations: 190.8 kB / 1.897 GB, free: 317.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005058/1.969, allocations: 374.4 kB / 1.897 GB, free: 316.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02153/1.991, allocations: 11.24 MB / 1.908 GB, free: 312.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/1.991, allocations: 43.72 kB / 1.908 GB, free: 312.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-05/1.991, allocations: 48.88 kB / 1.908 GB, free: 312.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.061e-05/1.991, allocations: 25.05 kB / 1.908 GB, free: 312.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0284/2.019, allocations: 16.74 MB / 1.924 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/2.019, allocations: 7.625 kB / 1.924 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/2.021, allocations: 276.4 kB / 1.925 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01436/2.035, allocations: 4.442 MB / 1.929 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003023/2.035, allocations: 22.64 kB / 1.929 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05663/2.092, allocations: 57.24 MB / 1.985 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/2.092, allocations: 10.62 kB / 1.985 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02276/2.115, allocations: 15.09 MB / 2 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/2.117, allocations: 0.9554 MB / 2.001 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006097/2.117, allocations: 11.94 kB / 2.001 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001966/2.119, allocations: 69.03 kB / 2.001 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004232/2.12, allocations: 212.3 kB / 2.001 GB, free: 249.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/2.12, allocations: 103.2 kB / 2.001 GB, free: 249.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001362/2.121, allocations: 1.211 MB / 2.002 GB, free: 248.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004463/2.126, allocations: 1.436 MB / 2.004 GB, free: 246.8 MB / 1.151 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.0003803/2.126, allocations: 148.2 kB / 2.004 GB, free: 246.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01503/2.141, allocations: 10.52 MB / 2.014 GB, free: 236.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/2.141, allocations: 4 kB / 2.014 GB, free: 236.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01102/2.152, allocations: 7.029 MB / 2.021 GB, free: 230.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00369/2.156, allocations: 0.8556 MB / 2.022 GB, free: 229.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/2.173, allocations: 10.11 MB / 2.032 GB, free: 220.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00363/2.177, allocations: 4.088 MB / 2.036 GB, free: 217.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.002e-06/2.177, allocations: 0 / 2.036 GB, free: 217.4 MB / 1.151 GB Notification: Performance of Templates: time 0.1134/2.29, allocations: 92.94 MB / 2.126 GB, free: 150.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches