Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.475/2.475, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001652/0.001652, allocations: 180.9 kB / 325.6 MB, free: 2.824 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.413/2.413, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001624/0.001623, allocations: 98.05 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006559/0.0006561, allocations: 13.72 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.245, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.01115/0.2563, allocations: 6.976 MB / 0.9057 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2138/0.4702, allocations: 128.8 MB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.4717, allocations: 27.88 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009427/0.4727, allocations: 146.7 kB / 1.032 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.4764, allocations: 0.6544 MB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004351/0.4808, allocations: 0.8492 MB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003764/0.4845, allocations: 1.26 MB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003195/0.4878, allocations: 1.381 MB / 1.036 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.4895, allocations: 0.5872 MB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.491, allocations: 0.5984 MB / 1.037 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003476/0.4914, allocations: 48 kB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.4928, allocations: 335.5 kB / 1.037 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00056/0.4933, allocations: 318.7 kB / 1.038 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005458/0.4939, allocations: 336.7 kB / 1.038 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004465/0.4984, allocations: 2.206 MB / 1.04 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4984, allocations: 0 / 1.04 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.747e-06/0.4985, allocations: 0 / 1.04 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.893e-05/0.4986, allocations: 4 kB / 1.04 GB, free: 0.5469 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.006938/0.5055, allocations: 1.794 MB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.5056, allocations: 12.03 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.517, allocations: 0.9458 MB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.5206, allocations: 1.09 MB / 1.044 GB, free: 12.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.5209, allocations: 123.4 kB / 1.044 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007087/0.5216, allocations: 167.9 kB / 1.044 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009212/0.5308, allocations: 2.164 MB / 1.046 GB, free: 10.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.514e-05/0.5309, allocations: 7.938 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/0.5313, allocations: 72 kB / 1.046 GB, free: 10 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/0.5314, allocations: 75.17 kB / 1.046 GB, free: 9.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/0.5436, allocations: 2.51 MB / 1.049 GB, free: 7.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0219/0.5656, allocations: 6.996 MB / 1.056 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7224/1.288, allocations: 1.604 MB / 1.057 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/1.289, allocations: 492.4 kB / 1.058 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00621/1.296, allocations: 0.9189 MB / 1.059 GB, free: 153.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 7.364e-06/1.296, allocations: 3.344 kB / 1.059 GB, free: 153.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.0154/1.311, allocations: 2.197 MB / 1.061 GB, free: 153 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/1.311, allocations: 308.5 kB / 1.061 GB, free: 152.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/1.314, allocations: 0.846 MB / 1.062 GB, free: 152.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004748/1.315, allocations: 53.67 kB / 1.062 GB, free: 152.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/1.316, allocations: 0.6801 MB / 1.062 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009862/1.317, allocations: 427.7 kB / 1.063 GB, free: 152 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/1.317, allocations: 23.25 kB / 1.063 GB, free: 152 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000203/1.317, allocations: 354 kB / 1.063 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004541/1.322, allocations: 0.5859 MB / 1.064 GB, free: 151.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005104/1.327, allocations: 0.8098 MB / 1.065 GB, free: 151.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005151/1.332, allocations: 0.6647 MB / 1.065 GB, free: 151.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/1.332, allocations: 1.344 kB / 1.065 GB, free: 151.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.0125/1.345, allocations: 1.622 MB / 1.067 GB, free: 151.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004984/1.345, allocations: 1.494 MB / 1.068 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/1.345, allocations: 4.406 kB / 1.068 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004122/1.346, allocations: 34.77 kB / 1.068 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005039/1.351, allocations: 328.6 kB / 1.069 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/1.353, allocations: 1.294 MB / 1.07 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004006/1.357, allocations: 202.6 kB / 1.07 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005823/1.358, allocations: 55.2 kB / 1.07 GB, free: 148.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/1.358, allocations: 4 kB / 1.07 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01176/1.369, allocations: 1.485 MB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/1.369, allocations: 3.688 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.626e-05/1.369, allocations: 13.22 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005109/1.375, allocations: 328 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-05/1.375, allocations: 14.42 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003949/1.379, allocations: 185.2 kB / 1.072 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006333/1.379, allocations: 53.89 kB / 1.072 GB, free: 148.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (148): * Single equations (assignments): 147 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002581/1.382, allocations: 481 kB / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006747/1.383, allocations: 127.3 kB / 1.073 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.397, allocations: 1.892 MB / 1.075 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.252e-05/1.397, allocations: 13.47 kB / 1.075 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.397, allocations: 6.719 kB / 1.075 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.573e-05/1.397, allocations: 8.094 kB / 1.075 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/1.416, allocations: 3.739 MB / 1.078 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/1.416, allocations: 6.406 kB / 1.078 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004258/1.42, allocations: 305.7 kB / 1.079 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/1.421, allocations: 28.45 kB / 1.079 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004126/1.421, allocations: 37.7 kB / 1.079 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/1.422, allocations: 1.282 MB / 1.08 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.422, allocations: 3.984 kB / 1.08 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/1.434, allocations: 1.752 MB / 1.082 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.436, allocations: 411.7 kB / 1.082 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006582/1.436, allocations: 35.61 kB / 1.082 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00381/1.44, allocations: 129.5 kB / 1.082 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005821/1.441, allocations: 93.3 kB / 1.082 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003861/1.441, allocations: 51.12 kB / 1.082 GB, free: 143.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002092/1.443, allocations: 0.5882 MB / 1.083 GB, free: 143 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.31e-07/1.444, allocations: 0 / 1.083 GB, free: 143 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005051/1.449, allocations: 0.7465 MB / 1.084 GB, free: 142.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (141): * Single equations (assignments): 138 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003151/1.452, allocations: 0.5835 MB / 1.084 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01773/1.47, allocations: 2.414 MB / 1.087 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/1.47, allocations: 1.344 kB / 1.087 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005807/1.476, allocations: 0.9232 MB / 1.087 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/1.479, allocations: 299.3 kB / 1.088 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/1.493, allocations: 3.539 MB / 1.091 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/1.495, allocations: 1.318 MB / 1.092 GB, free: 137.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.006634/1.501, allocations: 0.525 MB / 1.093 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/1.503, allocations: 151.3 kB / 1.093 GB, free: 137 MB / 0.698 GB Notification: Performance of SimCode: time 1.443e-06/1.503, allocations: 0 / 1.093 GB, free: 137 MB / 0.698 GB Notification: Performance of Templates: time 0.0681/1.571, allocations: 18.62 MB / 1.111 GB, free: 118.5 MB / 0.698 GB