Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.672/1.672, allocations: 390.4 MB / 397.7 MB, free: 1.93 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009335/0.0009335, allocations: 173.3 kB / 490.8 MB, free: 7.504 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.054/1.054, allocations: 221.3 MB / 0.7863 GB, free: 276 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008219/0.0008219, allocations: 92.67 kB / 0.9264 GB, free: 0.6406 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 6.122e-06/6.152e-06, allocations: 4 kB / 1.072 GB, free: 137.6 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1671, allocations: 143 MB / 1.212 GB, free: 10.58 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4794/0.6465, allocations: 196.7 MB / 1.404 GB, free: 13.31 MB / 0.8779 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.6468, allocations: 95.92 kB / 1.404 GB, free: 13.21 MB / 0.8779 GB Notification: Performance of FrontEnd: time 0.9576/1.604, allocations: 322.7 MB / 1.719 GB, free: 249.3 MB / 1.128 GB Notification: Performance of Transformations before backend: time 0.0002215/1.605, allocations: 154.2 kB / 1.719 GB, free: 249.2 MB / 1.128 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.00722/1.612, allocations: 4.737 MB / 1.724 GB, free: 247.3 MB / 1.128 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/1.612, allocations: 11.47 kB / 1.724 GB, free: 247.3 MB / 1.128 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00827/1.62, allocations: 1.421 MB / 1.725 GB, free: 247 MB / 1.128 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006778/1.627, allocations: 4.212 MB / 1.729 GB, free: 246.2 MB / 1.128 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/1.627, allocations: 165.9 kB / 1.729 GB, free: 246.2 MB / 1.128 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006145/1.628, allocations: 299.4 kB / 1.73 GB, free: 246.2 MB / 1.128 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006702/1.634, allocations: 5.766 MB / 1.735 GB, free: 246.1 MB / 1.128 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008358/1.643, allocations: 7.717 MB / 1.743 GB, free: 244.8 MB / 1.128 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/1.643, allocations: 26.56 kB / 1.743 GB, free: 244.8 MB / 1.128 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004667/1.643, allocations: 13.34 kB / 1.743 GB, free: 244.8 MB / 1.128 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/1.644, allocations: 343.8 kB / 1.743 GB, free: 244.8 MB / 1.128 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02785/1.671, allocations: 39.1 MB / 1.781 GB, free: 221 MB / 1.128 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/1.674, allocations: 2.559 MB / 1.784 GB, free: 221 MB / 1.128 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002242/1.676, allocations: 2.51 MB / 1.786 GB, free: 221 MB / 1.128 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/1.676, allocations: 29.03 kB / 1.786 GB, free: 221 MB / 1.128 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/1.676, allocations: 58.69 kB / 1.786 GB, free: 220.9 MB / 1.128 GB Notification: Performance of pre-optimization done (n=265): time 3.997e-06/1.676, allocations: 0 / 1.786 GB, free: 220.9 MB / 1.128 GB Notification: Performance of matching and sorting (n=424): time 0.05581/1.732, allocations: 27.91 MB / 1.814 GB, free: 211.4 MB / 1.128 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/1.732, allocations: 97.98 kB / 1.814 GB, free: 211.3 MB / 1.128 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/1.734, allocations: 1.642 MB / 1.815 GB, free: 210.7 MB / 1.128 GB Notification: Performance of collectPreVariables (initialization): time 0.0002458/1.734, allocations: 25.7 kB / 1.815 GB, free: 210.6 MB / 1.128 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005424/1.734, allocations: 1.897 MB / 1.817 GB, free: 209.2 MB / 1.128 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007094/1.735, allocations: 1.385 MB / 1.819 GB, free: 208.1 MB / 1.128 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000264/1.735, allocations: 0 / 1.819 GB, free: 208.1 MB / 1.128 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.736, allocations: 487.6 kB / 1.819 GB, free: 207.8 MB / 1.128 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/1.738, allocations: 2.736 MB / 1.822 GB, free: 206.6 MB / 1.128 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003589/1.742, allocations: 3.68 MB / 1.825 GB, free: 204.3 MB / 1.128 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003611/1.746, allocations: 3.358 MB / 1.829 GB, free: 203 MB / 1.128 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/1.746, allocations: 8.656 kB / 1.829 GB, free: 203 MB / 1.128 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02205/1.768, allocations: 11.38 MB / 1.84 GB, free: 199 MB / 1.128 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.768, allocations: 9.125 kB / 1.84 GB, free: 199 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.374e-05/1.768, allocations: 27.75 kB / 1.84 GB, free: 199 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01619/1.784, allocations: 4.971 MB / 1.845 GB, free: 197.6 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/1.786, allocations: 498.2 kB / 1.845 GB, free: 197.6 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05851/1.844, allocations: 59.66 MB / 1.903 GB, free: 153 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/1.847, allocations: 66.28 kB / 1.903 GB, free: 152.9 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003298/1.848, allocations: 171.8 kB / 1.904 GB, free: 152.8 MB / 1.128 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.0006402/1.848, allocations: 186.8 kB / 1.904 GB, free: 152.6 MB / 1.128 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004455/1.849, allocations: 375.6 kB / 1.904 GB, free: 152.3 MB / 1.128 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/1.869, allocations: 11.24 MB / 1.915 GB, free: 143.2 MB / 1.128 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/1.869, allocations: 51.31 kB / 1.915 GB, free: 143.1 MB / 1.128 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/1.869, allocations: 49.69 kB / 1.915 GB, free: 143.1 MB / 1.128 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/1.869, allocations: 18.38 kB / 1.915 GB, free: 143.1 MB / 1.128 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02607/1.895, allocations: 16.75 MB / 1.932 GB, free: 129.6 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.895, allocations: 8.938 kB / 1.932 GB, free: 129.6 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/1.897, allocations: 280.1 kB / 1.932 GB, free: 129.4 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01371/1.91, allocations: 4.433 MB / 1.936 GB, free: 126 MB / 1.128 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002369/1.911, allocations: 16 kB / 1.936 GB, free: 125.9 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05104/1.962, allocations: 57.24 MB / 1.992 GB, free: 70.52 MB / 1.128 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.962, allocations: 12.03 kB / 1.992 GB, free: 70.51 MB / 1.128 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02245/1.984, allocations: 15.09 MB / 2.007 GB, free: 57.1 MB / 1.128 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/1.986, allocations: 0.9465 MB / 2.008 GB, free: 56.23 MB / 1.128 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005876/1.987, allocations: 14.77 kB / 2.008 GB, free: 56.22 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.988, allocations: 69.22 kB / 2.008 GB, free: 56.18 MB / 1.128 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004329/1.989, allocations: 215.9 kB / 2.008 GB, free: 56.04 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002571/1.989, allocations: 104.6 kB / 2.008 GB, free: 55.94 MB / 1.128 GB Notification: Performance of sort global known variables: time 0.00131/1.99, allocations: 1.197 MB / 2.009 GB, free: 54.87 MB / 1.128 GB Notification: Performance of remove unused functions: time 0.00409/1.995, allocations: 1.438 MB / 2.011 GB, free: 53.43 MB / 1.128 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.0003612/1.995, allocations: 153.9 kB / 2.011 GB, free: 53.28 MB / 1.128 GB Notification: Performance of simCode: created initialization part: time 0.0145/2.009, allocations: 10.52 MB / 2.021 GB, free: 43.4 MB / 1.128 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.009, allocations: 0 / 2.021 GB, free: 43.4 MB / 1.128 GB Notification: Performance of simCode: created simulation system equations: time 0.01042/2.02, allocations: 7.032 MB / 2.028 GB, free: 36.8 MB / 1.128 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/2.023, allocations: 0.8468 MB / 2.029 GB, free: 36.15 MB / 1.128 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/2.038, allocations: 10.11 MB / 2.039 GB, free: 26.99 MB / 1.128 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003554/2.041, allocations: 4.091 MB / 2.043 GB, free: 23.2 MB / 1.128 GB Notification: Performance of SimCode: time 5.21e-07/2.041, allocations: 0 / 2.043 GB, free: 23.2 MB / 1.128 GB Notification: Performance of Templates: time 0.3785/2.42, allocations: 92.93 MB / 2.133 GB, free: 387.1 MB / 1.159 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches