Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadModel(Buildings): time 3.908/3.908, allocations: 433.4 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.372e-05, allocations: 8 kB / 0.5325 GB, free: 1.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.588/0.5881, allocations: 98.72 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.602/6.19, allocations: 2.233 GB / 2.862 GB, free: 78.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/6.191, allocations: 103.7 kB / 2.862 GB, free: 78.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.01/7.201, allocations: 160.6 MB / 3.019 GB, free: 253.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.808e-06/7.201, allocations: 3.938 kB / 3.019 GB, free: 253.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002886/7.201, allocations: 94.98 kB / 3.019 GB, free: 253.1 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1038 * Number of variables: 1038 Notification: Performance of Generate backend data structure: time 0.01125/7.212, allocations: 3.448 MB / 3.023 GB, free: 250.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/7.212, allocations: 12.02 kB / 3.023 GB, free: 250.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01473/7.227, allocations: 1.837 MB / 3.024 GB, free: 248.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005885/7.233, allocations: 2.158 MB / 3.027 GB, free: 246.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/7.233, allocations: 131.8 kB / 3.027 GB, free: 246.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001659/7.235, allocations: 228.6 kB / 3.027 GB, free: 246 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01332/7.248, allocations: 4.937 MB / 3.032 GB, free: 241 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/7.264, allocations: 5.01 MB / 3.037 GB, free: 235.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001603/7.264, allocations: 11.5 kB / 3.037 GB, free: 235.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001309/7.265, allocations: 4 kB / 3.037 GB, free: 235.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002112/7.266, allocations: 194.9 kB / 3.037 GB, free: 235.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04179/7.307, allocations: 22.03 MB / 3.058 GB, free: 212.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007191/7.315, allocations: 3.426 MB / 3.062 GB, free: 209.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/7.318, allocations: 1.556 MB / 3.063 GB, free: 207.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008634/7.319, allocations: 0.5179 MB / 3.064 GB, free: 207 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004044/7.323, allocations: 1.764 MB / 3.065 GB, free: 205.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=240): time 7.423e-06/7.323, allocations: 0 / 3.065 GB, free: 205.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=243): time 0.02275/7.346, allocations: 6.277 MB / 3.072 GB, free: 198.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/7.346, allocations: 419.5 kB / 3.072 GB, free: 198.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/7.348, allocations: 1.288 MB / 3.073 GB, free: 197 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006777/7.349, allocations: 33.7 kB / 3.073 GB, free: 197 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/7.35, allocations: 1.57 MB / 3.075 GB, free: 195.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/7.352, allocations: 0.7735 MB / 3.076 GB, free: 194.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/7.352, allocations: 0 / 3.076 GB, free: 194.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001917/7.352, allocations: 411.4 kB / 3.076 GB, free: 194.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/7.355, allocations: 1.29 MB / 3.077 GB, free: 192.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003407/7.358, allocations: 1.979 MB / 3.079 GB, free: 190.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01387/7.372, allocations: 2.906 MB / 3.082 GB, free: 187.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.049e-05/7.372, allocations: 7.953 kB / 3.082 GB, free: 187.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01906/7.391, allocations: 4.857 MB / 3.087 GB, free: 182.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001359/7.393, allocations: 7.097 MB / 3.094 GB, free: 175.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-05/7.393, allocations: 20 kB / 3.094 GB, free: 175.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.995e-05/7.393, allocations: 32 kB / 3.094 GB, free: 175.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005498/7.399, allocations: 0.8151 MB / 3.094 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-05/7.399, allocations: 47.8 kB / 3.095 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004335/7.403, allocations: 334.1 kB / 3.095 GB, free: 174 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007342/7.404, allocations: 143.9 kB / 3.095 GB, free: 173.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/7.404, allocations: 7.984 kB / 3.095 GB, free: 173.8 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01717/7.421, allocations: 4.397 MB / 3.099 GB, free: 169.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.924e-05/7.421, allocations: 16 kB / 3.099 GB, free: 169.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.026e-05/7.421, allocations: 32 kB / 3.099 GB, free: 169.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005014/7.426, allocations: 0.7845 MB / 3.1 GB, free: 168.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.457e-05/7.426, allocations: 39.86 kB / 3.1 GB, free: 168.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003891/7.43, allocations: 294.3 kB / 3.1 GB, free: 168.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006915/7.431, allocations: 135.9 kB / 3.101 GB, free: 168.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (338): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 2 * 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.0008459/7.432, allocations: 180.1 kB / 3.101 GB, free: 167.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006795/7.432, allocations: 217.4 kB / 3.101 GB, free: 167.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01887/7.451, allocations: 4.847 MB / 3.106 GB, free: 162.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/7.451, allocations: 24 kB / 3.106 GB, free: 162.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/7.451, allocations: 0 / 3.106 GB, free: 162.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.02e-05/7.451, allocations: 19.91 kB / 3.106 GB, free: 162.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02513/7.477, allocations: 8.66 MB / 3.114 GB, free: 154.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/7.477, allocations: 288 / 3.114 GB, free: 154.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004816/7.481, allocations: 0.7254 MB / 3.115 GB, free: 153.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.47e-05/7.481, allocations: 15.94 kB / 3.115 GB, free: 153.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000495/7.482, allocations: 39.94 kB / 3.115 GB, free: 153.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-05/7.482, allocations: 12 kB / 3.115 GB, free: 153.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.806e-06/7.482, allocations: 4 kB / 3.115 GB, free: 153.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/7.499, allocations: 4.832 MB / 3.12 GB, free: 148.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/7.502, allocations: 0.7551 MB / 3.12 GB, free: 147.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/7.503, allocations: 7.953 kB / 3.12 GB, free: 147.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003793/7.507, allocations: 239.7 kB / 3.121 GB, free: 147.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005678/7.507, allocations: 149.8 kB / 3.121 GB, free: 147.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004019/7.508, allocations: 99.86 kB / 3.121 GB, free: 147.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00198/7.51, allocations: 1.028 MB / 3.122 GB, free: 146.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.788e-06/7.51, allocations: 0 / 3.122 GB, free: 146.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006752/7.516, allocations: 1.199 MB / 3.123 GB, free: 144.9 MB / 0.823 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.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 256 * 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.002208/7.519, allocations: 0.5841 MB / 3.124 GB, free: 144.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01026/7.529, allocations: 5.101 MB / 3.129 GB, free: 139.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.449e-06/7.529, allocations: 4 kB / 3.129 GB, free: 139.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003086/7.532, allocations: 1.553 MB / 3.13 GB, free: 137.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/7.535, allocations: 423.6 kB / 3.131 GB, free: 137.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/7.549, allocations: 5.461 MB / 3.136 GB, free: 131.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00302/7.552, allocations: 2.506 MB / 3.138 GB, free: 129.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.009053/7.561, allocations: 1.385 MB / 3.14 GB, free: 127.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/7.562, allocations: 231.3 kB / 3.14 GB, free: 127.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.788e-06/7.563, allocations: 0 / 3.14 GB, free: 127.6 MB / 0.823 GB Notification: Performance of Templates: time 0.08326/7.646, allocations: 37.91 MB / 3.177 GB, free: 89.96 MB / 0.823 GB