Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_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 10.0.0-master/package.mo): time 1.73/1.73, allocations: 390.4 MB / 397.7 MB, free: 11.31 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.0009301/0.0009301, allocations: 181.2 kB / 490.8 MB, free: 1.988 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.059/1.059, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008133/0.0008133, allocations: 93.55 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.299e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1693, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.328/2.498, allocations: 1.78 GB / 2.991 GB, free: 74.42 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/2.498, allocations: 106 kB / 2.992 GB, free: 74.36 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.6418/3.14, allocations: 172.9 MB / 3.16 GB, free: 356.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002257/3.14, allocations: 94.11 kB / 3.161 GB, free: 356.4 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: 1069 * Number of variables: 1069 Notification: Performance of Generate backend data structure: time 0.006768/3.147, allocations: 3.566 MB / 3.164 GB, free: 354.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/3.147, allocations: 9.375 kB / 3.164 GB, free: 354.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/3.157, allocations: 1.93 MB / 3.166 GB, free: 353.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/3.16, allocations: 2.225 MB / 3.168 GB, free: 351.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/3.16, allocations: 136.2 kB / 3.168 GB, free: 351.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005264/3.161, allocations: 234.6 kB / 3.168 GB, free: 351.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007424/3.168, allocations: 5.028 MB / 3.173 GB, free: 349.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006984/3.175, allocations: 5.135 MB / 3.178 GB, free: 345.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.382e-05/3.175, allocations: 11.94 kB / 3.178 GB, free: 345.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/3.176, allocations: 4 kB / 3.178 GB, free: 345.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/3.176, allocations: 199.2 kB / 3.179 GB, free: 345.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02111/3.197, allocations: 22.83 MB / 3.201 GB, free: 320.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003425/3.2, allocations: 3.074 MB / 3.204 GB, free: 317.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/3.202, allocations: 1.574 MB / 3.205 GB, free: 316.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005696/3.203, allocations: 0.5106 MB / 3.206 GB, free: 315.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001856/3.204, allocations: 1.772 MB / 3.208 GB, free: 313.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=242): time 3.947e-06/3.204, allocations: 0 / 3.208 GB, free: 313.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=245): time 0.005973/3.21, allocations: 5.207 MB / 3.213 GB, free: 308.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/3.211, allocations: 441.2 kB / 3.213 GB, free: 308.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/3.212, allocations: 1.323 MB / 3.214 GB, free: 306.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001764/3.212, allocations: 29.7 kB / 3.214 GB, free: 306.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005334/3.213, allocations: 1.405 MB / 3.216 GB, free: 305.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004335/3.213, allocations: 0.7815 MB / 3.217 GB, free: 304.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/3.213, allocations: 0 / 3.217 GB, free: 304.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/3.213, allocations: 411.4 kB / 3.217 GB, free: 304.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/3.215, allocations: 1.298 MB / 3.218 GB, free: 302.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/3.217, allocations: 1.995 MB / 3.22 GB, free: 300.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/3.219, allocations: 1.738 MB / 3.222 GB, free: 298.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/3.219, allocations: 8 kB / 3.222 GB, free: 298.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.004882/3.224, allocations: 3.651 MB / 3.225 GB, free: 295 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008308/3.225, allocations: 7.065 MB / 3.232 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/3.225, allocations: 16 kB / 3.232 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.622e-05/3.225, allocations: 39.98 kB / 3.232 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/3.228, allocations: 0.7917 MB / 3.233 GB, free: 286.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/3.229, allocations: 43.86 kB / 3.233 GB, free: 286.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/3.231, allocations: 326.1 kB / 3.234 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/3.231, allocations: 139.9 kB / 3.234 GB, free: 286.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.671e-06/3.231, allocations: 4 kB / 3.234 GB, free: 286.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004374/3.236, allocations: 3.163 MB / 3.237 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/3.236, allocations: 19.98 kB / 3.237 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/3.236, allocations: 36.88 kB / 3.237 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003534/3.239, allocations: 0.7722 MB / 3.238 GB, free: 282.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/3.239, allocations: 43.86 kB / 3.238 GB, free: 282.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/3.242, allocations: 294.2 kB / 3.238 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002432/3.242, allocations: 135.9 kB / 3.238 GB, free: 281.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (338): * Single equations (assignments): 338 * 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.0004306/3.243, allocations: 172.2 kB / 3.238 GB, free: 281.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/3.243, allocations: 217.4 kB / 3.238 GB, free: 281.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006299/3.249, allocations: 3.811 MB / 3.242 GB, free: 277.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/3.249, allocations: 27.91 kB / 3.242 GB, free: 277.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/3.249, allocations: 4 kB / 3.242 GB, free: 277.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/3.249, allocations: 11.95 kB / 3.242 GB, free: 277.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009724/3.259, allocations: 9.087 MB / 3.251 GB, free: 268.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/3.259, allocations: 8.906 kB / 3.251 GB, free: 268.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003423/3.263, allocations: 0.667 MB / 3.252 GB, free: 267.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/3.263, allocations: 16 kB / 3.252 GB, free: 267.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/3.263, allocations: 51.84 kB / 3.252 GB, free: 267.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/3.263, allocations: 19.94 kB / 3.252 GB, free: 267.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/3.263, allocations: 15.88 kB / 3.252 GB, free: 267.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004309/3.267, allocations: 4.211 MB / 3.256 GB, free: 262.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009541/3.268, allocations: 0.7628 MB / 3.257 GB, free: 262 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004309/3.268, allocations: 11.98 kB / 3.257 GB, free: 262 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/3.271, allocations: 231.7 kB / 3.257 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/3.271, allocations: 153.6 kB / 3.257 GB, free: 261.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/3.271, allocations: 99.94 kB / 3.257 GB, free: 261.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009987/3.272, allocations: 1.06 MB / 3.258 GB, free: 260.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002864/3.275, allocations: 1.2 MB / 3.259 GB, free: 259.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (265): * Single equations (assignments): 263 * 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.001065/3.276, allocations: 0.5718 MB / 3.26 GB, free: 258.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00541/3.282, allocations: 4.971 MB / 3.265 GB, free: 253.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/3.282, allocations: 10.59 kB / 3.265 GB, free: 253.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/3.284, allocations: 1.636 MB / 3.266 GB, free: 252.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/3.286, allocations: 464.8 kB / 3.267 GB, free: 251.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008278/3.294, allocations: 5.812 MB / 3.273 GB, free: 245.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002928/3.297, allocations: 2.875 MB / 3.275 GB, free: 242.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/3.297, allocations: 0 / 3.275 GB, free: 242.9 MB / 1.151 GB Notification: Performance of Templates: time 0.06235/3.359, allocations: 61.08 MB / 3.335 GB, free: 182.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches