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_N.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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,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_N") [: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.434/1.434, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.001015/0.001015, allocations: 177.3 kB / 316 MB, free: 3.52 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.208/1.208, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0008951/0.0008951, allocations: 94.33 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.315e-06/8.346e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.198, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6014/0.7994, allocations: 180 MB / 1.06 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.7998, allocations: 92.88 kB / 1.06 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.133/1.933, allocations: 317 MB / 1.37 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0006902/1.934, allocations: 169.2 kB / 1.37 GB, free: 190.3 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02501/1.959, allocations: 5.6 MB / 1.376 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/1.959, allocations: 8.625 kB / 1.376 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/1.976, allocations: 1.685 MB / 1.377 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01641/1.992, allocations: 5.011 MB / 1.382 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/1.993, allocations: 195.8 kB / 1.382 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002998/1.996, allocations: 357.6 kB / 1.383 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01758/2.013, allocations: 7.067 MB / 1.39 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/2.035, allocations: 9.197 MB / 1.399 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001731/2.035, allocations: 27.77 kB / 1.399 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007967/2.036, allocations: 16 kB / 1.399 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000287/2.036, allocations: 392.1 kB / 1.399 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05195/2.088, allocations: 45.35 MB / 1.443 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005153/2.093, allocations: 3.72 MB / 1.447 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004502/2.098, allocations: 3.497 MB / 1.45 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/2.098, allocations: 38.78 kB / 1.45 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/2.098, allocations: 69.34 kB / 1.45 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=353): time 5.019e-06/2.098, allocations: 0 / 1.45 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=578): time 0.09336/2.191, allocations: 38.11 MB / 1.488 GB, free: 77.16 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/2.191, allocations: 115.9 kB / 1.488 GB, free: 77.03 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003159/2.195, allocations: 1.825 MB / 1.49 GB, free: 75.21 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0012/2.196, allocations: 33.7 kB / 1.49 GB, free: 75.17 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008748/2.197, allocations: 2.177 MB / 1.492 GB, free: 72.96 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00203/2.199, allocations: 1.878 MB / 1.494 GB, free: 71.05 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/2.199, allocations: 0 / 1.494 GB, free: 71.05 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002691/2.199, allocations: 0.5259 MB / 1.494 GB, free: 70.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004534/2.204, allocations: 3.756 MB / 1.498 GB, free: 66.76 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00483/2.209, allocations: 4.845 MB / 1.502 GB, free: 61.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005319/2.214, allocations: 4.586 MB / 1.507 GB, free: 56.86 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/2.214, allocations: 8 kB / 1.507 GB, free: 56.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.032/2.246, allocations: 15.5 MB / 1.522 GB, free: 41.35 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/2.246, allocations: 7.438 kB / 1.522 GB, free: 41.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/2.246, allocations: 32 kB / 1.522 GB, free: 41.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02447/2.271, allocations: 7.411 MB / 1.529 GB, free: 33.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/2.273, allocations: 0.5381 MB / 1.53 GB, free: 33.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4304/2.704, allocations: 61.17 MB / 1.59 GB, free: 264.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005312/2.709, allocations: 84.3 kB / 1.59 GB, free: 264.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009667/2.71, allocations: 202.9 kB / 1.59 GB, free: 264.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001012/2.711, allocations: 191 kB / 1.59 GB, free: 264.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009863/2.712, allocations: 453.5 kB / 1.59 GB, free: 264.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03162/2.744, allocations: 15.48 MB / 1.606 GB, free: 263.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.306e-05/2.744, allocations: 58.75 kB / 1.606 GB, free: 263.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001647/2.744, allocations: 74.59 kB / 1.606 GB, free: 263.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001182/2.744, allocations: 27.19 kB / 1.606 GB, free: 263.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04673/2.791, allocations: 22.6 MB / 1.628 GB, free: 263 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.185e-05/2.791, allocations: 11.88 kB / 1.628 GB, free: 263 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002103/2.793, allocations: 303.2 kB / 1.628 GB, free: 263 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.023/2.816, allocations: 6.762 MB / 1.635 GB, free: 262.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001088/2.817, allocations: 21.75 kB / 1.635 GB, free: 262.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08015/2.897, allocations: 58.12 MB / 1.692 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/2.898, allocations: 10.25 kB / 1.692 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04186/2.939, allocations: 20.71 MB / 1.712 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004306/2.944, allocations: 1.241 MB / 1.713 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002386/2.946, allocations: 19.09 kB / 1.713 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004551/2.951, allocations: 87.55 kB / 1.713 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001573/2.952, allocations: 282.6 kB / 1.713 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001167/2.954, allocations: 137.3 kB / 1.713 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002927/2.956, allocations: 1.344 MB / 1.715 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01086/2.967, allocations: 1.842 MB / 1.717 GB, free: 227.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/2.969, allocations: 143.3 kB / 1.717 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02404/2.993, allocations: 12.4 MB / 1.729 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/2.993, allocations: 0 / 1.729 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01808/3.011, allocations: 7.724 MB / 1.736 GB, free: 219 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006636/3.017, allocations: 0.9536 MB / 1.737 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03929/3.057, allocations: 13.27 MB / 1.75 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008849/3.066, allocations: 4.823 MB / 1.755 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of SimCode: time 9.71e-07/3.066, allocations: 4 kB / 1.755 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.1701/3.236, allocations: 123.3 MB / 1.875 GB, free: 105.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches