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 5.053/5.053, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002471/0.002471, allocations: 358.9 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.289/4.289, allocations: 410.7 MB / 1.112 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001755/0.001755, allocations: 187.9 kB / 1.225 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001079, allocations: 12 kB / 1.348 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6089/0.6101, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.02567/0.6358, allocations: 22.38 MB / 1.483 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1521/0.7879, allocations: 142.6 MB / 1.622 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003183/0.7911, allocations: 67.69 kB / 1.622 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.793, allocations: 396.6 kB / 1.622 GB, free: 118.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005383/0.7985, allocations: 1.4 MB / 1.624 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006389/0.8049, allocations: 1.858 MB / 1.626 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00665/0.8116, allocations: 5.909 MB / 1.631 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01141/0.823, allocations: 6.433 MB / 1.638 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.8259, allocations: 1.587 MB / 1.639 GB, free: 101.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00336/0.8293, allocations: 2.155 MB / 1.641 GB, free: 99.42 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0009183/0.8302, allocations: 184 kB / 1.641 GB, free: 99.24 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.8325, allocations: 0.5462 MB / 1.642 GB, free: 98.69 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001841/0.8344, allocations: 1.344 MB / 1.643 GB, free: 97.34 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.8357, allocations: 0.8002 MB / 1.644 GB, free: 96.54 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006988/0.8427, allocations: 6.655 MB / 1.651 GB, free: 89.86 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.8427, allocations: 0 / 1.651 GB, free: 89.86 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.156e-06/0.8428, allocations: 0 / 1.651 GB, free: 89.86 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000144/0.8429, allocations: 0 / 1.651 GB, free: 89.86 MB / 0.8542 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.008646/0.8516, allocations: 3.79 MB / 1.654 GB, free: 86 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.8516, allocations: 11.62 kB / 1.654 GB, free: 85.99 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/0.8669, allocations: 2 MB / 1.656 GB, free: 83.98 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005286/0.8722, allocations: 2.332 MB / 1.658 GB, free: 81.59 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/0.8726, allocations: 328.8 kB / 1.659 GB, free: 81.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/0.8738, allocations: 420 kB / 1.659 GB, free: 80.86 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01741/0.8912, allocations: 6.602 MB / 1.666 GB, free: 74.05 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.8914, allocations: 11.92 kB / 1.666 GB, free: 74.04 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007051/0.8921, allocations: 184 kB / 1.666 GB, free: 73.86 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002343/0.8924, allocations: 227.5 kB / 1.666 GB, free: 73.64 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/0.9115, allocations: 6.546 MB / 1.672 GB, free: 67.09 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03853/0.95, allocations: 23.73 MB / 1.696 GB, free: 42.01 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/0.9616, allocations: 4.138 MB / 1.7 GB, free: 37.81 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005211/0.9668, allocations: 1.855 MB / 1.701 GB, free: 35.94 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008274/0.9677, allocations: 0.5114 MB / 1.702 GB, free: 35.34 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005751/0.9735, allocations: 2.045 MB / 1.704 GB, free: 33.26 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=240): time 8.22e-06/0.9735, allocations: 3.984 kB / 1.704 GB, free: 33.26 MB / 0.8542 GB Notification: Performance of matching and sorting (n=243): time 0.01929/0.9928, allocations: 7.197 MB / 1.711 GB, free: 26.02 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.993, allocations: 397.8 kB / 1.711 GB, free: 25.54 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.9958, allocations: 1.705 MB / 1.713 GB, free: 23.79 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004955/0.9964, allocations: 69.7 kB / 1.713 GB, free: 23.71 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/0.9978, allocations: 1.719 MB / 1.715 GB, free: 21.97 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009813/0.9988, allocations: 0.8125 MB / 1.716 GB, free: 21.14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.9991, allocations: 56 kB / 1.716 GB, free: 21.09 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.9993, allocations: 415.5 kB / 1.716 GB, free: 20.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00488/1.004, allocations: 1.563 MB / 1.718 GB, free: 19.11 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005591/1.01, allocations: 2.263 MB / 1.72 GB, free: 16.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00545/1.015, allocations: 1.849 MB / 1.722 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.406e-05/1.015, allocations: 12 kB / 1.722 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01303/1.028, allocations: 4.178 MB / 1.726 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003135/1.029, allocations: 0.6218 MB / 1.726 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/1.029, allocations: 16 kB / 1.726 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.055e-05/1.029, allocations: 36 kB / 1.726 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005381/1.034, allocations: 0.819 MB / 1.727 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.498e-05/1.034, allocations: 47.86 kB / 1.727 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003974/1.038, allocations: 382.1 kB / 1.728 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00066/1.039, allocations: 140 kB / 1.728 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/1.039, allocations: 11.94 kB / 1.728 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01143/1.05, allocations: 3.746 MB / 1.731 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.565e-05/1.051, allocations: 16 kB / 1.731 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-05/1.051, allocations: 39.95 kB / 1.731 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004982/1.056, allocations: 0.7767 MB / 1.732 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-05/1.056, allocations: 43.86 kB / 1.732 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/1.059, allocations: 345.5 kB / 1.733 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000641/1.06, allocations: 139.9 kB / 1.733 GB, free: 2.992 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 345 * 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.003175/1.063, allocations: 1.279 MB / 1.734 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006725/1.064, allocations: 237.2 kB / 1.734 GB, free: 1.469 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5423/1.606, allocations: 4.125 MB / 1.738 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/1.606, allocations: 26.19 kB / 1.738 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/1.606, allocations: 1.656 kB / 1.738 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-05/1.606, allocations: 13.3 kB / 1.738 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02468/1.631, allocations: 8.877 MB / 1.747 GB, free: 257 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/1.631, allocations: 2.531 kB / 1.747 GB, free: 257 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005701/1.637, allocations: 0.726 MB / 1.748 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.067e-05/1.637, allocations: 11.72 kB / 1.748 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005288/1.638, allocations: 71.27 kB / 1.748 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-05/1.638, allocations: 13.19 kB / 1.748 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.638, allocations: 2.812 kB / 1.748 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.65, allocations: 3.946 MB / 1.752 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002098/1.652, allocations: 0.7598 MB / 1.752 GB, free: 255 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008066/1.653, allocations: 44.19 kB / 1.752 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003818/1.657, allocations: 274.8 kB / 1.753 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006463/1.658, allocations: 162.5 kB / 1.753 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005103/1.658, allocations: 95.19 kB / 1.753 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002957/1.661, allocations: 1.221 MB / 1.754 GB, free: 254.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.35e-07/1.661, allocations: 2.953 kB / 1.754 GB, free: 254.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006079/1.667, allocations: 1.271 MB / 1.755 GB, free: 254.2 MB / 0.8542 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.002252/1.67, allocations: 0.6216 MB / 1.756 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01914/1.689, allocations: 5.75 MB / 1.761 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.689, allocations: 4.781 kB / 1.761 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006253/1.695, allocations: 1.835 MB / 1.763 GB, free: 250.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004574/1.7, allocations: 0.5575 MB / 1.764 GB, free: 250.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/1.718, allocations: 9.061 MB / 1.773 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003343/1.721, allocations: 2.606 MB / 1.775 GB, free: 238.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00813/1.73, allocations: 1.266 MB / 1.776 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001797/1.731, allocations: 263.3 kB / 1.777 GB, free: 237.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.94e-06/1.731, allocations: 4 kB / 1.777 GB, free: 237.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.08197/1.813, allocations: 38.23 MB / 1.814 GB, free: 199.6 MB / 0.8542 GB