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.311/2.311, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.00106/0.00106, allocations: 192.5 kB / 487.4 MB, free: 5.039 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.668/1.668, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009479, allocations: 97.55 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.454e-05/1.456e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.281, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.747/5.028, allocations: 1.779 GB / 2.985 GB, free: 79.63 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004507/5.029, allocations: 109 kB / 2.985 GB, free: 79.57 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.075/6.103, allocations: 196.8 MB / 3.177 GB, free: 349.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.964e-06/6.103, allocations: 4 kB / 3.177 GB, free: 349.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003623/6.104, allocations: 105.5 kB / 3.177 GB, free: 349.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: 1152 * Number of variables: 1152 Notification: Performance of Generate backend data structure: time 0.01156/6.115, allocations: 3.699 MB / 3.18 GB, free: 345.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/6.115, allocations: 8.031 kB / 3.18 GB, free: 345.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/6.128, allocations: 1.867 MB / 3.182 GB, free: 343.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005553/6.133, allocations: 2.418 MB / 3.185 GB, free: 341.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/6.133, allocations: 140 kB / 3.185 GB, free: 341.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/6.135, allocations: 251.9 kB / 3.185 GB, free: 341 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01162/6.147, allocations: 5.242 MB / 3.19 GB, free: 335.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/6.162, allocations: 5.483 MB / 3.196 GB, free: 330 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/6.163, allocations: 11.94 kB / 3.196 GB, free: 330 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001351/6.164, allocations: 7.953 kB / 3.196 GB, free: 330 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002143/6.164, allocations: 223.6 kB / 3.196 GB, free: 329.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03335/6.197, allocations: 25.4 MB / 3.221 GB, free: 302.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004942/6.202, allocations: 3.615 MB / 3.224 GB, free: 299.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/6.205, allocations: 1.773 MB / 3.226 GB, free: 297.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007216/6.205, allocations: 0.5155 MB / 3.226 GB, free: 296.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002572/6.208, allocations: 1.925 MB / 3.228 GB, free: 294.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=256): time 6.412e-06/6.208, allocations: 0 / 3.228 GB, free: 294.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=259): time 0.01358/6.221, allocations: 6.613 MB / 3.235 GB, free: 288.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/6.222, allocations: 445.2 kB / 3.235 GB, free: 287.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/6.223, allocations: 1.356 MB / 3.236 GB, free: 286.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002803/6.224, allocations: 29.7 kB / 3.236 GB, free: 286.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/6.225, allocations: 1.726 MB / 3.238 GB, free: 284.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006154/6.226, allocations: 0.8313 MB / 3.239 GB, free: 283.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/6.226, allocations: 0 / 3.239 GB, free: 283.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001271/6.226, allocations: 415.8 kB / 3.239 GB, free: 283.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/6.228, allocations: 1.376 MB / 3.241 GB, free: 282 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/6.23, allocations: 2.061 MB / 3.243 GB, free: 279.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007484/6.237, allocations: 2.769 MB / 3.245 GB, free: 276.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/6.237, allocations: 4 kB / 3.245 GB, free: 276.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01221/6.249, allocations: 4.77 MB / 3.25 GB, free: 272 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.002042/6.251, allocations: 6.756 MB / 3.257 GB, free: 264.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.111e-05/6.251, allocations: 23.95 kB / 3.257 GB, free: 264.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.08e-05/6.252, allocations: 36 kB / 3.257 GB, free: 264.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004716/6.256, allocations: 0.8502 MB / 3.258 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.836e-05/6.256, allocations: 39.88 kB / 3.258 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003819/6.26, allocations: 362 kB / 3.258 GB, free: 263.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005445/6.261, allocations: 139.9 kB / 3.258 GB, free: 263.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/6.261, allocations: 6.031 kB / 3.258 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01329/6.274, allocations: 4.181 MB / 3.262 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.53e-05/6.274, allocations: 16.22 kB / 3.262 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/6.274, allocations: 36 kB / 3.262 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004111/6.278, allocations: 0.8034 MB / 3.263 GB, free: 258.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.323e-05/6.278, allocations: 35.92 kB / 3.263 GB, free: 258.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/6.282, allocations: 306.2 kB / 3.263 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005509/6.282, allocations: 135.9 kB / 3.263 GB, free: 257.9 MB / 1.151 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 () * 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.001077/6.283, allocations: 184.2 kB / 3.264 GB, free: 257.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007807/6.284, allocations: 233.2 kB / 3.264 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/6.298, allocations: 4.988 MB / 3.269 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/6.298, allocations: 28 kB / 3.269 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/6.298, allocations: 0 / 3.269 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.798e-05/6.298, allocations: 15.94 kB / 3.269 GB, free: 252.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/6.318, allocations: 9.202 MB / 3.278 GB, free: 243.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/6.318, allocations: 12.27 kB / 3.278 GB, free: 243.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004119/6.323, allocations: 0.7956 MB / 3.279 GB, free: 242.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.721e-05/6.323, allocations: 12 kB / 3.279 GB, free: 242.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003924/6.323, allocations: 43.89 kB / 3.279 GB, free: 242.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-05/6.323, allocations: 12 kB / 3.279 GB, free: 242.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/6.323, allocations: 11.92 kB / 3.279 GB, free: 242.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/6.334, allocations: 4.94 MB / 3.283 GB, free: 237.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/6.336, allocations: 0.8094 MB / 3.284 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008124/6.337, allocations: 4 kB / 3.284 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003245/6.34, allocations: 263.6 kB / 3.284 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000391/6.341, allocations: 169.8 kB / 3.285 GB, free: 235.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002886/6.341, allocations: 95.94 kB / 3.285 GB, free: 235.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001826/6.343, allocations: 1.094 MB / 3.286 GB, free: 234.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.7e-07/6.343, allocations: 4 kB / 3.286 GB, free: 234.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00618/6.349, allocations: 1.276 MB / 3.287 GB, free: 233.3 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 (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.001764/6.351, allocations: 0.6044 MB / 3.288 GB, free: 232.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00815/6.359, allocations: 5.192 MB / 3.293 GB, free: 227.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/6.359, allocations: 0 / 3.293 GB, free: 227.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002323/6.361, allocations: 1.732 MB / 3.294 GB, free: 225.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/6.365, allocations: 0.5235 MB / 3.295 GB, free: 225.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/6.377, allocations: 6.093 MB / 3.301 GB, free: 219.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/6.379, allocations: 2.702 MB / 3.303 GB, free: 216.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.007387/6.387, allocations: 1.405 MB / 3.305 GB, free: 215.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/6.388, allocations: 247.3 kB / 3.305 GB, free: 214.8 MB / 1.151 GB Notification: Performance of SimCode: time 6.71e-07/6.388, allocations: 0 / 3.305 GB, free: 214.8 MB / 1.151 GB Notification: Performance of Templates: time 0.06227/6.45, allocations: 42.46 MB / 3.347 GB, free: 172.5 MB / 1.151 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