Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.721/1.721, allocations: 288.4 MB / 304.3 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009432/0.0009432, allocations: 179 kB / 372.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 0.6317 GB, free: 9.855 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007972/0.0007971, allocations: 90.86 kB / 0.745 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005089, allocations: 12.75 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2388, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.141/5.38, allocations: 2.12 GB / 3.101 GB, free: 187.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/5.381, allocations: 111.8 kB / 3.101 GB, free: 187.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.036/6.416, allocations: 187.5 MB / 3.284 GB, free: 250.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.285e-06/6.416, allocations: 0 / 3.284 GB, free: 250.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004642/6.417, allocations: 101.3 kB / 3.284 GB, free: 250.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01401/6.431, allocations: 3.886 MB / 3.288 GB, free: 250 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/6.431, allocations: 9.406 kB / 3.288 GB, free: 250 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/6.445, allocations: 1.81 MB / 3.29 GB, free: 249.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007344/6.452, allocations: 2.468 MB / 3.292 GB, free: 249.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004858/6.452, allocations: 318.9 kB / 3.293 GB, free: 249.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002055/6.455, allocations: 418.1 kB / 3.293 GB, free: 249.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0208/6.475, allocations: 6.493 MB / 3.299 GB, free: 248.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003215/6.476, allocations: 7.125 kB / 3.299 GB, free: 248.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001828/6.478, allocations: 187.1 kB / 3.3 GB, free: 248.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003295/6.478, allocations: 217.5 kB / 3.3 GB, free: 248.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02076/6.499, allocations: 6.462 MB / 3.306 GB, free: 248.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05053/6.549, allocations: 26.21 MB / 3.332 GB, free: 236.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/6.561, allocations: 4.249 MB / 3.336 GB, free: 236 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005282/6.567, allocations: 2.07 MB / 3.338 GB, free: 236 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009634/6.568, allocations: 0.5083 MB / 3.338 GB, free: 235.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005935/6.574, allocations: 2.234 MB / 3.341 GB, free: 235.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 1.172e-05/6.574, allocations: 0 / 3.341 GB, free: 235.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.02583/6.6, allocations: 7.72 MB / 3.348 GB, free: 233.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/6.6, allocations: 449.4 kB / 3.349 GB, free: 232.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003739/6.604, allocations: 1.787 MB / 3.35 GB, free: 232.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000813/6.604, allocations: 70.17 kB / 3.35 GB, free: 232.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001921/6.606, allocations: 1.717 MB / 3.352 GB, free: 231.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0015/6.608, allocations: 0.8565 MB / 3.353 GB, free: 230.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006557/6.609, allocations: 55.59 kB / 3.353 GB, free: 230.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002686/6.609, allocations: 413.3 kB / 3.353 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004414/6.613, allocations: 1.657 MB / 3.355 GB, free: 229.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004972/6.618, allocations: 2.384 MB / 3.357 GB, free: 228.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009502/6.628, allocations: 4.057 MB / 3.361 GB, free: 226.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.208e-05/6.628, allocations: 6.875 kB / 3.361 GB, free: 226.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01184/6.64, allocations: 4.36 MB / 3.365 GB, free: 224.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004183/6.64, allocations: 0.5958 MB / 3.366 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.1e-05/6.64, allocations: 17.08 kB / 3.366 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.962e-05/6.64, allocations: 31.88 kB / 3.366 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004504/6.645, allocations: 0.8292 MB / 3.367 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-05/6.645, allocations: 47.41 kB / 3.367 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004413/6.649, allocations: 397.5 kB / 3.367 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006723/6.65, allocations: 135.9 kB / 3.367 GB, free: 223.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/6.65, allocations: 5.25 kB / 3.367 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01031/6.66, allocations: 3.83 MB / 3.371 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.879e-05/6.66, allocations: 15.59 kB / 3.371 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.36e-05/6.66, allocations: 33.47 kB / 3.371 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004139/6.665, allocations: 0.7811 MB / 3.372 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-05/6.665, allocations: 42.38 kB / 3.372 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004141/6.669, allocations: 354.2 kB / 3.372 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006218/6.67, allocations: 130 kB / 3.372 GB, free: 221.9 MB / 0.948 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 (346): * Single equations (assignments): 346 * 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.004089/6.674, allocations: 1.316 MB / 3.374 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/6.675, allocations: 245.8 kB / 3.374 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/6.687, allocations: 4.501 MB / 3.378 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/6.687, allocations: 26.56 kB / 3.378 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-05/6.687, allocations: 9.422 kB / 3.378 GB, free: 219.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4e-05/6.688, allocations: 14.56 kB / 3.378 GB, free: 219.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02254/6.71, allocations: 9.489 MB / 3.388 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/6.71, allocations: 0 / 3.388 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004145/6.714, allocations: 0.7808 MB / 3.388 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.15e-05/6.714, allocations: 11.02 kB / 3.389 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004813/6.715, allocations: 69.7 kB / 3.389 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.451e-05/6.715, allocations: 10.38 kB / 3.389 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/6.715, allocations: 8 kB / 3.389 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/6.726, allocations: 4.304 MB / 3.393 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002618/6.728, allocations: 0.8256 MB / 3.394 GB, free: 212.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/6.73, allocations: 53.41 kB / 3.394 GB, free: 212.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003782/6.733, allocations: 293.5 kB / 3.394 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005292/6.734, allocations: 161 kB / 3.394 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003949/6.734, allocations: 96.77 kB / 3.394 GB, free: 212.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003093/6.737, allocations: 1.296 MB / 3.395 GB, free: 212 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.91e-07/6.737, allocations: 4 kB / 3.395 GB, free: 212 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007807/6.745, allocations: 1.405 MB / 3.397 GB, free: 211.9 MB / 0.948 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 (276): * Single equations (assignments): 274 * 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.00224/6.748, allocations: 0.6697 MB / 3.397 GB, free: 211.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02012/6.768, allocations: 6.055 MB / 3.403 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.036e-05/6.768, allocations: 0.5625 kB / 3.403 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00523/6.773, allocations: 2.011 MB / 3.405 GB, free: 209.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006162/6.779, allocations: 0.6104 MB / 3.406 GB, free: 208.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/6.798, allocations: 9.414 MB / 3.415 GB, free: 203.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003437/6.802, allocations: 2.611 MB / 3.418 GB, free: 202.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007568/6.809, allocations: 1.276 MB / 3.419 GB, free: 202.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001746/6.811, allocations: 273.4 kB / 3.419 GB, free: 202.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.242e-06/6.811, allocations: 0 / 3.419 GB, free: 202.5 MB / 0.948 GB Notification: Performance of Templates: time 0.06888/6.88, allocations: 42.27 MB / 3.46 GB, free: 185.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)