Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.77/1.77, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009554/0.0009554, allocations: 169.4 kB / 487 MB, free: 5.402 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.123/1.123, allocations: 221.3 MB / 0.7819 GB, free: 1.465 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.0007908/0.0007908, allocations: 102.6 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.032e-06/6.052e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.192, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5127/0.7048, allocations: 182.3 MB / 1.383 GB, free: 10.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.705, allocations: 94.81 kB / 1.383 GB, free: 10.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.438/1.143, allocations: 212.5 MB / 1.591 GB, free: 2.934 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0002582/1.143, allocations: 151.9 kB / 1.591 GB, free: 2.785 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01007/1.153, allocations: 4.945 MB / 1.596 GB, free: 13.78 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/1.153, allocations: 19.97 kB / 1.596 GB, free: 13.76 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005791/1.159, allocations: 1.132 MB / 1.597 GB, free: 12.62 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00659/1.166, allocations: 3.716 MB / 1.601 GB, free: 8.848 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/1.166, allocations: 188 kB / 1.601 GB, free: 8.664 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007391/1.167, allocations: 335.9 kB / 1.601 GB, free: 8.336 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009033/1.176, allocations: 5.888 MB / 1.607 GB, free: 2.441 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/1.187, allocations: 8.052 MB / 1.615 GB, free: 9.949 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/1.187, allocations: 19.81 kB / 1.615 GB, free: 9.93 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004772/1.188, allocations: 12 kB / 1.615 GB, free: 9.918 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000226/1.188, allocations: 314.9 kB / 1.615 GB, free: 9.609 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03518/1.223, allocations: 40.4 MB / 1.655 GB, free: 13.48 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/1.227, allocations: 2.865 MB / 1.657 GB, free: 10.59 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002389/1.229, allocations: 2.11 MB / 1.659 GB, free: 8.484 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 9.84e-05/1.229, allocations: 25.94 kB / 1.659 GB, free: 8.457 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.229, allocations: 60.56 kB / 1.659 GB, free: 8.391 MB / 1.089 GB Notification: Performance of pre-optimization done (n=209): time 3.206e-06/1.229, allocations: 0 / 1.659 GB, free: 8.391 MB / 1.089 GB Notification: Performance of matching and sorting (n=212): time 0.009452/1.239, allocations: 6.456 MB / 1.666 GB, free: 1.902 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/1.239, allocations: 77.31 kB / 1.666 GB, free: 1.816 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/1.24, allocations: 1.325 MB / 1.667 GB, free: 476 kB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/1.24, allocations: 25.7 kB / 1.667 GB, free: 444 kB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009549/1.241, allocations: 2.063 MB / 1.669 GB, free: 14.34 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004832/1.242, allocations: 0.7044 MB / 1.67 GB, free: 13.62 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/1.242, allocations: 0 / 1.67 GB, free: 13.62 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.242, allocations: 411.2 kB / 1.67 GB, free: 13.22 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/1.244, allocations: 1.305 MB / 1.672 GB, free: 11.91 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/1.246, allocations: 2.054 MB / 1.674 GB, free: 9.5 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001946/1.248, allocations: 1.68 MB / 1.675 GB, free: 7.824 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.248, allocations: 8 kB / 1.675 GB, free: 7.816 MB / 1.104 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.006705/1.254, allocations: 4.712 MB / 1.68 GB, free: 3.082 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.254, allocations: 8 kB / 1.68 GB, free: 3.074 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/1.254, allocations: 24 kB / 1.68 GB, free: 3.051 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003168/1.258, allocations: 1.437 MB / 1.681 GB, free: 1.605 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.259, allocations: 423.2 kB / 1.682 GB, free: 1.191 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/1.276, allocations: 15.52 MB / 1.697 GB, free: 1.203 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/1.278, allocations: 67.92 kB / 1.697 GB, free: 1.137 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/1.278, allocations: 112 kB / 1.697 GB, free: 1.027 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003787/1.279, allocations: 168.2 kB / 1.697 GB, free: 0.8555 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004032/1.279, allocations: 268.9 kB / 1.697 GB, free: 0.5898 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00649/1.286, allocations: 4.315 MB / 1.702 GB, free: 12.24 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.286, allocations: 20 kB / 1.702 GB, free: 12.22 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/1.286, allocations: 16 kB / 1.702 GB, free: 12.21 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/1.286, allocations: 11.95 kB / 1.702 GB, free: 12.2 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/1.299, allocations: 8.729 MB / 1.71 GB, free: 3.34 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/1.299, allocations: 7.938 kB / 1.71 GB, free: 3.332 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009756/1.3, allocations: 199.8 kB / 1.71 GB, free: 3.137 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003077/1.303, allocations: 1.411 MB / 1.712 GB, free: 1.715 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/1.303, allocations: 8 kB / 1.712 GB, free: 1.707 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01753/1.321, allocations: 15.48 MB / 1.727 GB, free: 1.77 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.321, allocations: 12 kB / 1.727 GB, free: 1.758 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3866/1.708, allocations: 4.758 MB / 1.732 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.709, allocations: 0.5976 MB / 1.732 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/1.709, allocations: 15.86 kB / 1.732 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.71, allocations: 46.38 kB / 1.732 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.71, allocations: 109.3 kB / 1.732 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.71, allocations: 63.72 kB / 1.732 GB, free: 229.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001033/1.711, allocations: 0.968 MB / 1.733 GB, free: 229.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002656/1.714, allocations: 1.009 MB / 1.734 GB, free: 229.7 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002574/1.714, allocations: 126.4 kB / 1.734 GB, free: 229.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00501/1.719, allocations: 4.204 MB / 1.738 GB, free: 229.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.719, allocations: 10.89 kB / 1.739 GB, free: 229.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003231/1.723, allocations: 2.558 MB / 1.741 GB, free: 228.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/1.725, allocations: 0.664 MB / 1.742 GB, free: 228.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/1.737, allocations: 7.549 MB / 1.749 GB, free: 227 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003369/1.74, allocations: 3.843 MB / 1.753 GB, free: 226.2 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/1.74, allocations: 0 / 1.753 GB, free: 226.2 MB / 1.151 GB Notification: Performance of Templates: time 0.05756/1.798, allocations: 46.51 MB / 1.798 GB, free: 225 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches