Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009103/0.009102, allocations: 111.5 kB / 15.06 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001117/0.001117, allocations: 183.7 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.823/1.823, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.266/2.266, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004674, allocations: 20 kB / 0.587 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6028/0.6033, allocations: 98.69 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.65/6.254, allocations: 2.235 GB / 2.919 GB, free: 168.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/6.254, allocations: 117.8 kB / 2.919 GB, free: 168.1 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.RCha to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.XCha to false. Notification: Performance of FrontEnd - DAE generated: time 0.4578/6.712, allocations: 146.3 MB / 3.061 GB, free: 30.96 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.554e-06/6.712, allocations: 0 / 3.061 GB, free: 30.96 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002814/6.712, allocations: 83.92 kB / 3.062 GB, free: 30.88 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: 805 * Number of variables: 805 Notification: Performance of Generate backend data structure: time 0.009755/6.722, allocations: 3.395 MB / 3.065 GB, free: 27.39 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/6.722, allocations: 12.03 kB / 3.065 GB, free: 27.38 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007334/6.73, allocations: 0.9516 MB / 3.066 GB, free: 26.42 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005509/6.735, allocations: 2.047 MB / 3.068 GB, free: 24.32 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002402/6.735, allocations: 230.1 kB / 3.068 GB, free: 24.09 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/6.737, allocations: 300 kB / 3.068 GB, free: 23.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/6.748, allocations: 4.397 MB / 3.073 GB, free: 19.27 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.891e-05/6.748, allocations: 7.938 kB / 3.073 GB, free: 19.26 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005674/6.749, allocations: 128 kB / 3.073 GB, free: 19.13 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001927/6.749, allocations: 173.9 kB / 3.073 GB, free: 18.96 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/6.76, allocations: 4.106 MB / 3.077 GB, free: 14.84 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5355/7.295, allocations: 18.65 MB / 3.095 GB, free: 203.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005362/7.301, allocations: 1.967 MB / 3.097 GB, free: 203.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007914/7.302, allocations: 0.5623 MB / 3.098 GB, free: 203.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002836/7.304, allocations: 1.163 MB / 3.099 GB, free: 203.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=147): time 6.31e-06/7.304, allocations: 0.8438 kB / 3.099 GB, free: 203.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=182): time 0.04441/7.349, allocations: 13.74 MB / 3.112 GB, free: 198.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/7.349, allocations: 0.5629 MB / 3.113 GB, free: 198 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003599/7.353, allocations: 1.799 MB / 3.114 GB, free: 197.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004247/7.353, allocations: 59.2 kB / 3.115 GB, free: 197.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001423/7.355, allocations: 1.427 MB / 3.116 GB, free: 197.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000767/7.355, allocations: 0.6125 MB / 3.117 GB, free: 197 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/7.356, allocations: 42.69 kB / 3.117 GB, free: 197 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001505/7.356, allocations: 388.6 kB / 3.117 GB, free: 196.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/7.359, allocations: 1.194 MB / 3.118 GB, free: 196.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003354/7.362, allocations: 1.774 MB / 3.12 GB, free: 196.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003479/7.365, allocations: 1.58 MB / 3.121 GB, free: 196 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-05/7.366, allocations: 6.875 kB / 3.121 GB, free: 196 MB / 0.823 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01386/7.379, allocations: 4.67 MB / 3.126 GB, free: 195.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001444/7.381, allocations: 5.922 MB / 3.132 GB, free: 189.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.1e-05/7.381, allocations: 14.22 kB / 3.132 GB, free: 189.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007241/7.388, allocations: 1.585 MB / 3.133 GB, free: 189.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/7.391, allocations: 498.4 kB / 3.134 GB, free: 189.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/7.402, allocations: 6.164 MB / 3.14 GB, free: 187.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/7.405, allocations: 217.6 kB / 3.14 GB, free: 187.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004579/7.406, allocations: 101.1 kB / 3.14 GB, free: 187.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/7.406, allocations: 11.5 kB / 3.14 GB, free: 187.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01136/7.417, allocations: 3.977 MB / 3.144 GB, free: 187.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-05/7.417, allocations: 13.12 kB / 3.144 GB, free: 187.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004835/7.422, allocations: 1.023 MB / 3.145 GB, free: 187.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/7.425, allocations: 0.515 MB / 3.145 GB, free: 187.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009309/7.435, allocations: 5.106 MB / 3.15 GB, free: 186.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/7.437, allocations: 190.6 kB / 3.151 GB, free: 186.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000329/7.438, allocations: 95.95 kB / 3.151 GB, free: 186.1 MB / 0.823 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (238): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,80.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.002874/7.44, allocations: 1.227 MB / 3.152 GB, free: 185.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006741/7.441, allocations: 219.9 kB / 3.152 GB, free: 185.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/7.453, allocations: 4.016 MB / 3.156 GB, free: 185.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.986e-05/7.453, allocations: 20.41 kB / 3.156 GB, free: 185.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/7.453, allocations: 10.66 kB / 3.156 GB, free: 185.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.185e-05/7.453, allocations: 17.45 kB / 3.156 GB, free: 185.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02212/7.475, allocations: 9.544 MB / 3.165 GB, free: 183.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/7.476, allocations: 7.5 kB / 3.165 GB, free: 183.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/7.477, allocations: 349.4 kB / 3.166 GB, free: 183.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007615/7.485, allocations: 1.516 MB / 3.167 GB, free: 183.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004065/7.486, allocations: 45.95 kB / 3.167 GB, free: 183.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/7.501, allocations: 8.652 MB / 3.176 GB, free: 178.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.174e-06/7.501, allocations: 6.562 kB / 3.176 GB, free: 178.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/7.513, allocations: 4.637 MB / 3.18 GB, free: 175.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/7.515, allocations: 0.6483 MB / 3.181 GB, free: 175.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005462/7.515, allocations: 41.36 kB / 3.181 GB, free: 175.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/7.518, allocations: 199.8 kB / 3.181 GB, free: 175.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004276/7.518, allocations: 153.6 kB / 3.181 GB, free: 175.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/7.518, allocations: 65.66 kB / 3.181 GB, free: 175.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002563/7.521, allocations: 1.389 MB / 3.183 GB, free: 174.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.08e-07/7.521, allocations: 0 / 3.183 GB, free: 174.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005396/7.526, allocations: 1.327 MB / 3.184 GB, free: 174.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 158 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 12} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003233/7.53, allocations: 1.002 MB / 3.185 GB, free: 174.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01243/7.542, allocations: 5.58 MB / 3.19 GB, free: 172.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/7.542, allocations: 3.438 kB / 3.19 GB, free: 172.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004776/7.547, allocations: 1.942 MB / 3.192 GB, free: 171.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/7.55, allocations: 486.3 kB / 3.193 GB, free: 171.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/7.564, allocations: 7.621 MB / 3.2 GB, free: 167.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002971/7.568, allocations: 2.432 MB / 3.203 GB, free: 166 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004548/7.572, allocations: 1.031 MB / 3.204 GB, free: 165.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007999/7.573, allocations: 183.3 kB / 3.204 GB, free: 165.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.683e-06/7.573, allocations: 0 / 3.204 GB, free: 165.9 MB / 0.823 GB Notification: Performance of Templates: time 0.09187/7.665, allocations: 43.26 MB / 3.246 GB, free: 153.9 MB / 0.823 GB