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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009196/0.009196, allocations: 110.2 kB / 15.05 MB, free: 5.961 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.001111/0.001111, allocations: 185.2 kB / 15.94 MB, free: 5.926 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.85/1.85, allocations: 194.5 MB / 211.3 MB, free: 11.02 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.3/2.3, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004652, allocations: 12 kB / 0.587 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5822/0.5827, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.615/6.197, allocations: 2.234 GB / 2.917 GB, free: 238.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/6.198, allocations: 112.9 kB / 2.917 GB, free: 238.4 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.4953/6.693, allocations: 155.5 MB / 3.069 GB, free: 81.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.895e-06/6.693, allocations: 4 kB / 3.069 GB, free: 81.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003152/6.693, allocations: 79.94 kB / 3.069 GB, free: 81.42 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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01047/6.704, allocations: 3.548 MB / 3.072 GB, free: 77.77 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/6.704, allocations: 8.031 kB / 3.072 GB, free: 77.77 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007304/6.711, allocations: 0.9475 MB / 3.073 GB, free: 76.81 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006059/6.717, allocations: 2.194 MB / 3.075 GB, free: 74.57 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/6.718, allocations: 230.1 kB / 3.076 GB, free: 74.34 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/6.719, allocations: 311.8 kB / 3.076 GB, free: 74.04 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/6.732, allocations: 4.482 MB / 3.08 GB, free: 69.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/6.732, allocations: 7.938 kB / 3.08 GB, free: 69.39 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000718/6.733, allocations: 132 kB / 3.08 GB, free: 69.26 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002098/6.733, allocations: 177.9 kB / 3.081 GB, free: 69.09 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/6.744, allocations: 4.157 MB / 3.085 GB, free: 64.92 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0315/6.776, allocations: 19.95 MB / 3.104 GB, free: 43.41 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005191/6.781, allocations: 2.029 MB / 3.106 GB, free: 41.38 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000844/6.782, allocations: 0.5624 MB / 3.107 GB, free: 40.71 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002817/6.785, allocations: 1.187 MB / 3.108 GB, free: 39.48 MB / 0.823 GB Notification: Performance of pre-optimization done (n=150): time 5.799e-06/6.785, allocations: 0 / 3.108 GB, free: 39.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=187): time 0.04365/6.828, allocations: 13.74 MB / 3.121 GB, free: 25.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/6.829, allocations: 492.7 kB / 3.122 GB, free: 25 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/6.833, allocations: 1.985 MB / 3.124 GB, free: 22.98 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004618/6.833, allocations: 65.7 kB / 3.124 GB, free: 22.91 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001521/6.835, allocations: 1.464 MB / 3.125 GB, free: 21.43 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008097/6.835, allocations: 0.6277 MB / 3.126 GB, free: 20.79 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/6.836, allocations: 40 kB / 3.126 GB, free: 20.75 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001623/6.836, allocations: 393.9 kB / 3.126 GB, free: 20.36 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00279/6.839, allocations: 1.222 MB / 3.127 GB, free: 19.13 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003411/6.842, allocations: 1.741 MB / 3.129 GB, free: 17.19 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003466/6.846, allocations: 1.594 MB / 3.131 GB, free: 15.56 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/6.846, allocations: 4 kB / 3.131 GB, free: 15.56 MB / 0.823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01542/6.861, allocations: 5.106 MB / 3.136 GB, free: 10.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009815/6.862, allocations: 4.755 MB / 3.14 GB, free: 5.223 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/6.862, allocations: 12 kB / 3.14 GB, free: 5.211 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009614/6.872, allocations: 2.061 MB / 3.142 GB, free: 3.129 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/6.875, allocations: 495.2 kB / 3.143 GB, free: 2.645 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5098/7.385, allocations: 9.842 MB / 3.152 GB, free: 193.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/7.388, allocations: 213.1 kB / 3.153 GB, free: 193.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005026/7.388, allocations: 90.86 kB / 3.153 GB, free: 193.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/7.388, allocations: 3.875 kB / 3.153 GB, free: 193.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01478/7.403, allocations: 4.287 MB / 3.157 GB, free: 193.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.017e-05/7.403, allocations: 10.78 kB / 3.157 GB, free: 193.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007175/7.411, allocations: 1.381 MB / 3.158 GB, free: 193.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/7.414, allocations: 0.5028 MB / 3.159 GB, free: 193.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/7.428, allocations: 7.833 MB / 3.166 GB, free: 189.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/7.431, allocations: 184.8 kB / 3.167 GB, free: 189.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004994/7.431, allocations: 93.55 kB / 3.167 GB, free: 189.9 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: 51 * 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 (241): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.003322/7.435, allocations: 1.257 MB / 3.168 GB, free: 189.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007246/7.435, allocations: 227 kB / 3.168 GB, free: 189.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/7.451, allocations: 4.665 MB / 3.173 GB, free: 189.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.395e-05/7.451, allocations: 20.81 kB / 3.173 GB, free: 189.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.411e-05/7.451, allocations: 5.094 kB / 3.173 GB, free: 189.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.586e-05/7.451, allocations: 13.42 kB / 3.173 GB, free: 189.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/7.477, allocations: 9.738 MB / 3.182 GB, free: 188.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-05/7.477, allocations: 8.672 kB / 3.182 GB, free: 188.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/7.479, allocations: 376.8 kB / 3.183 GB, free: 188.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009639/7.489, allocations: 2.003 MB / 3.185 GB, free: 188.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004417/7.49, allocations: 51.55 kB / 3.185 GB, free: 188.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01994/7.51, allocations: 13.65 MB / 3.198 GB, free: 180.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.115e-06/7.51, allocations: 8.375 kB / 3.198 GB, free: 180.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/7.525, allocations: 4.972 MB / 3.203 GB, free: 179.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/7.527, allocations: 0.6984 MB / 3.203 GB, free: 179.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007959/7.528, allocations: 42.22 kB / 3.203 GB, free: 179.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002777/7.531, allocations: 206.7 kB / 3.204 GB, free: 179.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005849/7.531, allocations: 152.3 kB / 3.204 GB, free: 179.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002567/7.531, allocations: 71.39 kB / 3.204 GB, free: 179.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003107/7.535, allocations: 1.537 MB / 3.205 GB, free: 179.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.15e-06/7.535, allocations: 0 / 3.205 GB, free: 179.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006579/7.541, allocations: 1.348 MB / 3.207 GB, free: 179.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (180): * Single equations (assignments): 172 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00368/7.545, allocations: 1.109 MB / 3.208 GB, free: 179.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01512/7.56, allocations: 6.227 MB / 3.214 GB, free: 177.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/7.56, allocations: 7.062 kB / 3.214 GB, free: 177.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006081/7.566, allocations: 2.398 MB / 3.216 GB, free: 176.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/7.57, allocations: 0.5018 MB / 3.217 GB, free: 176.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/7.585, allocations: 7.827 MB / 3.224 GB, free: 172 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003906/7.589, allocations: 2.505 MB / 3.227 GB, free: 171 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005117/7.595, allocations: 1.023 MB / 3.228 GB, free: 170.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/7.596, allocations: 191.1 kB / 3.228 GB, free: 170.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.639e-06/7.596, allocations: 0 / 3.228 GB, free: 170.9 MB / 0.823 GB Notification: Performance of Templates: time 0.1035/7.699, allocations: 47.22 MB / 3.274 GB, free: 168.5 MB / 0.823 GB