Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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 9.1.1-maint.9.1.x/package.mo): time 1.795/1.795, allocations: 387.2 MB / 394.5 MB, free: 13.73 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.0009796/0.0009795, allocations: 185.2 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.127/1.127, allocations: 221.3 MB / 0.7819 GB, free: 1.484 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.0008071/0.0008071, allocations: 94.06 kB / 0.9213 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.315e-06/8.415e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1826, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4986/0.6812, allocations: 181.9 MB / 1.383 GB, free: 10.86 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.6815, allocations: 96.67 kB / 1.383 GB, free: 10.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.4443/1.126, allocations: 210.1 MB / 1.588 GB, free: 6.035 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.000281/1.126, allocations: 139.9 kB / 1.588 GB, free: 5.898 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01003/1.136, allocations: 4.533 MB / 1.593 GB, free: 1.297 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/1.136, allocations: 8.031 kB / 1.593 GB, free: 1.289 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005596/1.142, allocations: 1.031 MB / 1.594 GB, free: 256 kB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005844/1.148, allocations: 3.422 MB / 1.597 GB, free: 12.77 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/1.148, allocations: 176 kB / 1.597 GB, free: 12.6 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006732/1.148, allocations: 327.8 kB / 1.597 GB, free: 12.28 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008518/1.157, allocations: 5.641 MB / 1.603 GB, free: 6.629 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/1.169, allocations: 7.862 MB / 1.611 GB, free: 14.34 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/1.17, allocations: 31.7 kB / 1.611 GB, free: 14.31 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004916/1.17, allocations: 15.91 kB / 1.611 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002696/1.17, allocations: 326.8 kB / 1.611 GB, free: 13.98 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03267/1.203, allocations: 39.11 MB / 1.649 GB, free: 3.16 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/1.205, allocations: 2.158 MB / 1.651 GB, free: 0.9883 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002299/1.208, allocations: 1.944 MB / 1.653 GB, free: 15.05 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 9.254e-05/1.208, allocations: 18 kB / 1.653 GB, free: 15.03 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/1.208, allocations: 56.56 kB / 1.653 GB, free: 14.96 MB / 1.089 GB Notification: Performance of pre-optimization done (n=179): time 3.136e-06/1.208, allocations: 0 / 1.653 GB, free: 14.96 MB / 1.089 GB Notification: Performance of matching and sorting (n=182): time 0.009354/1.217, allocations: 6.071 MB / 1.659 GB, free: 8.859 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/1.217, allocations: 77.31 kB / 1.659 GB, free: 8.773 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/1.219, allocations: 1.097 MB / 1.66 GB, free: 7.68 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 9.504e-05/1.219, allocations: 25.7 kB / 1.66 GB, free: 7.648 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009176/1.22, allocations: 1.991 MB / 1.662 GB, free: 5.629 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004282/1.22, allocations: 0.6004 MB / 1.663 GB, free: 5.02 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/1.22, allocations: 0 / 1.663 GB, free: 5.02 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.22, allocations: 398.3 kB / 1.663 GB, free: 4.625 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/1.222, allocations: 1.18 MB / 1.664 GB, free: 3.441 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/1.224, allocations: 1.846 MB / 1.666 GB, free: 1.289 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/1.225, allocations: 1.524 MB / 1.668 GB, free: 15.77 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/1.225, allocations: 8 kB / 1.668 GB, free: 15.76 MB / 1.104 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006874/1.232, allocations: 4.411 MB / 1.672 GB, free: 11.33 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.232, allocations: 8 kB / 1.672 GB, free: 11.32 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/1.232, allocations: 20 kB / 1.672 GB, free: 11.3 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003823/1.236, allocations: 1.566 MB / 1.674 GB, free: 9.727 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/1.237, allocations: 331.4 kB / 1.674 GB, free: 9.402 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01871/1.256, allocations: 15.55 MB / 1.689 GB, free: 9.371 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.257, allocations: 51.94 kB / 1.689 GB, free: 9.32 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/1.258, allocations: 96 kB / 1.689 GB, free: 9.227 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(14,34.7%) 24,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000321/1.258, allocations: 156.4 kB / 1.689 GB, free: 9.066 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/1.258, allocations: 209.5 kB / 1.69 GB, free: 8.859 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006464/1.265, allocations: 4.083 MB / 1.694 GB, free: 4.742 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/1.265, allocations: 24 kB / 1.694 GB, free: 4.719 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/1.265, allocations: 16 kB / 1.694 GB, free: 4.703 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/1.265, allocations: 7.969 kB / 1.694 GB, free: 4.695 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/1.277, allocations: 8.081 MB / 1.702 GB, free: 12.49 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.639e-06/1.277, allocations: 7.984 kB / 1.702 GB, free: 12.48 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/1.278, allocations: 155.8 kB / 1.702 GB, free: 12.33 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003759/1.281, allocations: 1.535 MB / 1.703 GB, free: 10.79 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/1.282, allocations: 8 kB / 1.703 GB, free: 10.78 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0185/1.3, allocations: 15.55 MB / 1.718 GB, free: 10.77 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.3, allocations: 4 kB / 1.718 GB, free: 10.77 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006297/1.306, allocations: 4.475 MB / 1.723 GB, free: 6.105 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000934/1.307, allocations: 0.5295 MB / 1.723 GB, free: 5.555 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002901/1.308, allocations: 11.98 kB / 1.723 GB, free: 5.543 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008471/1.309, allocations: 39.89 kB / 1.723 GB, free: 5.504 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/1.309, allocations: 105.7 kB / 1.723 GB, free: 5.398 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/1.309, allocations: 44 kB / 1.723 GB, free: 5.355 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009753/1.31, allocations: 0.8022 MB / 1.724 GB, free: 4.562 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002561/1.312, allocations: 0.8984 MB / 1.725 GB, free: 3.664 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(14,34.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002294/1.313, allocations: 123 kB / 1.725 GB, free: 3.535 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.2876/1.6, allocations: 4 MB / 1.729 GB, free: 427.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.6, allocations: 0 / 1.729 GB, free: 427.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003729/1.604, allocations: 2.499 MB / 1.732 GB, free: 427.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/1.607, allocations: 0.6027 MB / 1.732 GB, free: 427.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/1.617, allocations: 7.051 MB / 1.739 GB, free: 425.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003149/1.62, allocations: 3.696 MB / 1.743 GB, free: 425 MB / 1.151 GB Notification: Performance of SimCode: time 6.91e-07/1.62, allocations: 0 / 1.743 GB, free: 425 MB / 1.151 GB Notification: Performance of Templates: time 0.04843/1.669, allocations: 41.03 MB / 1.783 GB, free: 423.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches