Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.767/1.767, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.000911/0.0009111, allocations: 189.2 kB / 487 MB, free: 5.391 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.141/1.141, allocations: 221.3 MB / 0.7819 GB, free: 1.434 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.0008745/0.0008745, allocations: 103.8 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.564e-06, allocations: 8 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1862, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.517/0.7033, allocations: 176.4 MB / 1.378 GB, free: 304 kB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.7035, allocations: 89.09 kB / 1.378 GB, free: 252 kB / 0.8073 GB Notification: Performance of FrontEnd: time 0.3387/1.042, allocations: 160.3 MB / 1.534 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001365/1.042, allocations: 83.98 kB / 1.534 GB, free: 14.15 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.004551/1.047, allocations: 2.944 MB / 1.537 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/1.047, allocations: 8.031 kB / 1.537 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005176/1.052, allocations: 0.9748 MB / 1.538 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/1.056, allocations: 2.295 MB / 1.54 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.36e-05/1.056, allocations: 104 kB / 1.54 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004079/1.056, allocations: 183.9 kB / 1.541 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005612/1.062, allocations: 3.778 MB / 1.544 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007071/1.069, allocations: 5.289 MB / 1.549 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-05/1.069, allocations: 11.88 kB / 1.549 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002885/1.069, allocations: 12 kB / 1.549 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004406/1.07, allocations: 338.2 kB / 1.55 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02559/1.096, allocations: 28.72 MB / 1.578 GB, free: 14.39 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/1.097, allocations: 1.433 MB / 1.579 GB, free: 12.95 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/1.099, allocations: 1.514 MB / 1.581 GB, free: 11.43 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-05/1.099, allocations: 20.98 kB / 1.581 GB, free: 11.41 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/1.099, allocations: 43.5 kB / 1.581 GB, free: 11.36 MB / 1.01 GB Notification: Performance of pre-optimization done (n=110): time 2.475e-06/1.099, allocations: 0 / 1.581 GB, free: 11.36 MB / 1.01 GB Notification: Performance of matching and sorting (n=179): time 0.03191/1.131, allocations: 13.38 MB / 1.594 GB, free: 13.95 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/1.131, allocations: 69.41 kB / 1.594 GB, free: 13.88 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/1.132, allocations: 1.05 MB / 1.595 GB, free: 12.82 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/1.132, allocations: 25.7 kB / 1.595 GB, free: 12.79 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007039/1.133, allocations: 1.308 MB / 1.596 GB, free: 11.46 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.000521/1.134, allocations: 0.5889 MB / 1.597 GB, free: 10.86 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/1.134, allocations: 0 / 1.597 GB, free: 10.86 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.134, allocations: 381.9 kB / 1.597 GB, free: 10.48 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/1.136, allocations: 1.854 MB / 1.599 GB, free: 8.629 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00249/1.139, allocations: 2.346 MB / 1.601 GB, free: 6.07 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/1.142, allocations: 2.434 MB / 1.604 GB, free: 3.637 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.142, allocations: 4 kB / 1.604 GB, free: 3.633 MB / 1.026 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01338/1.156, allocations: 7.681 MB / 1.611 GB, free: 11.91 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.156, allocations: 4 kB / 1.611 GB, free: 11.91 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.156, allocations: 20.12 kB / 1.611 GB, free: 11.89 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01153/1.167, allocations: 4.119 MB / 1.615 GB, free: 7.754 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.168, allocations: 279.5 kB / 1.615 GB, free: 7.48 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02651/1.195, allocations: 19.35 MB / 1.634 GB, free: 3.703 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/1.196, allocations: 75.78 kB / 1.634 GB, free: 3.629 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/1.197, allocations: 175.9 kB / 1.635 GB, free: 3.457 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003737/1.197, allocations: 152.5 kB / 1.635 GB, free: 3.301 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/1.197, allocations: 185.8 kB / 1.635 GB, free: 3.117 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/1.211, allocations: 7.723 MB / 1.642 GB, free: 11.35 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/1.211, allocations: 20 kB / 1.642 GB, free: 11.33 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.211, allocations: 16 kB / 1.642 GB, free: 11.32 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/1.211, allocations: 11.95 kB / 1.642 GB, free: 11.3 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/1.23, allocations: 11.72 MB / 1.654 GB, free: 15.41 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.23, allocations: 8 kB / 1.654 GB, free: 15.4 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/1.231, allocations: 159.7 kB / 1.654 GB, free: 15.24 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01138/1.242, allocations: 4.033 MB / 1.658 GB, free: 11.19 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/1.242, allocations: 47.92 kB / 1.658 GB, free: 11.14 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02572/1.268, allocations: 18.93 MB / 1.677 GB, free: 7.766 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/1.268, allocations: 11.94 kB / 1.677 GB, free: 7.754 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01331/1.281, allocations: 7.926 MB / 1.684 GB, free: 15.51 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/1.283, allocations: 0.6938 MB / 1.685 GB, free: 14.8 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003679/1.283, allocations: 8 kB / 1.685 GB, free: 14.79 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/1.284, allocations: 75.77 kB / 1.685 GB, free: 14.71 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/1.285, allocations: 133 kB / 1.685 GB, free: 14.59 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/1.285, allocations: 151.9 kB / 1.685 GB, free: 14.44 MB / 1.12 GB Notification: Performance of sort global known variables: time 0.0009546/1.286, allocations: 0.7995 MB / 1.686 GB, free: 13.64 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.002322/1.288, allocations: 0.8163 MB / 1.687 GB, free: 12.82 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003178/1.289, allocations: 146.9 kB / 1.687 GB, free: 12.67 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.009337/1.298, allocations: 5.829 MB / 1.693 GB, free: 6.816 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/1.298, allocations: 4 kB / 1.693 GB, free: 6.812 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.006488/1.304, allocations: 3.585 MB / 1.696 GB, free: 3.195 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/1.306, allocations: 405.2 kB / 1.697 GB, free: 2.797 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009812/1.316, allocations: 5.712 MB / 1.702 GB, free: 12.95 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002721/1.319, allocations: 2.796 MB / 1.705 GB, free: 10.11 MB / 1.135 GB Notification: Performance of SimCode: time 6.11e-07/1.319, allocations: 0 / 1.705 GB, free: 10.11 MB / 1.135 GB Notification: Performance of Templates: time 0.4238/1.743, allocations: 47.91 MB / 1.752 GB, free: 264.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches