Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [: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.762/1.762, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001004/0.001004, allocations: 176.7 kB / 487 MB, free: 5.41 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.12/1.12, allocations: 221.3 MB / 0.7819 GB, free: 1.469 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.0008157/0.0008157, allocations: 104.5 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.791e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1884, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5571/0.7455, allocations: 198.7 MB / 1.399 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.7457, allocations: 90.94 kB / 1.399 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.08989/0.8356, allocations: 43.36 MB / 1.442 GB, free: 6.742 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.093e-05/0.8357, allocations: 23.98 kB / 1.442 GB, free: 6.719 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001182/0.8369, allocations: 0.8115 MB / 1.443 GB, free: 5.902 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.837, allocations: 9.031 kB / 1.443 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.8383, allocations: 194.4 kB / 1.443 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/0.8392, allocations: 0.5 MB / 1.443 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.8392, allocations: 16 kB / 1.443 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.8394, allocations: 42.52 kB / 1.443 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006778/0.84, allocations: 473.1 kB / 1.444 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009999/0.841, allocations: 0.7962 MB / 1.444 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.8411, allocations: 7.812 kB / 1.444 GB, free: 4.105 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.8411, allocations: 4 kB / 1.444 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-05/0.8412, allocations: 40.97 kB / 1.445 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003934/0.8451, allocations: 4.51 MB / 1.449 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.8455, allocations: 271.4 kB / 1.449 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.8457, allocations: 220.2 kB / 1.449 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.8458, allocations: 4 kB / 1.449 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.8458, allocations: 45.5 kB / 1.449 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 1.834e-06/0.8458, allocations: 3.938 kB / 1.449 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.003583/0.8494, allocations: 2.02 MB / 1.451 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.8495, allocations: 55.41 kB / 1.451 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.8498, allocations: 332.9 kB / 1.452 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.8498, allocations: 29.7 kB / 1.452 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.8499, allocations: 287.7 kB / 1.452 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.993e-05/0.85, allocations: 138.2 kB / 1.452 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.8501, allocations: 4 kB / 1.452 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.8502, allocations: 361 kB / 1.453 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.8505, allocations: 221.8 kB / 1.453 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.8509, allocations: 376.4 kB / 1.453 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.8512, allocations: 281.5 kB / 1.453 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.8512, allocations: 8 kB / 1.453 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001382/0.8526, allocations: 0.8349 MB / 1.454 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.8526, allocations: 11.98 kB / 1.454 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.8527, allocations: 7.906 kB / 1.454 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007417/0.8534, allocations: 216.4 kB / 1.454 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.8539, allocations: 107.1 kB / 1.455 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/0.8581, allocations: 4.626 MB / 1.459 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.8585, allocations: 15.89 kB / 1.459 GB, free: 6.188 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.8585, allocations: 19.38 kB / 1.459 GB, free: 6.172 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.8586, allocations: 112.9 kB / 1.459 GB, free: 6.055 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/0.8587, allocations: 55.34 kB / 1.459 GB, free: 6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.86, allocations: 0.7407 MB / 1.46 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.8601, allocations: 4 kB / 1.46 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.8601, allocations: 7.906 kB / 1.46 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8601, allocations: 3.984 kB / 1.46 GB, free: 5.434 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.8621, allocations: 1.38 MB / 1.461 GB, free: 4.281 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8621, allocations: 4 kB / 1.461 GB, free: 4.277 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.8625, allocations: 58.59 kB / 1.461 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000658/0.8631, allocations: 208.4 kB / 1.462 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.8632, allocations: 4 kB / 1.462 GB, free: 4.043 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003794/0.867, allocations: 4.54 MB / 1.466 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.867, allocations: 7.984 kB / 1.466 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001541/0.8685, allocations: 1.196 MB / 1.467 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.8687, allocations: 166.3 kB / 1.467 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.571e-05/0.8688, allocations: 7.984 kB / 1.467 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.8691, allocations: 11.98 kB / 1.467 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.8692, allocations: 19.34 kB / 1.467 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.8692, allocations: 15.56 kB / 1.467 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0002251/0.8694, allocations: 252.1 kB / 1.468 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005851/0.87, allocations: 160 kB / 1.468 GB, free: 13.94 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.8702, allocations: 110.5 kB / 1.468 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.8715, allocations: 0.9285 MB / 1.469 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.8715, allocations: 0 / 1.469 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.8723, allocations: 0.6149 MB / 1.469 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006329/0.8729, allocations: 143.2 kB / 1.47 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.8745, allocations: 0.9624 MB / 1.471 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000603/0.8751, allocations: 0.9945 MB / 1.472 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of SimCode: time 2.3e-07/0.8751, allocations: 0 / 1.472 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of Templates: time 0.01253/0.8876, allocations: 8.161 MB / 1.479 GB, free: 2.395 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches