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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.212/2.212, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001336/0.001336, allocations: 184.6 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.763/1.763, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.001018/0.001018, allocations: 95.69 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.486e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3324, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.656/5.988, allocations: 1.781 GB / 2.999 GB, free: 346.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/5.989, allocations: 102.3 kB / 2.999 GB, free: 346.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3986/6.388, allocations: 173 MB / 3.168 GB, free: 267.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.495e-06/6.388, allocations: 0 / 3.168 GB, free: 267.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003663/6.388, allocations: 95.98 kB / 3.168 GB, free: 267.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: 1069 * Number of variables: 1069 Notification: Performance of Generate backend data structure: time 0.01173/6.4, allocations: 3.481 MB / 3.172 GB, free: 263.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/6.4, allocations: 12.03 kB / 3.172 GB, free: 263.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/6.412, allocations: 1.786 MB / 3.174 GB, free: 261.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006615/6.419, allocations: 2.222 MB / 3.176 GB, free: 259.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/6.419, allocations: 304.5 kB / 3.176 GB, free: 259.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00196/6.421, allocations: 399.9 kB / 3.176 GB, free: 258.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/6.434, allocations: 5.642 MB / 3.182 GB, free: 253.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/6.435, allocations: 7.875 kB / 3.182 GB, free: 253.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005845/6.435, allocations: 176 kB / 3.182 GB, free: 252.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00024/6.435, allocations: 199.2 kB / 3.182 GB, free: 252.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009435/6.445, allocations: 5.346 MB / 3.188 GB, free: 247.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03104/6.476, allocations: 23.13 MB / 3.21 GB, free: 222.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00492/6.481, allocations: 3.463 MB / 3.214 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/6.483, allocations: 1.614 MB / 3.215 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007214/6.484, allocations: 0.519 MB / 3.216 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002386/6.486, allocations: 1.803 MB / 3.217 GB, free: 215.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=242): time 4.358e-06/6.486, allocations: 0 / 3.217 GB, free: 215.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=245): time 0.00816/6.494, allocations: 5.121 MB / 3.222 GB, free: 210.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/6.495, allocations: 441.2 kB / 3.223 GB, free: 209.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/6.497, allocations: 1.539 MB / 3.224 GB, free: 208.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005429/6.497, allocations: 69.7 kB / 3.224 GB, free: 208 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/6.499, allocations: 1.618 MB / 3.226 GB, free: 206.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008867/6.5, allocations: 0.8124 MB / 3.227 GB, free: 205.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/6.5, allocations: 52 kB / 3.227 GB, free: 205.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000136/6.5, allocations: 411.4 kB / 3.227 GB, free: 205.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/6.502, allocations: 1.313 MB / 3.228 GB, free: 203.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002388/6.504, allocations: 2.028 MB / 3.23 GB, free: 201.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/6.507, allocations: 1.6 MB / 3.232 GB, free: 199.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/6.507, allocations: 8 kB / 3.232 GB, free: 199.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.005996/6.513, allocations: 3.654 MB / 3.236 GB, free: 196.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001918/6.515, allocations: 7.154 MB / 3.243 GB, free: 188.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/6.515, allocations: 20 kB / 3.243 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.723e-05/6.515, allocations: 32 kB / 3.243 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004457/6.519, allocations: 0.8151 MB / 3.243 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.523e-05/6.519, allocations: 43.86 kB / 3.243 GB, free: 187.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004041/6.523, allocations: 386.1 kB / 3.244 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005348/6.524, allocations: 139.9 kB / 3.244 GB, free: 186.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/6.524, allocations: 4 kB / 3.244 GB, free: 186.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005216/6.529, allocations: 3.222 MB / 3.247 GB, free: 183.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/6.529, allocations: 20.03 kB / 3.247 GB, free: 183.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/6.529, allocations: 36 kB / 3.247 GB, free: 183.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/6.533, allocations: 0.7644 MB / 3.248 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.149e-05/6.533, allocations: 43.86 kB / 3.248 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/6.537, allocations: 358.2 kB / 3.248 GB, free: 182.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003955/6.537, allocations: 135.9 kB / 3.248 GB, free: 182.2 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.0009984/6.538, allocations: 268.2 kB / 3.249 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008461/6.539, allocations: 237.1 kB / 3.249 GB, free: 181.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007493/6.546, allocations: 3.688 MB / 3.252 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/6.546, allocations: 28 kB / 3.253 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/6.546, allocations: 4 kB / 3.253 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/6.547, allocations: 11.95 kB / 3.253 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/6.559, allocations: 8.245 MB / 3.261 GB, free: 169.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/6.559, allocations: 0 / 3.261 GB, free: 169.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003735/6.563, allocations: 0.7257 MB / 3.261 GB, free: 168.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.743e-05/6.563, allocations: 12 kB / 3.261 GB, free: 168.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002226/6.563, allocations: 79.92 kB / 3.261 GB, free: 168.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/6.563, allocations: 15.94 kB / 3.261 GB, free: 168.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/6.563, allocations: 4 kB / 3.261 GB, free: 168.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004823/6.568, allocations: 3.639 MB / 3.265 GB, free: 164.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/6.569, allocations: 0.7665 MB / 3.266 GB, free: 164.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005155/6.57, allocations: 52 kB / 3.266 GB, free: 164 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/6.573, allocations: 283.7 kB / 3.266 GB, free: 163.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000406/6.573, allocations: 153.8 kB / 3.266 GB, free: 163.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/6.574, allocations: 95.92 kB / 3.266 GB, free: 163.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002084/6.576, allocations: 1.245 MB / 3.267 GB, free: 162.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.61e-07/6.576, allocations: 4 kB / 3.267 GB, free: 162.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005632/6.582, allocations: 1.351 MB / 3.269 GB, free: 160.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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.001931/6.583, allocations: 0.668 MB / 3.269 GB, free: 160.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007895/6.591, allocations: 5.048 MB / 3.274 GB, free: 155.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.515e-06/6.591, allocations: 0 / 3.274 GB, free: 155.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002251/6.594, allocations: 1.596 MB / 3.276 GB, free: 153.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/6.597, allocations: 0.5307 MB / 3.276 GB, free: 153.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/6.607, allocations: 5.686 MB / 3.282 GB, free: 147.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/6.609, allocations: 2.549 MB / 3.285 GB, free: 144.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00607/6.615, allocations: 1.409 MB / 3.286 GB, free: 143.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/6.616, allocations: 235.3 kB / 3.286 GB, free: 143.1 MB / 1.151 GB Notification: Performance of SimCode: time 8.71e-07/6.616, allocations: 0 / 3.286 GB, free: 143.1 MB / 1.151 GB Notification: Performance of Templates: time 0.06376/6.68, allocations: 41.65 MB / 3.327 GB, free: 101.7 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