Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_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.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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001042/0.001042, allocations: 181 kB / 498.1 MB, free: 5.734 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.455/1.455, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001157/0.001157, allocations: 100.7 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 7.938 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3385, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.073/5.412, allocations: 1.78 GB / 3.003 GB, free: 205 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/5.412, allocations: 111 kB / 3.003 GB, free: 205 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3834/5.796, allocations: 173.6 MB / 3.172 GB, free: 42.79 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.338e-06/5.796, allocations: 0 / 3.172 GB, free: 42.79 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004/5.796, allocations: 99.94 kB / 3.173 GB, free: 42.7 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.01384/5.81, allocations: 3.736 MB / 3.176 GB, free: 38.89 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/5.81, allocations: 12.03 kB / 3.176 GB, free: 38.88 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/5.823, allocations: 1.79 MB / 3.178 GB, free: 37.08 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007802/5.831, allocations: 2.229 MB / 3.18 GB, free: 34.79 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003519/5.831, allocations: 304.5 kB / 3.18 GB, free: 34.49 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00252/5.834, allocations: 399.9 kB / 3.181 GB, free: 34.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0209/5.855, allocations: 6.1 MB / 3.187 GB, free: 27.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002366/5.855, allocations: 3.938 kB / 3.187 GB, free: 27.79 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001823/5.857, allocations: 172 kB / 3.187 GB, free: 27.62 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002372/5.857, allocations: 203.1 kB / 3.187 GB, free: 27.43 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/5.875, allocations: 6.215 MB / 3.193 GB, free: 21.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8577/6.733, allocations: 23.13 MB / 3.216 GB, free: 339.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/6.744, allocations: 3.958 MB / 3.22 GB, free: 339.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000927/6.745, allocations: 0.5106 MB / 3.22 GB, free: 339.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006007/6.751, allocations: 2.075 MB / 3.222 GB, free: 339 MB / 1.167 GB Notification: Performance of pre-optimization done (n=242): time 7.254e-06/6.751, allocations: 3.609 kB / 3.222 GB, free: 339 MB / 1.167 GB Notification: Performance of matching and sorting (n=245): time 0.01894/6.77, allocations: 7.149 MB / 3.229 GB, free: 337.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/6.77, allocations: 445.7 kB / 3.23 GB, free: 337 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/6.774, allocations: 1.551 MB / 3.231 GB, free: 336.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000875/6.775, allocations: 72.64 kB / 3.231 GB, free: 336.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001992/6.777, allocations: 1.612 MB / 3.233 GB, free: 336.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001603/6.779, allocations: 0.8144 MB / 3.234 GB, free: 335.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/6.779, allocations: 49.97 kB / 3.234 GB, free: 335.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002374/6.779, allocations: 420.1 kB / 3.234 GB, free: 335.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004573/6.784, allocations: 1.577 MB / 3.235 GB, free: 335.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005339/6.789, allocations: 2.297 MB / 3.238 GB, free: 334.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005043/6.794, allocations: 1.866 MB / 3.24 GB, free: 334.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/6.794, allocations: 5.281 kB / 3.24 GB, free: 334.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01304/6.807, allocations: 4.193 MB / 3.244 GB, free: 334.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001925/6.809, allocations: 7.16 MB / 3.251 GB, free: 326.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-05/6.809, allocations: 22.78 kB / 3.251 GB, free: 326.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.183e-05/6.809, allocations: 35.16 kB / 3.251 GB, free: 326.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004634/6.814, allocations: 0.8048 MB / 3.251 GB, free: 326.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.006e-05/6.814, allocations: 47.23 kB / 3.252 GB, free: 326.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/6.818, allocations: 388.9 kB / 3.252 GB, free: 326.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008741/6.819, allocations: 139.4 kB / 3.252 GB, free: 326.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/6.819, allocations: 7.094 kB / 3.252 GB, free: 326.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01148/6.831, allocations: 3.765 MB / 3.256 GB, free: 326.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/6.831, allocations: 18.62 kB / 3.256 GB, free: 326.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.773e-05/6.831, allocations: 30.81 kB / 3.256 GB, free: 326.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004536/6.836, allocations: 0.772 MB / 3.257 GB, free: 326.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001006/6.836, allocations: 46.47 kB / 3.257 GB, free: 326.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004571/6.84, allocations: 348.9 kB / 3.257 GB, free: 326.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009047/6.841, allocations: 138.3 kB / 3.257 GB, free: 326.7 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.005447/6.847, allocations: 1.245 MB / 3.258 GB, free: 326.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001409/6.848, allocations: 240.8 kB / 3.258 GB, free: 326.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/6.861, allocations: 4.22 MB / 3.263 GB, free: 326.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/6.861, allocations: 26.31 kB / 3.263 GB, free: 326.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/6.861, allocations: 1.406 kB / 3.263 GB, free: 326.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.742e-05/6.861, allocations: 17.31 kB / 3.263 GB, free: 326.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/6.884, allocations: 8.758 MB / 3.271 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/6.884, allocations: 2.516 kB / 3.271 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004274/6.888, allocations: 0.7322 MB / 3.272 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.022e-05/6.888, allocations: 11.5 kB / 3.272 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004357/6.889, allocations: 69.7 kB / 3.272 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/6.889, allocations: 15.03 kB / 3.272 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/6.889, allocations: 0 / 3.272 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008822/6.897, allocations: 4.177 MB / 3.276 GB, free: 324.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002324/6.9, allocations: 0.7793 MB / 3.277 GB, free: 324.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007563/6.901, allocations: 46.91 kB / 3.277 GB, free: 324.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003084/6.904, allocations: 275 kB / 3.277 GB, free: 324 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003199/6.904, allocations: 160.2 kB / 3.277 GB, free: 324 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/6.904, allocations: 92.31 kB / 3.277 GB, free: 324 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002367/6.907, allocations: 1.267 MB / 3.279 GB, free: 323.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.31e-07/6.907, allocations: 0 / 3.279 GB, free: 323.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007115/6.914, allocations: 1.362 MB / 3.28 GB, free: 323.9 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.002282/6.916, allocations: 0.7106 MB / 3.281 GB, free: 323.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01348/6.93, allocations: 5.787 MB / 3.286 GB, free: 323.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/6.93, allocations: 3.5 kB / 3.286 GB, free: 323.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004259/6.934, allocations: 1.869 MB / 3.288 GB, free: 323.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/6.937, allocations: 0.5101 MB / 3.289 GB, free: 323.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/6.955, allocations: 8.766 MB / 3.297 GB, free: 319.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002438/6.957, allocations: 2.536 MB / 3.3 GB, free: 318.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006139/6.963, allocations: 1.268 MB / 3.301 GB, free: 318.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/6.965, allocations: 264.7 kB / 3.301 GB, free: 318.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.673e-06/6.965, allocations: 0 / 3.301 GB, free: 318.1 MB / 1.167 GB Notification: Performance of Templates: time 0.07229/7.037, allocations: 39.2 MB / 3.339 GB, free: 315.8 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches