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.791/1.791, allocations: 288.3 MB / 303.2 MB, free: 8.219 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.001004/0.001004, allocations: 182 kB / 371.8 MB, free: 10.25 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.493/1.493, allocations: 205.4 MB / 0.6306 GB, free: 9.965 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.0008262/0.0008259, allocations: 101.1 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003504, allocations: 12.09 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2039, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.987/6.191, allocations: 2.12 GB / 3.1 GB, free: 188.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003991/6.192, allocations: 107.9 kB / 3.1 GB, free: 188 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.175/7.367, allocations: 187.4 MB / 3.283 GB, free: 250.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.985e-06/7.367, allocations: 0.5625 kB / 3.283 GB, free: 250.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005218/7.367, allocations: 98.48 kB / 3.283 GB, free: 250.6 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.01657/7.384, allocations: 3.934 MB / 3.287 GB, free: 249.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/7.384, allocations: 14.2 kB / 3.287 GB, free: 249.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01502/7.399, allocations: 1.804 MB / 3.288 GB, free: 249.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009995/7.409, allocations: 2.405 MB / 3.291 GB, free: 249.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005033/7.409, allocations: 319.3 kB / 3.291 GB, free: 249 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001828/7.411, allocations: 422.1 kB / 3.292 GB, free: 249 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02238/7.434, allocations: 6.457 MB / 3.298 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/7.434, allocations: 10.03 kB / 3.298 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006721/7.434, allocations: 178.6 kB / 3.298 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000426/7.435, allocations: 222.7 kB / 3.298 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02154/7.456, allocations: 6.461 MB / 3.305 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05808/7.515, allocations: 26.19 MB / 3.33 GB, free: 236 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/7.528, allocations: 4.289 MB / 3.334 GB, free: 235.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/7.529, allocations: 0.513 MB / 3.335 GB, free: 235.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007136/7.536, allocations: 2.222 MB / 3.337 GB, free: 235.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 1.825e-05/7.536, allocations: 0 / 3.337 GB, free: 235.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.02675/7.563, allocations: 7.713 MB / 3.345 GB, free: 233.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/7.563, allocations: 441.3 kB / 3.345 GB, free: 232.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004374/7.568, allocations: 1.589 MB / 3.346 GB, free: 232.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009669/7.569, allocations: 74.52 kB / 3.347 GB, free: 232.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002076/7.571, allocations: 1.711 MB / 3.348 GB, free: 231.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001332/7.572, allocations: 0.8603 MB / 3.349 GB, free: 231.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004438/7.573, allocations: 55.08 kB / 3.349 GB, free: 231.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002171/7.573, allocations: 413.8 kB / 3.35 GB, free: 230.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004026/7.577, allocations: 1.657 MB / 3.351 GB, free: 230.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004369/7.581, allocations: 2.377 MB / 3.353 GB, free: 228.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/7.585, allocations: 1.937 MB / 3.355 GB, free: 228.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/7.585, allocations: 11.42 kB / 3.355 GB, free: 228.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01005/7.595, allocations: 4.356 MB / 3.36 GB, free: 226.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001723/7.597, allocations: 6.841 MB / 3.366 GB, free: 219.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/7.597, allocations: 16.97 kB / 3.366 GB, free: 219.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.225e-05/7.597, allocations: 31.38 kB / 3.366 GB, free: 219.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004439/7.602, allocations: 0.8367 MB / 3.367 GB, free: 219 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.101e-05/7.602, allocations: 42.06 kB / 3.367 GB, free: 219 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/7.606, allocations: 389.6 kB / 3.368 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005282/7.607, allocations: 141.9 kB / 3.368 GB, free: 218.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/7.607, allocations: 5.75 kB / 3.368 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01001/7.617, allocations: 3.837 MB / 3.371 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.394e-05/7.617, allocations: 17.41 kB / 3.371 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.125e-05/7.617, allocations: 33.09 kB / 3.371 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003681/7.621, allocations: 0.7795 MB / 3.372 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.956e-05/7.621, allocations: 41.36 kB / 3.372 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/7.625, allocations: 357.9 kB / 3.373 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00041/7.625, allocations: 128.7 kB / 3.373 GB, free: 217.3 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.003867/7.629, allocations: 1.319 MB / 3.374 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/7.63, allocations: 243.2 kB / 3.374 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/7.641, allocations: 4.523 MB / 3.379 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.319e-05/7.642, allocations: 35.92 kB / 3.379 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.182e-05/7.642, allocations: 0 / 3.379 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.323e-05/7.642, allocations: 11.02 kB / 3.379 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02425/7.666, allocations: 9.485 MB / 3.388 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/7.666, allocations: 3.656 kB / 3.388 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004295/7.67, allocations: 0.7835 MB / 3.389 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.368e-05/7.67, allocations: 14.39 kB / 3.389 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005528/7.671, allocations: 71.52 kB / 3.389 GB, free: 210.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.552e-05/7.671, allocations: 10.59 kB / 3.389 GB, free: 210.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/7.671, allocations: 3.875 kB / 3.389 GB, free: 210.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/7.681, allocations: 4.453 MB / 3.393 GB, free: 208.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002861/7.684, allocations: 0.8259 MB / 3.394 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001295/7.686, allocations: 49.94 kB / 3.394 GB, free: 207.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00376/7.689, allocations: 295.3 kB / 3.394 GB, free: 207.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004153/7.69, allocations: 161.8 kB / 3.395 GB, free: 207.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003513/7.69, allocations: 96.31 kB / 3.395 GB, free: 207.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003464/7.694, allocations: 1.302 MB / 3.396 GB, free: 207.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.496e-06/7.694, allocations: 0 / 3.396 GB, free: 207.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009498/7.703, allocations: 1.407 MB / 3.397 GB, free: 207.1 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.002613/7.706, allocations: 0.6633 MB / 3.398 GB, free: 206.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0152/7.721, allocations: 6.051 MB / 3.404 GB, free: 204.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.586e-05/7.721, allocations: 7.156 kB / 3.404 GB, free: 204.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004876/7.726, allocations: 2.008 MB / 3.406 GB, free: 204.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/7.731, allocations: 0.5857 MB / 3.406 GB, free: 204.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/7.753, allocations: 9.388 MB / 3.416 GB, free: 199 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004606/7.758, allocations: 2.693 MB / 3.418 GB, free: 198 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008661/7.766, allocations: 1.278 MB / 3.419 GB, free: 197.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/7.768, allocations: 274.1 kB / 3.42 GB, free: 197.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.314e-06/7.768, allocations: 0 / 3.42 GB, free: 197.7 MB / 0.948 GB Notification: Performance of Templates: time 0.08646/7.854, allocations: 41.87 MB / 3.461 GB, free: 183.6 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)