Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.582/2.582, allocations: 287.9 MB / 302.9 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001424, allocations: 165.2 kB / 371.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.186/2.186, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 93.33 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004603, allocations: 10.75 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1545, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.02483/0.1793, allocations: 21.88 MB / 1 GB, free: 6.262 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8386/1.018, allocations: 133.6 MB / 1.131 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003647/1.022, allocations: 63.34 kB / 1.131 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/1.023, allocations: 401.7 kB / 1.131 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005054/1.028, allocations: 1.319 MB / 1.132 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006573/1.035, allocations: 1.834 MB / 1.134 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005236/1.04, allocations: 2.918 MB / 1.137 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01176/1.052, allocations: 6.424 MB / 1.143 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/1.055, allocations: 1.467 MB / 1.145 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/1.058, allocations: 1.657 MB / 1.146 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000725/1.059, allocations: 183.8 kB / 1.146 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/1.06, allocations: 0.5271 MB / 1.147 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001377/1.062, allocations: 1.262 MB / 1.148 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/1.063, allocations: 0.7944 MB / 1.149 GB, free: 500 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009304/1.072, allocations: 6.639 MB / 1.155 GB, free: 11.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.553e-06/1.072, allocations: 1.75 kB / 1.155 GB, free: 11.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.873e-06/1.072, allocations: 0 / 1.155 GB, free: 11.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001814/1.073, allocations: 0 / 1.155 GB, free: 11.65 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.01052/1.083, allocations: 3.782 MB / 1.159 GB, free: 9.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/1.083, allocations: 11.14 kB / 1.159 GB, free: 9.066 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02111/1.104, allocations: 2.002 MB / 1.161 GB, free: 8.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/1.117, allocations: 2.337 MB / 1.163 GB, free: 6.516 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006574/1.117, allocations: 325.4 kB / 1.164 GB, free: 6.367 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00261/1.12, allocations: 429.5 kB / 1.164 GB, free: 6.223 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03815/1.158, allocations: 6.572 MB / 1.171 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002486/1.158, allocations: 16.94 kB / 1.171 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002006/1.16, allocations: 185.5 kB / 1.171 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00052/1.161, allocations: 226.2 kB / 1.171 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03096/1.192, allocations: 6.543 MB / 1.177 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04993/1.242, allocations: 23.75 MB / 1.201 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01368/1.256, allocations: 4.184 MB / 1.205 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/1.257, allocations: 0.5112 MB / 1.205 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006731/1.263, allocations: 2.025 MB / 1.207 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=240): time 7.677e-06/1.264, allocations: 0 / 1.207 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=243): time 0.02242/1.286, allocations: 7.209 MB / 1.214 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002867/1.286, allocations: 389.8 kB / 1.215 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/1.29, allocations: 1.705 MB / 1.216 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005728/1.29, allocations: 69.7 kB / 1.216 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002117/1.292, allocations: 1.726 MB / 1.218 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001324/1.294, allocations: 0.8125 MB / 1.219 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/1.294, allocations: 52 kB / 1.219 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000302/1.294, allocations: 407.4 kB / 1.219 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005448/1.3, allocations: 1.547 MB / 1.221 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006438/1.306, allocations: 2.258 MB / 1.223 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00622/1.313, allocations: 1.829 MB / 1.225 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.878e-05/1.313, allocations: 8 kB / 1.225 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=337) (initialization): time 0.0171/1.33, allocations: 4.13 MB / 1.229 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.005365/1.335, allocations: 7.252 MB / 1.236 GB, free: 376 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/1.335, allocations: 20 kB / 1.236 GB, free: 356 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.54e-05/1.336, allocations: 32 kB / 1.236 GB, free: 324 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009182/1.345, allocations: 0.8035 MB / 1.237 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.653e-05/1.345, allocations: 43.86 kB / 1.237 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/1.349, allocations: 387.3 kB / 1.237 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006565/1.35, allocations: 135.9 kB / 1.237 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.35, allocations: 4 kB / 1.237 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01291/1.363, allocations: 3.702 MB / 1.241 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.958e-05/1.363, allocations: 20 kB / 1.241 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.922e-05/1.363, allocations: 32 kB / 1.241 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005182/1.368, allocations: 0.7646 MB / 1.242 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-05/1.368, allocations: 43.86 kB / 1.242 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003996/1.372, allocations: 339.9 kB / 1.242 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006557/1.373, allocations: 135.9 kB / 1.242 GB, free: 9.926 MB / 0.7761 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.003588/1.377, allocations: 1.281 MB / 1.243 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007748/1.377, allocations: 237.1 kB / 1.244 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/1.392, allocations: 4.128 MB / 1.248 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.331e-05/1.392, allocations: 28 kB / 1.248 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/1.392, allocations: 0 / 1.248 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.097e-05/1.392, allocations: 15.95 kB / 1.248 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02467/1.417, allocations: 8.903 MB / 1.256 GB, free: 11.19 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/1.417, allocations: 0 / 1.256 GB, free: 11.19 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005229/1.422, allocations: 0.7178 MB / 1.257 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.32e-05/1.422, allocations: 12 kB / 1.257 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005374/1.423, allocations: 71.88 kB / 1.257 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.353e-05/1.423, allocations: 16 kB / 1.257 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.071e-06/1.423, allocations: 3.938 kB / 1.257 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/1.436, allocations: 4.104 MB / 1.261 GB, free: 6.09 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0025/1.438, allocations: 0.751 MB / 1.262 GB, free: 5.316 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009491/1.439, allocations: 44 kB / 1.262 GB, free: 5.273 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003926/1.443, allocations: 279.7 kB / 1.262 GB, free: 5 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006405/1.444, allocations: 157.7 kB / 1.262 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004257/1.444, allocations: 91.94 kB / 1.262 GB, free: 4.758 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00302/1.447, allocations: 1.229 MB / 1.264 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.056e-06/1.447, allocations: 4 kB / 1.264 GB, free: 3.504 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01006/1.458, allocations: 1.262 MB / 1.265 GB, free: 2.242 MB / 0.7917 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.004826/1.462, allocations: 0.6035 MB / 1.265 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0413/1.504, allocations: 5.69 MB / 1.271 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-05/1.504, allocations: 0 / 1.271 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01339/1.517, allocations: 1.827 MB / 1.273 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007576/1.525, allocations: 0.5254 MB / 1.273 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02835/1.553, allocations: 9.036 MB / 1.282 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005027/1.558, allocations: 2.614 MB / 1.285 GB, free: 14.03 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.008461/1.567, allocations: 1.265 MB / 1.286 GB, free: 12.76 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/1.569, allocations: 271.3 kB / 1.286 GB, free: 12.49 MB / 0.823 GB Notification: Performance of SimCode: time 1.607e-06/1.569, allocations: 0 / 1.286 GB, free: 12.49 MB / 0.823 GB Notification: Performance of Templates: time 0.09889/1.668, allocations: 38.19 MB / 1.323 GB, free: 6.434 MB / 0.8542 GB