Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.348/2.348, 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.001528/0.001528, allocations: 177.4 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.515/2.515, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001099/0.001099, allocations: 90.34 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006657/0.0006662, allocations: 12.62 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2236, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.02018/0.2439, allocations: 8.181 MB / 0.9069 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2557/0.4997, allocations: 129.7 MB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/0.502, allocations: 31.81 kB / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.5032, allocations: 174.4 kB / 1.034 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005949/0.5092, allocations: 0.8012 MB / 1.035 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007554/0.5168, allocations: 1.127 MB / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006515/0.5233, allocations: 1.682 MB / 1.037 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007866/0.5313, allocations: 2.276 MB / 1.039 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002917/0.5342, allocations: 0.8206 MB / 1.04 GB, free: 208 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003265/0.5375, allocations: 0.8666 MB / 1.041 GB, free: 15.33 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007961/0.5384, allocations: 64 kB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.5409, allocations: 395.5 kB / 1.042 GB, free: 14.88 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.5421, allocations: 450.1 kB / 1.042 GB, free: 14.44 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.5432, allocations: 456.3 kB / 1.042 GB, free: 13.99 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0082/0.5515, allocations: 3.152 MB / 1.046 GB, free: 10.83 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.5516, allocations: 0 / 1.046 GB, free: 10.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.39e-06/0.5516, allocations: 0 / 1.046 GB, free: 10.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001511/0.5518, allocations: 4 kB / 1.046 GB, free: 10.82 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.01043/0.5623, allocations: 2.371 MB / 1.048 GB, free: 8.391 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.5624, allocations: 12.03 kB / 1.048 GB, free: 8.379 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02671/0.5891, allocations: 1.678 MB / 1.049 GB, free: 6.695 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005629/0.5948, allocations: 1.408 MB / 1.051 GB, free: 5.227 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003436/0.5952, allocations: 189 kB / 1.051 GB, free: 5.039 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/0.5965, allocations: 244 kB / 1.051 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.616, allocations: 3.403 MB / 1.055 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.6162, allocations: 11.92 kB / 1.055 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007316/0.6169, allocations: 108 kB / 1.055 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002729/0.6172, allocations: 116.6 kB / 1.055 GB, free: 1.023 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6486/1.266, allocations: 3.919 MB / 1.059 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02891/1.295, allocations: 10.04 MB / 1.068 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01512/1.31, allocations: 2.712 MB / 1.071 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/1.311, allocations: 0.5822 MB / 1.072 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007723/1.319, allocations: 1.519 MB / 1.073 GB, free: 147.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 1.343e-05/1.319, allocations: 0 / 1.073 GB, free: 147.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.02238/1.342, allocations: 4.262 MB / 1.077 GB, free: 145.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/1.342, allocations: 261.5 kB / 1.078 GB, free: 145.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/1.344, allocations: 1.088 MB / 1.079 GB, free: 144.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007304/1.345, allocations: 65.7 kB / 1.079 GB, free: 144.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/1.346, allocations: 0.9274 MB / 1.08 GB, free: 143.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001175/1.348, allocations: 0.6407 MB / 1.08 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/1.348, allocations: 31.91 kB / 1.08 GB, free: 143.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.348, allocations: 381.5 kB / 1.081 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006232/1.354, allocations: 1.046 MB / 1.082 GB, free: 142.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008381/1.363, allocations: 1.379 MB / 1.083 GB, free: 141.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0194/1.382, allocations: 1.162 MB / 1.084 GB, free: 140.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/1.382, allocations: 3.906 kB / 1.084 GB, free: 140.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01877/1.401, allocations: 2.742 MB / 1.087 GB, free: 139.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006444/1.402, allocations: 2.466 MB / 1.089 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/1.402, allocations: 6.5 kB / 1.089 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.359e-05/1.402, allocations: 14.91 kB / 1.089 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02089/1.423, allocations: 0.5408 MB / 1.09 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.656e-05/1.423, allocations: 22.11 kB / 1.09 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006111/1.429, allocations: 271.8 kB / 1.09 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005813/1.43, allocations: 96.89 kB / 1.09 GB, free: 136.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.43, allocations: 5.719 kB / 1.09 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01897/1.449, allocations: 2.509 MB / 1.093 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/1.449, allocations: 11.88 kB / 1.093 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/1.449, allocations: 15.16 kB / 1.093 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00757/1.456, allocations: 0.5307 MB / 1.093 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.884e-05/1.457, allocations: 14 kB / 1.093 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005543/1.462, allocations: 262.4 kB / 1.093 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006938/1.463, allocations: 93.42 kB / 1.093 GB, free: 134.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.002518/1.465, allocations: 0.5852 MB / 1.094 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008007/1.466, allocations: 166.6 kB / 1.094 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02063/1.487, allocations: 3.138 MB / 1.097 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.842e-05/1.487, allocations: 20 kB / 1.097 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.487, allocations: 0 / 1.097 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.652e-05/1.487, allocations: 11.97 kB / 1.097 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02236/1.509, allocations: 5.853 MB / 1.103 GB, free: 125.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.509, allocations: 0 / 1.103 GB, free: 125.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005611/1.515, allocations: 0.511 MB / 1.104 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.078e-05/1.515, allocations: 8 kB / 1.104 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003026/1.515, allocations: 63.94 kB / 1.104 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-05/1.515, allocations: 8 kB / 1.104 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.516, allocations: 0 / 1.104 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/1.528, allocations: 2.898 MB / 1.106 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/1.53, allocations: 0.5723 MB / 1.107 GB, free: 121.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006533/1.53, allocations: 36 kB / 1.107 GB, free: 121.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004223/1.534, allocations: 211.8 kB / 1.107 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005338/1.535, allocations: 133.8 kB / 1.107 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003594/1.535, allocations: 79.22 kB / 1.107 GB, free: 120.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00157/1.537, allocations: 0.7753 MB / 1.108 GB, free: 120 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/1.537, allocations: 0 / 1.108 GB, free: 120 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004211/1.541, allocations: 0.7734 MB / 1.109 GB, free: 119.3 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.001968/1.543, allocations: 0.5976 MB / 1.11 GB, free: 118.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01989/1.563, allocations: 3.975 MB / 1.113 GB, free: 114.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.563, allocations: 4.562 kB / 1.113 GB, free: 114.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006525/1.57, allocations: 1.362 MB / 1.115 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/1.573, allocations: 364.7 kB / 1.115 GB, free: 113.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/1.589, allocations: 5.365 MB / 1.12 GB, free: 107.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/1.59, allocations: 1.6 MB / 1.122 GB, free: 106.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.006991/1.597, allocations: 0.7788 MB / 1.123 GB, free: 105.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/1.599, allocations: 219.3 kB / 1.123 GB, free: 105.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/1.599, allocations: 0 / 1.123 GB, free: 105.1 MB / 0.698 GB Notification: Performance of Templates: time 0.06882/1.668, allocations: 26.59 MB / 1.149 GB, free: 78.68 MB / 0.698 GB