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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.321/2.321, allocations: 253.2 MB / 260.6 MB, free: 7.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002131/0.002131, allocations: 176.9 kB / 319.9 MB, free: 3.027 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.196/2.196, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.00109/0.00109, allocations: 100.9 kB / 0.6751 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.16e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1985, allocations: 106.2 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.661/7.859, allocations: 2.238 GB / 3.127 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/7.86, allocations: 101.4 kB / 3.127 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.408/9.268, allocations: 184.9 MB / 3.308 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.374e-06/9.268, allocations: 0 / 3.308 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003903/9.268, allocations: 109.3 kB / 3.308 GB, free: 234.8 MB / 0.8698 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.01626/9.285, allocations: 3.63 MB / 3.311 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/9.285, allocations: 11.56 kB / 3.311 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02101/9.306, allocations: 1.806 MB / 3.313 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008155/9.314, allocations: 2.404 MB / 3.315 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/9.314, allocations: 137.8 kB / 3.316 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002104/9.316, allocations: 249.3 kB / 3.316 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01661/9.333, allocations: 5.159 MB / 3.321 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/9.353, allocations: 5.406 MB / 3.326 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002056/9.354, allocations: 13.5 kB / 3.326 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001575/9.355, allocations: 17.83 kB / 3.326 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003204/9.355, allocations: 217 kB / 3.326 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05463/9.41, allocations: 25.16 MB / 3.351 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009408/9.42, allocations: 3.626 MB / 3.354 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004329/9.424, allocations: 1.75 MB / 3.356 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/9.425, allocations: 0.5142 MB / 3.357 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005128/9.43, allocations: 1.907 MB / 3.359 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=254): time 8.556e-06/9.43, allocations: 3.719 kB / 3.359 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=257): time 0.02395/9.454, allocations: 6.398 MB / 3.365 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/9.455, allocations: 448.9 kB / 3.365 GB, free: 210 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/9.458, allocations: 1.393 MB / 3.367 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009308/9.459, allocations: 29.58 kB / 3.367 GB, free: 209.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00182/9.46, allocations: 1.711 MB / 3.368 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001582/9.462, allocations: 0.8276 MB / 3.369 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003834/9.462, allocations: 0 / 3.369 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002224/9.463, allocations: 411.5 kB / 3.369 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003558/9.466, allocations: 1.359 MB / 3.371 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004615/9.471, allocations: 2.052 MB / 3.373 GB, free: 205 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.014/9.485, allocations: 2.602 MB / 3.375 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-05/9.485, allocations: 7.125 kB / 3.375 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.02132/9.506, allocations: 4.585 MB / 3.38 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00153/9.508, allocations: 6.788 MB / 3.386 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-05/9.508, allocations: 14.59 kB / 3.386 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-05/9.508, allocations: 37.05 kB / 3.387 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008496/9.517, allocations: 0.8376 MB / 3.387 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.734e-05/9.517, allocations: 43.53 kB / 3.387 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006437/9.523, allocations: 340.5 kB / 3.388 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/9.524, allocations: 138.4 kB / 3.388 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/9.524, allocations: 7.781 kB / 3.388 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01937/9.544, allocations: 4.004 MB / 3.392 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-05/9.544, allocations: 18.06 kB / 3.392 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.105e-05/9.544, allocations: 33.56 kB / 3.392 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007949/9.552, allocations: 0.7785 MB / 3.393 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.07e-05/9.552, allocations: 46.22 kB / 3.393 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0061/9.558, allocations: 291.2 kB / 3.393 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/9.559, allocations: 138.6 kB / 3.393 GB, free: 194 MB / 0.8698 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 () * 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.001294/9.561, allocations: 175.6 kB / 3.393 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/9.562, allocations: 239.1 kB / 3.393 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02309/9.585, allocations: 4.796 MB / 3.398 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.488e-05/9.585, allocations: 28 kB / 3.398 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/9.585, allocations: 0.6562 kB / 3.398 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.019e-05/9.585, allocations: 16.45 kB / 3.398 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03078/9.616, allocations: 8.983 MB / 3.407 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/9.616, allocations: 0 / 3.407 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007998/9.624, allocations: 0.7797 MB / 3.408 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.036e-05/9.624, allocations: 12 kB / 3.408 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007455/9.625, allocations: 37.41 kB / 3.408 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.966e-05/9.625, allocations: 18.91 kB / 3.408 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/9.625, allocations: 7.469 kB / 3.408 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01891/9.644, allocations: 4.765 MB / 3.412 GB, free: 178 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002977/9.647, allocations: 0.8127 MB / 3.413 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/9.648, allocations: 8 kB / 3.413 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005814/9.654, allocations: 247.7 kB / 3.413 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008521/9.655, allocations: 159.9 kB / 3.414 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004478/9.655, allocations: 95.94 kB / 3.414 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002432/9.658, allocations: 1.115 MB / 3.415 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.61e-07/9.658, allocations: 0 / 3.415 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008404/9.666, allocations: 1.253 MB / 3.416 GB, free: 174.2 MB / 0.8698 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) * 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.002383/9.668, allocations: 0.5439 MB / 3.417 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01411/9.683, allocations: 5.145 MB / 3.422 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/9.683, allocations: 0.5625 kB / 3.422 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004513/9.687, allocations: 1.718 MB / 3.423 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005618/9.693, allocations: 0.5275 MB / 3.424 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/9.711, allocations: 6.023 MB / 3.43 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003521/9.714, allocations: 2.693 MB / 3.432 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01112/9.726, allocations: 1.402 MB / 3.434 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002231/9.728, allocations: 243.3 kB / 3.434 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/9.728, allocations: 4 kB / 3.434 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.1041/9.832, allocations: 41.98 MB / 3.475 GB, free: 114.8 MB / 0.8698 GB