Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.594/2.594, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 187.6 kB / 325.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.67/2.67, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001482/0.001481, allocations: 94.36 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007347/0.000735, allocations: 12.44 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2178, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01434/0.2322, allocations: 9.506 MB / 0.9082 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2107/0.4429, allocations: 129.7 MB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.445, allocations: 31.81 kB / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.4461, allocations: 174.4 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.4504, allocations: 0.7975 MB / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005174/0.4556, allocations: 1.131 MB / 1.037 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004833/0.4604, allocations: 1.682 MB / 1.039 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006186/0.4667, allocations: 2.289 MB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.4691, allocations: 0.8128 MB / 1.042 GB, free: 14.9 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.4714, allocations: 0.8687 MB / 1.042 GB, free: 14.03 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005747/0.4721, allocations: 67.94 kB / 1.043 GB, free: 13.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.474, allocations: 391.5 kB / 1.043 GB, free: 13.58 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009223/0.475, allocations: 450.1 kB / 1.043 GB, free: 13.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009108/0.476, allocations: 460.3 kB / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005932/0.4819, allocations: 3.152 MB / 1.047 GB, free: 9.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4819, allocations: 0 / 1.047 GB, free: 9.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.378e-06/0.482, allocations: 0 / 1.047 GB, free: 9.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001255/0.4821, allocations: 3.938 kB / 1.047 GB, free: 9.516 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.008675/0.4908, allocations: 2.376 MB / 1.049 GB, free: 7.078 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.4909, allocations: 12.02 kB / 1.049 GB, free: 7.066 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02011/0.511, allocations: 1.666 MB / 1.051 GB, free: 5.395 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00447/0.5155, allocations: 1.401 MB / 1.052 GB, free: 3.934 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.5158, allocations: 185 kB / 1.052 GB, free: 3.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/0.517, allocations: 255.9 kB / 1.053 GB, free: 3.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6072/1.124, allocations: 3.394 MB / 1.056 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001895/1.124, allocations: 9.219 kB / 1.056 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/1.126, allocations: 105.9 kB / 1.056 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000263/1.126, allocations: 119.8 kB / 1.056 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01957/1.145, allocations: 3.922 MB / 1.06 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02998/1.176, allocations: 10.04 MB / 1.07 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/1.191, allocations: 2.705 MB / 1.072 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/1.192, allocations: 0.5864 MB / 1.073 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007512/1.2, allocations: 1.514 MB / 1.074 GB, free: 147.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 7.464e-06/1.2, allocations: 4 kB / 1.074 GB, free: 147.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.02205/1.222, allocations: 4.265 MB / 1.079 GB, free: 145 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/1.222, allocations: 257 kB / 1.079 GB, free: 144.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/1.224, allocations: 1.083 MB / 1.08 GB, free: 144.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007519/1.225, allocations: 62.45 kB / 1.08 GB, free: 144.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009333/1.226, allocations: 0.9388 MB / 1.081 GB, free: 143.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/1.227, allocations: 0.6398 MB / 1.082 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/1.228, allocations: 39.56 kB / 1.082 GB, free: 142.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.228, allocations: 382.7 kB / 1.082 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005948/1.234, allocations: 1.048 MB / 1.083 GB, free: 141.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006333/1.24, allocations: 1.382 MB / 1.084 GB, free: 140.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005976/1.246, allocations: 1.155 MB / 1.085 GB, free: 140.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/1.246, allocations: 3.906 kB / 1.085 GB, free: 140.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01448/1.261, allocations: 2.738 MB / 1.088 GB, free: 138.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005701/1.261, allocations: 2.46 MB / 1.09 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/1.261, allocations: 10.02 kB / 1.091 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.33e-05/1.261, allocations: 19.19 kB / 1.091 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006376/1.268, allocations: 0.5471 MB / 1.091 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.708e-05/1.268, allocations: 15.09 kB / 1.091 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004498/1.272, allocations: 268.1 kB / 1.091 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006836/1.273, allocations: 90.89 kB / 1.091 GB, free: 135.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.273, allocations: 3.938 kB / 1.091 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01265/1.286, allocations: 2.512 MB / 1.094 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/1.286, allocations: 6.156 kB / 1.094 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/1.286, allocations: 15.72 kB / 1.094 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005842/1.292, allocations: 0.5408 MB / 1.094 GB, free: 134.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.41e-05/1.292, allocations: 19.84 kB / 1.094 GB, free: 134.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/1.296, allocations: 262.1 kB / 1.095 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005802/1.297, allocations: 91.92 kB / 1.095 GB, free: 133.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (229): * Single equations (assignments): 229 * 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.001954/1.299, allocations: 0.5716 MB / 1.095 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000618/1.299, allocations: 169.9 kB / 1.096 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/1.315, allocations: 3.134 MB / 1.099 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/1.315, allocations: 27.95 kB / 1.099 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/1.315, allocations: 0 / 1.099 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.205e-05/1.315, allocations: 7.969 kB / 1.099 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02066/1.336, allocations: 5.86 MB / 1.104 GB, free: 124 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.336, allocations: 3.938 kB / 1.104 GB, free: 124 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005895/1.342, allocations: 0.511 MB / 1.105 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.807e-05/1.342, allocations: 8 kB / 1.105 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004786/1.342, allocations: 59.94 kB / 1.105 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-05/1.342, allocations: 8 kB / 1.105 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.342, allocations: 4 kB / 1.105 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/1.354, allocations: 2.883 MB / 1.108 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/1.356, allocations: 0.5762 MB / 1.108 GB, free: 119.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004916/1.357, allocations: 36 kB / 1.108 GB, free: 119.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004072/1.361, allocations: 213.6 kB / 1.109 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004795/1.361, allocations: 129.8 kB / 1.109 GB, free: 119.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003441/1.362, allocations: 75.94 kB / 1.109 GB, free: 119.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001539/1.363, allocations: 0.7753 MB / 1.109 GB, free: 118.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.363, allocations: 0 / 1.109 GB, free: 118.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004183/1.367, allocations: 0.7772 MB / 1.11 GB, free: 117.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 210 * 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.002068/1.369, allocations: 0.6091 MB / 1.111 GB, free: 117.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0216/1.391, allocations: 3.97 MB / 1.115 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/1.391, allocations: 4 kB / 1.115 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.009682/1.401, allocations: 1.363 MB / 1.116 GB, free: 112.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/1.404, allocations: 360.4 kB / 1.116 GB, free: 111.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/1.42, allocations: 5.362 MB / 1.122 GB, free: 106.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/1.421, allocations: 1.596 MB / 1.123 GB, free: 104.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.008256/1.43, allocations: 0.7827 MB / 1.124 GB, free: 104 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001931/1.432, allocations: 215.3 kB / 1.124 GB, free: 103.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.874e-06/1.432, allocations: 4 kB / 1.124 GB, free: 103.7 MB / 0.698 GB Notification: Performance of Templates: time 0.06967/1.501, allocations: 26.56 MB / 1.15 GB, free: 77.31 MB / 0.698 GB