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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.339/2.339, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001376/0.001376, allocations: 181.2 kB / 498.1 MB, free: 5.758 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.529/1.529, allocations: 223.2 MB / 0.7949 GB, free: 17.98 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.0008717/0.0008716, allocations: 92.2 kB / 0.9346 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 6.906 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3042, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.691/4.996, allocations: 1.779 GB / 3.002 GB, free: 238.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000447/4.996, allocations: 107.1 kB / 3.002 GB, free: 238 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.442/5.438, allocations: 198.5 MB / 3.196 GB, free: 38.14 MB / 1.167 GB Notification: Performance of FrontEnd: time 5.3e-06/5.438, allocations: 3.938 kB / 3.196 GB, free: 38.13 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002925/5.439, allocations: 104 kB / 3.196 GB, free: 38.03 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: 1152 * Number of variables: 1152 Notification: Performance of Generate backend data structure: time 0.01323/5.452, allocations: 3.984 MB / 3.2 GB, free: 33.97 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/5.452, allocations: 8.031 kB / 3.2 GB, free: 33.96 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/5.465, allocations: 1.867 MB / 3.202 GB, free: 32.09 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008693/5.474, allocations: 2.418 MB / 3.204 GB, free: 29.61 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/5.474, allocations: 336.7 kB / 3.205 GB, free: 29.28 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002632/5.477, allocations: 424 kB / 3.205 GB, free: 28.87 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02465/5.501, allocations: 6.581 MB / 3.211 GB, free: 22.05 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003302/5.502, allocations: 15.78 kB / 3.211 GB, free: 22.04 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002416/5.504, allocations: 184 kB / 3.212 GB, free: 21.86 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003086/5.505, allocations: 223.6 kB / 3.212 GB, free: 21.64 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01984/5.525, allocations: 6.587 MB / 3.218 GB, free: 15.04 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.018/6.543, allocations: 26.43 MB / 3.244 GB, free: 325.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/6.555, allocations: 4.266 MB / 3.248 GB, free: 325.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/6.557, allocations: 0.5087 MB / 3.249 GB, free: 324.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006797/6.563, allocations: 2.275 MB / 3.251 GB, free: 324.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=256): time 6.712e-06/6.563, allocations: 0.9062 kB / 3.251 GB, free: 324.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=259): time 0.02408/6.587, allocations: 7.856 MB / 3.259 GB, free: 322.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003004/6.588, allocations: 448.8 kB / 3.259 GB, free: 322.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005157/6.593, allocations: 1.616 MB / 3.261 GB, free: 322.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001448/6.595, allocations: 73.55 kB / 3.261 GB, free: 322.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002943/6.597, allocations: 1.724 MB / 3.262 GB, free: 321.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002375/6.6, allocations: 0.8598 MB / 3.263 GB, free: 321.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/6.6, allocations: 56.38 kB / 3.263 GB, free: 321.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000275/6.6, allocations: 416.2 kB / 3.264 GB, free: 320.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004418/6.605, allocations: 1.696 MB / 3.265 GB, free: 320.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00439/6.609, allocations: 2.413 MB / 3.268 GB, free: 320.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004846/6.614, allocations: 1.976 MB / 3.27 GB, free: 320 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-05/6.614, allocations: 3.938 kB / 3.27 GB, free: 320 MB / 1.167 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.0121/6.626, allocations: 4.445 MB / 3.274 GB, free: 319.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001544/6.628, allocations: 6.844 MB / 3.281 GB, free: 312.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/6.628, allocations: 19.25 kB / 3.281 GB, free: 312.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.952e-05/6.628, allocations: 31.19 kB / 3.281 GB, free: 312.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00478/6.633, allocations: 0.8497 MB / 3.281 GB, free: 312.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-05/6.633, allocations: 46.84 kB / 3.282 GB, free: 312.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/6.637, allocations: 414.3 kB / 3.282 GB, free: 312.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003959/6.637, allocations: 139.2 kB / 3.282 GB, free: 312.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/6.637, allocations: 5.438 kB / 3.282 GB, free: 312.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008771/6.646, allocations: 3.894 MB / 3.286 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/6.646, allocations: 22.34 kB / 3.286 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/6.646, allocations: 30.81 kB / 3.286 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003919/6.65, allocations: 0.8025 MB / 3.287 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.912e-05/6.65, allocations: 39.97 kB / 3.287 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/6.654, allocations: 365.6 kB / 3.287 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003044/6.654, allocations: 134.5 kB / 3.287 GB, free: 312.4 MB / 1.167 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 () * Number of clocked 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.003679/6.658, allocations: 1.324 MB / 3.289 GB, free: 312.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008815/6.659, allocations: 248.7 kB / 3.289 GB, free: 312.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/6.669, allocations: 4.622 MB / 3.293 GB, free: 311.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/6.669, allocations: 27.47 kB / 3.293 GB, free: 311.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/6.669, allocations: 0 / 3.293 GB, free: 311.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-05/6.669, allocations: 15.23 kB / 3.293 GB, free: 311.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/6.687, allocations: 9.628 MB / 3.303 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/6.687, allocations: 5.656 kB / 3.303 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003931/6.691, allocations: 0.801 MB / 3.303 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-05/6.691, allocations: 11.34 kB / 3.304 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002496/6.692, allocations: 71.72 kB / 3.304 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/6.692, allocations: 18.98 kB / 3.304 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/6.692, allocations: 0 / 3.304 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009022/6.701, allocations: 4.544 MB / 3.308 GB, free: 309.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002266/6.703, allocations: 0.831 MB / 3.309 GB, free: 309.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005291/6.704, allocations: 51.22 kB / 3.309 GB, free: 309.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002928/6.707, allocations: 301.3 kB / 3.309 GB, free: 309.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/6.707, allocations: 168.4 kB / 3.309 GB, free: 309.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/6.707, allocations: 93.41 kB / 3.309 GB, free: 309.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002158/6.709, allocations: 1.328 MB / 3.311 GB, free: 309.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.1e-07/6.709, allocations: 4 kB / 3.311 GB, free: 309.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005761/6.715, allocations: 1.442 MB / 3.312 GB, free: 309.1 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 (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.001882/6.717, allocations: 0.7099 MB / 3.313 GB, free: 308.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0139/6.731, allocations: 6.178 MB / 3.319 GB, free: 306.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/6.731, allocations: 8.156 kB / 3.319 GB, free: 306.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0044/6.735, allocations: 2.042 MB / 3.321 GB, free: 306.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003494/6.739, allocations: 0.5827 MB / 3.321 GB, free: 306 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/6.756, allocations: 9.512 MB / 3.331 GB, free: 301 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002501/6.759, allocations: 2.701 MB / 3.333 GB, free: 299.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006752/6.766, allocations: 1.287 MB / 3.335 GB, free: 299.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/6.767, allocations: 280.3 kB / 3.335 GB, free: 299.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.473e-06/6.767, allocations: 0 / 3.335 GB, free: 299.6 MB / 1.167 GB Notification: Performance of Templates: time 0.08032/6.847, allocations: 42.67 MB / 3.377 GB, free: 295.7 MB / 1.167 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