Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.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.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.1..real|grid.P.2..real|grid.P.3..real|RL.load1.S.1.|RL.load1.S.2.|RL.load2.S.1.|RL.load2.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.1..real|grid.P.2..real|grid.P.3..real|RL.load1.S.1.|RL.load1.S.2.|RL.load2.S.1.|RL.load2.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") [: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.764/1.764, 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.0009808/0.0009808, allocations: 180.3 kB / 487 MB, free: 5.379 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.145/1.145, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.0008722/0.0008722, allocations: 91.06 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.853e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.189, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.544/2.733, allocations: 1.779 GB / 2.984 GB, free: 74.27 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/2.734, allocations: 103.9 kB / 2.984 GB, free: 74.16 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.7414/3.475, allocations: 197.4 MB / 3.177 GB, free: 341.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001869/3.475, allocations: 103.4 kB / 3.177 GB, free: 341.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1152 * Number of variables: 1152 Notification: Performance of Generate backend data structure: time 0.006231/3.482, allocations: 3.774 MB / 3.18 GB, free: 337.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/3.482, allocations: 16.52 kB / 3.18 GB, free: 337.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/3.493, allocations: 2.004 MB / 3.182 GB, free: 335.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/3.497, allocations: 2.43 MB / 3.185 GB, free: 333 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.586e-05/3.497, allocations: 140 kB / 3.185 GB, free: 332.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005315/3.498, allocations: 255.9 kB / 3.185 GB, free: 332.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007256/3.505, allocations: 5.343 MB / 3.19 GB, free: 327.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006847/3.512, allocations: 5.584 MB / 3.196 GB, free: 321.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.381e-05/3.512, allocations: 15.94 kB / 3.196 GB, free: 321.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00041/3.512, allocations: 8 kB / 3.196 GB, free: 321.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/3.512, allocations: 231.6 kB / 3.196 GB, free: 321.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02402/3.536, allocations: 26.04 MB / 3.221 GB, free: 293.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003694/3.54, allocations: 3.407 MB / 3.225 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/3.542, allocations: 1.809 MB / 3.227 GB, free: 288.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005981/3.543, allocations: 0.5178 MB / 3.227 GB, free: 287.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002079/3.545, allocations: 1.948 MB / 3.229 GB, free: 285.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=256): time 4.087e-06/3.545, allocations: 8 kB / 3.229 GB, free: 285.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=259): time 0.007502/3.552, allocations: 5.739 MB / 3.235 GB, free: 279.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/3.552, allocations: 449.2 kB / 3.235 GB, free: 279.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/3.554, allocations: 1.364 MB / 3.236 GB, free: 278 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/3.554, allocations: 29.7 kB / 3.236 GB, free: 278 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007224/3.555, allocations: 1.492 MB / 3.238 GB, free: 276.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005145/3.555, allocations: 0.8245 MB / 3.239 GB, free: 275.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/3.555, allocations: 4.281 kB / 3.239 GB, free: 275.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001075/3.556, allocations: 419.5 kB / 3.239 GB, free: 275.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/3.557, allocations: 1.403 MB / 3.24 GB, free: 273.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/3.559, allocations: 2.104 MB / 3.242 GB, free: 271.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/3.562, allocations: 1.846 MB / 3.244 GB, free: 269.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/3.562, allocations: 8 kB / 3.244 GB, free: 269.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.005513/3.567, allocations: 3.895 MB / 3.248 GB, free: 265.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000845/3.568, allocations: 6.76 MB / 3.255 GB, free: 258.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/3.568, allocations: 16 kB / 3.255 GB, free: 258.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.515e-05/3.568, allocations: 32 kB / 3.255 GB, free: 258.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004081/3.572, allocations: 0.819 MB / 3.256 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/3.572, allocations: 43.86 kB / 3.256 GB, free: 257.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003013/3.575, allocations: 330.1 kB / 3.256 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/3.576, allocations: 139.9 kB / 3.256 GB, free: 257.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.841e-06/3.576, allocations: 4 kB / 3.256 GB, free: 257.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004689/3.58, allocations: 3.291 MB / 3.259 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/3.58, allocations: 24.16 kB / 3.259 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/3.58, allocations: 36 kB / 3.259 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/3.584, allocations: 0.7839 MB / 3.26 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/3.584, allocations: 47.83 kB / 3.26 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/3.587, allocations: 302.2 kB / 3.26 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/3.587, allocations: 131.9 kB / 3.261 GB, free: 252.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 348 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004907/3.588, allocations: 176.2 kB / 3.261 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/3.588, allocations: 233.1 kB / 3.261 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007002/3.595, allocations: 4.205 MB / 3.265 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/3.595, allocations: 32 kB / 3.265 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/3.595, allocations: 3.984 kB / 3.265 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/3.595, allocations: 15.95 kB / 3.265 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/3.606, allocations: 9.107 MB / 3.274 GB, free: 238.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/3.606, allocations: 11.91 kB / 3.274 GB, free: 238.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003834/3.61, allocations: 0.7181 MB / 3.275 GB, free: 237.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.089e-05/3.61, allocations: 16 kB / 3.275 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/3.61, allocations: 43.94 kB / 3.275 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/3.61, allocations: 16 kB / 3.275 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-06/3.61, allocations: 7.938 kB / 3.275 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005108/3.615, allocations: 4.389 MB / 3.279 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/3.617, allocations: 0.8134 MB / 3.28 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004676/3.617, allocations: 11.98 kB / 3.28 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00277/3.62, allocations: 239.6 kB / 3.28 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/3.62, allocations: 153.7 kB / 3.28 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002341/3.62, allocations: 103.9 kB / 3.28 GB, free: 231.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001295/3.622, allocations: 1.11 MB / 3.281 GB, free: 230.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003639/3.625, allocations: 1.281 MB / 3.283 GB, free: 229.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/3.626, allocations: 0.5611 MB / 3.283 GB, free: 228.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006384/3.633, allocations: 5.349 MB / 3.288 GB, free: 223.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/3.633, allocations: 4 kB / 3.288 GB, free: 223.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/3.635, allocations: 1.801 MB / 3.29 GB, free: 221.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/3.637, allocations: 0.5023 MB / 3.291 GB, free: 221.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009581/3.647, allocations: 6.286 MB / 3.297 GB, free: 214.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003218/3.65, allocations: 3.045 MB / 3.3 GB, free: 211.6 MB / 1.151 GB Notification: Performance of SimCode: time 4.71e-07/3.65, allocations: 0 / 3.3 GB, free: 211.6 MB / 1.151 GB Notification: Performance of Templates: time 0.07213/3.722, allocations: 65.53 MB / 3.364 GB, free: 146.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches