Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.446/2.447, allocations: 251.1 MB / 266.1 MB, free: 11.57 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.001696/0.001696, allocations: 181 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.487/2.487, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.001071/0.001071, allocations: 97.83 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004914, allocations: 11.97 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2121, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.03161/0.2438, allocations: 21.88 MB / 0.9203 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2223/0.4661, allocations: 133.6 MB / 1.051 GB, free: 5.539 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003242/0.4694, allocations: 63.69 kB / 1.051 GB, free: 5.477 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.4717, allocations: 404.9 kB / 1.051 GB, free: 5.078 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006761/0.4785, allocations: 1.313 MB / 1.052 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00857/0.4871, allocations: 1.831 MB / 1.054 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.7723/1.26, allocations: 2.914 MB / 1.057 GB, free: 9.371 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01591/1.275, allocations: 6.418 MB / 1.063 GB, free: 8.434 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005635/1.281, allocations: 1.462 MB / 1.065 GB, free: 8.43 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005499/1.287, allocations: 1.663 MB / 1.066 GB, free: 8.418 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002095/1.289, allocations: 184.9 kB / 1.067 GB, free: 8.418 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/1.293, allocations: 0.5186 MB / 1.067 GB, free: 8.418 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00409/1.297, allocations: 1.262 MB / 1.068 GB, free: 8.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003095/1.3, allocations: 0.7967 MB / 1.069 GB, free: 8.387 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01237/1.313, allocations: 6.638 MB / 1.076 GB, free: 8.074 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.313, allocations: 0.625 kB / 1.076 GB, free: 8.074 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.745e-06/1.313, allocations: 4 kB / 1.076 GB, free: 8.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003434/1.313, allocations: 1.344 kB / 1.076 GB, free: 8.07 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: 1145 * Number of variables: 1145 Notification: Performance of Generate backend data structure: time 0.01723/1.33, allocations: 3.776 MB / 1.079 GB, free: 6.355 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/1.33, allocations: 9.031 kB / 1.079 GB, free: 6.355 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02371/1.354, allocations: 2.001 MB / 1.081 GB, free: 6.066 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008304/1.362, allocations: 2.337 MB / 1.084 GB, free: 5.566 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005462/1.363, allocations: 328 kB / 1.084 GB, free: 5.555 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002721/1.366, allocations: 434.4 kB / 1.084 GB, free: 5.547 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02886/1.395, allocations: 6.568 MB / 1.091 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002753/1.395, allocations: 8.844 kB / 1.091 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002312/1.397, allocations: 184.1 kB / 1.091 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003861/1.398, allocations: 225.6 kB / 1.091 GB, free: 4.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02904/1.427, allocations: 6.542 MB / 1.097 GB, free: 4.344 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06322/1.49, allocations: 23.76 MB / 1.121 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01834/1.509, allocations: 4.176 MB / 1.125 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/1.51, allocations: 0.5129 MB / 1.125 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00879/1.519, allocations: 2.026 MB / 1.127 GB, free: 4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=240): time 8.135e-06/1.519, allocations: 0 / 1.127 GB, free: 4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=243): time 0.03022/1.549, allocations: 7.203 MB / 1.134 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002411/1.549, allocations: 398.3 kB / 1.135 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003946/1.553, allocations: 1.7 MB / 1.136 GB, free: 316 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009146/1.554, allocations: 68.7 kB / 1.136 GB, free: 284 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002327/1.557, allocations: 1.731 MB / 1.138 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001758/1.558, allocations: 0.8131 MB / 1.139 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003973/1.559, allocations: 54.34 kB / 1.139 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003474/1.559, allocations: 413.8 kB / 1.139 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007407/1.567, allocations: 1.548 MB / 1.141 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008529/1.575, allocations: 2.246 MB / 1.143 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008306/1.584, allocations: 1.83 MB / 1.145 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.944e-05/1.584, allocations: 9.359 kB / 1.145 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=337) (initialization): time 0.01981/1.604, allocations: 4.138 MB / 1.149 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003991/1.608, allocations: 7.248 MB / 1.156 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/1.608, allocations: 16 kB / 1.156 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.56e-05/1.608, allocations: 35.98 kB / 1.156 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00892/1.617, allocations: 0.8114 MB / 1.157 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-05/1.617, allocations: 37.8 kB / 1.157 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006702/1.624, allocations: 391 kB / 1.157 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.625, allocations: 132.1 kB / 1.157 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.625, allocations: 6.906 kB / 1.157 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01807/1.643, allocations: 3.69 MB / 1.161 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.204e-05/1.643, allocations: 20.97 kB / 1.161 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-05/1.643, allocations: 32 kB / 1.161 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008307/1.651, allocations: 0.7713 MB / 1.162 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.656e-05/1.652, allocations: 44.7 kB / 1.162 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00613/1.658, allocations: 331.9 kB / 1.162 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/1.659, allocations: 136.7 kB / 1.162 GB, free: 13.72 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (337): * Single equations (assignments): 337 * 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.004879/1.664, allocations: 1.277 MB / 1.163 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.665, allocations: 243 kB / 1.164 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02126/1.686, allocations: 4.129 MB / 1.168 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/1.686, allocations: 24 kB / 1.168 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.686, allocations: 0 / 1.168 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.187e-05/1.686, allocations: 15.95 kB / 1.168 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03402/1.72, allocations: 8.892 MB / 1.176 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/1.72, allocations: 8.031 kB / 1.176 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008222/1.729, allocations: 0.7216 MB / 1.177 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.194e-05/1.729, allocations: 12 kB / 1.177 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008165/1.73, allocations: 66.94 kB / 1.177 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-05/1.73, allocations: 14.91 kB / 1.177 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.73, allocations: 4 kB / 1.177 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/1.748, allocations: 4.106 MB / 1.181 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003201/1.751, allocations: 0.7587 MB / 1.182 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/1.752, allocations: 46.81 kB / 1.182 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005979/1.758, allocations: 275.4 kB / 1.182 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009687/1.759, allocations: 162.5 kB / 1.182 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005035/1.76, allocations: 88.81 kB / 1.183 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003575/1.763, allocations: 1.23 MB / 1.184 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.32e-07/1.763, allocations: 0 / 1.184 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.009292/1.773, allocations: 1.26 MB / 1.185 GB, free: 12.74 MB / 0.7605 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 (262): * Single equations (assignments): 260 * 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.002863/1.776, allocations: 0.6259 MB / 1.186 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02658/1.802, allocations: 5.687 MB / 1.191 GB, free: 8.496 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/1.802, allocations: 0 / 1.191 GB, free: 8.496 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.008669/1.811, allocations: 1.832 MB / 1.193 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/1.817, allocations: 0.5234 MB / 1.193 GB, free: 6.871 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/1.847, allocations: 9.04 MB / 1.202 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005671/1.852, allocations: 2.611 MB / 1.205 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.01137/1.864, allocations: 1.261 MB / 1.206 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002758/1.867, allocations: 268.9 kB / 1.206 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of SimCode: time 1.522e-06/1.867, allocations: 0 / 1.206 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of Templates: time 0.1364/2.003, allocations: 38.19 MB / 1.244 GB, free: 5.059 MB / 0.8073 GB