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.287/2.287, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001186/0.001186, allocations: 183.9 kB / 0.4902 GB, free: 2.254 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.699/1.699, allocations: 223.1 MB / 0.7992 GB, free: 14.8 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.0009337/0.0009337, allocations: 99.95 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003753, allocations: 6.938 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3233, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.874/5.197, allocations: 1.781 GB / 3.01 GB, free: 203.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/5.198, allocations: 108.7 kB / 3.01 GB, free: 203.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.4043/5.602, allocations: 173.6 MB / 3.18 GB, free: 28.87 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.645e-06/5.602, allocations: 0 / 3.18 GB, free: 28.87 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004288/5.602, allocations: 95.92 kB / 3.18 GB, free: 28.78 MB / 1.167 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.01379/5.616, allocations: 3.744 MB / 3.183 GB, free: 24.96 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/5.616, allocations: 8.562 kB / 3.183 GB, free: 24.95 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/5.629, allocations: 1.79 MB / 3.185 GB, free: 23.16 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007516/5.636, allocations: 2.233 MB / 3.187 GB, free: 20.87 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/5.637, allocations: 304.5 kB / 3.188 GB, free: 20.57 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002262/5.639, allocations: 403.8 kB / 3.188 GB, free: 20.17 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02286/5.662, allocations: 6.095 MB / 3.194 GB, free: 13.87 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003608/5.662, allocations: 11.94 kB / 3.194 GB, free: 13.86 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002517/5.665, allocations: 172 kB / 3.194 GB, free: 13.69 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002882/5.665, allocations: 199.2 kB / 3.194 GB, free: 13.49 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/5.684, allocations: 6.228 MB / 3.2 GB, free: 7.258 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8706/6.555, allocations: 23.13 MB / 3.223 GB, free: 329.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/6.569, allocations: 3.966 MB / 3.227 GB, free: 329.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/6.57, allocations: 0.5132 MB / 3.227 GB, free: 329 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008069/6.578, allocations: 2.067 MB / 3.229 GB, free: 328.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=242): time 7.413e-06/6.578, allocations: 0 / 3.229 GB, free: 328.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=245): time 0.01948/6.598, allocations: 7.148 MB / 3.236 GB, free: 327.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/6.598, allocations: 443.2 kB / 3.237 GB, free: 326.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/6.602, allocations: 1.555 MB / 3.238 GB, free: 326.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008325/6.602, allocations: 68.42 kB / 3.238 GB, free: 326.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001997/6.604, allocations: 1.62 MB / 3.24 GB, free: 325.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001242/6.606, allocations: 0.8165 MB / 3.241 GB, free: 325.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/6.606, allocations: 51.31 kB / 3.241 GB, free: 325.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001904/6.606, allocations: 415 kB / 3.241 GB, free: 325.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004485/6.611, allocations: 1.581 MB / 3.243 GB, free: 325.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004884/6.616, allocations: 2.3 MB / 3.245 GB, free: 324.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004223/6.62, allocations: 1.865 MB / 3.247 GB, free: 324.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.464e-05/6.62, allocations: 3.375 kB / 3.247 GB, free: 324.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01037/6.63, allocations: 4.183 MB / 3.251 GB, free: 324.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001829/6.632, allocations: 7.16 MB / 3.258 GB, free: 316.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.535e-05/6.632, allocations: 18.06 kB / 3.258 GB, free: 316.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001184/6.632, allocations: 33.56 kB / 3.258 GB, free: 316.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00528/6.638, allocations: 0.8152 MB / 3.259 GB, free: 316.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.509e-05/6.638, allocations: 43.44 kB / 3.259 GB, free: 316.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00418/6.642, allocations: 392.9 kB / 3.259 GB, free: 316.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005425/6.642, allocations: 141.2 kB / 3.259 GB, free: 316.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/6.642, allocations: 3.656 kB / 3.259 GB, free: 316.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00878/6.651, allocations: 3.762 MB / 3.263 GB, free: 316.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.571e-05/6.651, allocations: 15.47 kB / 3.263 GB, free: 316.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/6.651, allocations: 33.91 kB / 3.263 GB, free: 316.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003834/6.655, allocations: 0.7702 MB / 3.264 GB, free: 316.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-05/6.655, allocations: 50.72 kB / 3.264 GB, free: 316.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003551/6.659, allocations: 354.4 kB / 3.264 GB, free: 316.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000353/6.659, allocations: 135.7 kB / 3.264 GB, free: 316.3 MB / 1.167 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 () * Number of clocked 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.003324/6.662, allocations: 1.249 MB / 3.265 GB, free: 316.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008497/6.663, allocations: 236.2 kB / 3.266 GB, free: 316 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/6.673, allocations: 4.216 MB / 3.27 GB, free: 315.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/6.673, allocations: 27.38 kB / 3.27 GB, free: 315.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/6.674, allocations: 3.953 kB / 3.27 GB, free: 315.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-05/6.674, allocations: 18.88 kB / 3.27 GB, free: 315.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/6.692, allocations: 8.773 MB / 3.278 GB, free: 314.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/6.692, allocations: 0 / 3.278 GB, free: 314.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003868/6.696, allocations: 0.7297 MB / 3.279 GB, free: 314.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.613e-05/6.696, allocations: 15.73 kB / 3.279 GB, free: 314.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003063/6.696, allocations: 70.05 kB / 3.279 GB, free: 314.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/6.696, allocations: 11.12 kB / 3.279 GB, free: 314.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/6.696, allocations: 9.719 kB / 3.279 GB, free: 314.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009002/6.705, allocations: 4.168 MB / 3.283 GB, free: 313.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0023/6.707, allocations: 0.7773 MB / 3.284 GB, free: 313.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005079/6.708, allocations: 52.67 kB / 3.284 GB, free: 313.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002877/6.711, allocations: 282.8 kB / 3.284 GB, free: 313.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/6.711, allocations: 155.8 kB / 3.284 GB, free: 313.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002166/6.711, allocations: 89.86 kB / 3.285 GB, free: 313.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001954/6.713, allocations: 1.269 MB / 3.286 GB, free: 313.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.102e-05/6.713, allocations: 0 / 3.286 GB, free: 313.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005471/6.719, allocations: 1.36 MB / 3.287 GB, free: 313.3 MB / 1.167 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) * Number of clocked states: 0 () * 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.001868/6.721, allocations: 0.6989 MB / 3.288 GB, free: 313.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01349/6.734, allocations: 5.793 MB / 3.293 GB, free: 312.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/6.734, allocations: 3.875 kB / 3.293 GB, free: 312.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004301/6.739, allocations: 1.865 MB / 3.295 GB, free: 312.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/6.742, allocations: 0.513 MB / 3.296 GB, free: 312.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/6.757, allocations: 8.766 MB / 3.304 GB, free: 307.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002375/6.76, allocations: 2.545 MB / 3.307 GB, free: 306.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00598/6.766, allocations: 1.265 MB / 3.308 GB, free: 306.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/6.767, allocations: 270.1 kB / 3.308 GB, free: 306.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.412e-06/6.767, allocations: 0 / 3.308 GB, free: 306.1 MB / 1.167 GB Notification: Performance of Templates: time 0.0595/6.826, allocations: 39.17 MB / 3.347 GB, free: 302.6 MB / 1.167 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