Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.922/4.922, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00237/0.00237, allocations: 364.7 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.154/4.154, allocations: 410.7 MB / 1.112 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001912/0.001912, allocations: 191 kB / 1.225 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004957, allocations: 12 kB / 1.348 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5837, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.02547/0.6092, allocations: 23.42 MB / 1.484 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.174/0.7833, allocations: 142.9 MB / 1.623 GB, free: 118 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00298/0.7863, allocations: 71.69 kB / 1.623 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.788, allocations: 424.4 kB / 1.624 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005282/0.7934, allocations: 1.447 MB / 1.625 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00608/0.7995, allocations: 1.863 MB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.007189/0.8067, allocations: 6.52 MB / 1.633 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01213/0.8188, allocations: 6.904 MB / 1.64 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.8219, allocations: 1.727 MB / 1.642 GB, free: 99.02 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/0.8254, allocations: 2.335 MB / 1.644 GB, free: 96.67 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0008402/0.8263, allocations: 200 kB / 1.644 GB, free: 96.48 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.8283, allocations: 0.5968 MB / 1.645 GB, free: 95.88 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.00177/0.8301, allocations: 1.472 MB / 1.646 GB, free: 94.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.8314, allocations: 0.8704 MB / 1.647 GB, free: 93.52 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.007425/0.8388, allocations: 7.239 MB / 1.654 GB, free: 86.27 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.878e-06/0.8389, allocations: 0 / 1.654 GB, free: 86.27 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.499e-06/0.8389, allocations: 0 / 1.654 GB, free: 86.27 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001542/0.839, allocations: 0 / 1.654 GB, free: 86.27 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1228 * Number of variables: 1228 Notification: Performance of Generate backend data structure: time 0.009707/0.8488, allocations: 4.001 MB / 1.658 GB, free: 82.19 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.8488, allocations: 15.62 kB / 1.658 GB, free: 82.18 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/0.8632, allocations: 2.07 MB / 1.66 GB, free: 80.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005517/0.8688, allocations: 2.514 MB / 1.662 GB, free: 77.53 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003054/0.8692, allocations: 349.4 kB / 1.663 GB, free: 77.19 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/0.8704, allocations: 463.8 kB / 1.663 GB, free: 76.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02425/0.8947, allocations: 7.09 MB / 1.67 GB, free: 69.41 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/0.8949, allocations: 11.92 kB / 1.67 GB, free: 69.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007576/0.8956, allocations: 203.9 kB / 1.67 GB, free: 69.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002839/0.8959, allocations: 256 kB / 1.671 GB, free: 68.95 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0198/0.9157, allocations: 6.881 MB / 1.677 GB, free: 62.04 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04166/0.9574, allocations: 26.96 MB / 1.704 GB, free: 33.46 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/0.9691, allocations: 4.266 MB / 1.708 GB, free: 29.17 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00532/0.9744, allocations: 2.07 MB / 1.71 GB, free: 27.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007776/0.9753, allocations: 0.519 MB / 1.71 GB, free: 26.48 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0057/0.981, allocations: 2.229 MB / 1.713 GB, free: 24.22 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=254): time 7.523e-06/0.981, allocations: 4 kB / 1.713 GB, free: 24.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=257): time 0.02434/1.005, allocations: 7.916 MB / 1.72 GB, free: 16.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/1.006, allocations: 393.8 kB / 1.721 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005487/1.011, allocations: 1.785 MB / 1.722 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008755/1.012, allocations: 69.7 kB / 1.722 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002528/1.015, allocations: 1.825 MB / 1.724 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/1.016, allocations: 0.8586 MB / 1.725 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003524/1.016, allocations: 56 kB / 1.725 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.016, allocations: 411.7 kB / 1.725 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005274/1.022, allocations: 1.684 MB / 1.727 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005828/1.027, allocations: 2.38 MB / 1.729 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005639/1.033, allocations: 1.964 MB / 1.731 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/1.033, allocations: 4 kB / 1.731 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.6045/1.638, allocations: 4.428 MB / 1.736 GB, free: 261 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000448/1.638, allocations: 0.5937 MB / 1.736 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-05/1.638, allocations: 17.2 kB / 1.736 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001106/1.638, allocations: 35.45 kB / 1.736 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009449/1.648, allocations: 0.8458 MB / 1.737 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001197/1.648, allocations: 40.92 kB / 1.737 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004687/1.653, allocations: 395.2 kB / 1.738 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000912/1.654, allocations: 142.8 kB / 1.738 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.654, allocations: 7.875 kB / 1.738 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01371/1.668, allocations: 3.889 MB / 1.742 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.255e-05/1.668, allocations: 20.12 kB / 1.742 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.364e-05/1.668, allocations: 30.67 kB / 1.742 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00566/1.673, allocations: 0.7894 MB / 1.742 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.555e-05/1.674, allocations: 41.8 kB / 1.742 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004274/1.678, allocations: 356.4 kB / 1.743 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000721/1.679, allocations: 137 kB / 1.743 GB, free: 259.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (355): * Single equations (assignments): 355 * 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.003585/1.682, allocations: 1.363 MB / 1.744 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007493/1.683, allocations: 249.8 kB / 1.744 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/1.698, allocations: 4.526 MB / 1.749 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.192e-05/1.698, allocations: 30.56 kB / 1.749 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/1.698, allocations: 2.469 kB / 1.749 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-05/1.698, allocations: 11.48 kB / 1.749 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02456/1.723, allocations: 9.63 MB / 1.758 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/1.723, allocations: 5.906 kB / 1.758 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005979/1.729, allocations: 0.7713 MB / 1.759 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.176e-05/1.729, allocations: 11.44 kB / 1.759 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005885/1.73, allocations: 74.84 kB / 1.759 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.401e-05/1.73, allocations: 11.88 kB / 1.759 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.675e-06/1.73, allocations: 6.125 kB / 1.759 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/1.743, allocations: 4.317 MB / 1.763 GB, free: 250.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00249/1.746, allocations: 0.8147 MB / 1.764 GB, free: 249.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/1.747, allocations: 49.28 kB / 1.764 GB, free: 249.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004058/1.751, allocations: 288.3 kB / 1.764 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006266/1.751, allocations: 167.1 kB / 1.765 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004373/1.752, allocations: 94.78 kB / 1.765 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002783/1.755, allocations: 1.282 MB / 1.766 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.029e-06/1.755, allocations: 0.875 kB / 1.766 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006483/1.761, allocations: 1.362 MB / 1.767 GB, free: 247.1 MB / 0.8542 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.002329/1.764, allocations: 0.6285 MB / 1.768 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01695/1.781, allocations: 6.14 MB / 1.774 GB, free: 240.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.781, allocations: 4 kB / 1.774 GB, free: 240.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005644/1.786, allocations: 2.013 MB / 1.776 GB, free: 238.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004515/1.791, allocations: 0.6251 MB / 1.777 GB, free: 238 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/1.809, allocations: 9.808 MB / 1.786 GB, free: 228.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003327/1.812, allocations: 2.773 MB / 1.789 GB, free: 225.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.007974/1.82, allocations: 1.275 MB / 1.79 GB, free: 224.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001862/1.822, allocations: 283.2 kB / 1.79 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.78e-06/1.822, allocations: 0 / 1.79 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.1324/1.955, allocations: 41.68 MB / 1.831 GB, free: 182.8 MB / 0.8542 GB