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.01478/0.01478, allocations: 222.3 kB / 15.17 MB, free: 6 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.00111/0.00111, allocations: 175.5 kB / 16.06 MB, free: 5.875 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 3.513/3.513, allocations: 389.1 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.169/4.169, allocations: 472.3 MB / 0.9018 GB, free: 13.43 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004888, allocations: 19.98 kB / 1.008 GB, free: 0.8594 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4935/0.494, allocations: 98.72 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02057/0.5146, allocations: 18.96 MB / 1.123 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.1467/0.6613, allocations: 143.9 MB / 1.263 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.6637, allocations: 55.75 kB / 1.263 GB, free: 21.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.6655, allocations: 0.5007 MB / 1.264 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005705/0.6713, allocations: 1.625 MB / 1.265 GB, free: 19.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005055/0.6763, allocations: 1.471 MB / 1.267 GB, free: 17.68 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006124/0.6825, allocations: 5.403 MB / 1.272 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01014/0.6927, allocations: 5.707 MB / 1.277 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.6954, allocations: 1.498 MB / 1.279 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/0.6986, allocations: 1.946 MB / 1.281 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007108/0.6993, allocations: 164 kB / 1.281 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.7017, allocations: 0.6709 MB / 1.282 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001731/0.7034, allocations: 1.321 MB / 1.283 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.5078/1.211, allocations: 0.6889 MB / 1.284 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006766/1.218, allocations: 5.694 MB / 1.289 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.124e-06/1.218, allocations: 0 / 1.289 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.626e-06/1.218, allocations: 2.656 kB / 1.289 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001551/1.218, allocations: 0 / 1.289 GB, free: 13.72 MB / 0.6823 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.008115/1.226, allocations: 3.391 MB / 1.293 GB, free: 12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.226, allocations: 10.06 kB / 1.293 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006426/1.233, allocations: 0.9572 MB / 1.293 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005663/1.239, allocations: 2.282 MB / 1.296 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/1.239, allocations: 232.4 kB / 1.296 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/1.24, allocations: 303.1 kB / 1.296 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/1.26, allocations: 4.777 MB / 1.301 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/1.261, allocations: 9.75 kB / 1.301 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00146/1.262, allocations: 132.8 kB / 1.301 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007856/1.263, allocations: 222.8 kB / 1.301 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02008/1.283, allocations: 4.422 MB / 1.306 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04436/1.328, allocations: 19.6 MB / 1.325 GB, free: 16.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00528/1.333, allocations: 2.125 MB / 1.327 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/1.336, allocations: 1.165 MB / 1.328 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009678/1.337, allocations: 0.564 MB / 1.328 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002963/1.34, allocations: 1.263 MB / 1.33 GB, free: 15.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=160): time 5.645e-06/1.34, allocations: 0 / 1.33 GB, free: 15.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=197): time 0.04743/1.387, allocations: 11.56 MB / 1.341 GB, free: 12.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/1.387, allocations: 278.7 kB / 1.341 GB, free: 12.63 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/1.391, allocations: 1.987 MB / 1.343 GB, free: 12.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004597/1.392, allocations: 65.27 kB / 1.343 GB, free: 12.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/1.393, allocations: 1.419 MB / 1.345 GB, free: 11.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.394, allocations: 0.6632 MB / 1.345 GB, free: 10.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/1.395, allocations: 39.41 kB / 1.345 GB, free: 10.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002719/1.395, allocations: 385.8 kB / 1.346 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003034/1.398, allocations: 1.251 MB / 1.347 GB, free: 10.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003733/1.402, allocations: 1.704 MB / 1.349 GB, free: 9.609 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003549/1.405, allocations: 1.613 MB / 1.35 GB, free: 9.281 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/1.405, allocations: 4.844 kB / 1.35 GB, free: 9.281 MB / 0.698 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.01883/1.424, allocations: 5.516 MB / 1.356 GB, free: 7.707 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004216/1.425, allocations: 0.4923 MB / 1.356 GB, free: 7.113 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/1.425, allocations: 13.97 kB / 1.356 GB, free: 7.109 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01332/1.438, allocations: 2.439 MB / 1.358 GB, free: 6.156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/1.441, allocations: 491 kB / 1.359 GB, free: 6.062 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02648/1.468, allocations: 14.22 MB / 1.373 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002996/1.471, allocations: 216.8 kB / 1.373 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004355/1.471, allocations: 93.02 kB / 1.373 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/1.471, allocations: 3.531 kB / 1.373 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01517/1.486, allocations: 4.583 MB / 1.378 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-05/1.486, allocations: 8 kB / 1.378 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008547/1.495, allocations: 1.625 MB / 1.379 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/1.498, allocations: 0.4939 MB / 1.38 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01794/1.516, allocations: 8.659 MB / 1.388 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/1.519, allocations: 200 kB / 1.388 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003602/1.519, allocations: 89.28 kB / 1.388 GB, free: 0.6914 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 229 * 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.003207/1.522, allocations: 1.249 MB / 1.39 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007424/1.523, allocations: 224.9 kB / 1.39 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01848/1.542, allocations: 5.325 MB / 1.395 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.393e-05/1.542, allocations: 20 kB / 1.395 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/1.542, allocations: 8 kB / 1.395 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-05/1.542, allocations: 11.95 kB / 1.395 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02863/1.571, allocations: 9.995 MB / 1.405 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.384e-05/1.571, allocations: 12.12 kB / 1.405 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002426/1.573, allocations: 401.5 kB / 1.405 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01207/1.585, allocations: 2.276 MB / 1.407 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004441/1.586, allocations: 55.41 kB / 1.407 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02368/1.609, allocations: 13.83 MB / 1.421 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.199e-05/1.609, allocations: 6.906 kB / 1.421 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01735/1.627, allocations: 5.171 MB / 1.426 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/1.629, allocations: 0.7027 MB / 1.427 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007372/1.63, allocations: 52.38 kB / 1.427 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00277/1.633, allocations: 238.3 kB / 1.427 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006293/1.633, allocations: 158.2 kB / 1.427 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002863/1.634, allocations: 72.97 kB / 1.427 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002919/1.637, allocations: 1.388 MB / 1.429 GB, free: 264 kB / 0.7448 GB Notification: Performance of sort global known variables: time 9.24e-07/1.637, allocations: 0.5625 kB / 1.429 GB, free: 264 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006497/1.643, allocations: 1.271 MB / 1.43 GB, free: 15.1 MB / 0.7605 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 (190): * Single equations (assignments): 182 * 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.003764/1.647, allocations: 0.9996 MB / 1.431 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01773/1.665, allocations: 6.916 MB / 1.438 GB, free: 9.219 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.665, allocations: 0 / 1.438 GB, free: 9.219 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00571/1.67, allocations: 2.373 MB / 1.44 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/1.675, allocations: 0.5451 MB / 1.44 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/1.693, allocations: 7.949 MB / 1.448 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00405/1.697, allocations: 2.508 MB / 1.451 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005051/1.702, allocations: 1.024 MB / 1.452 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.703, allocations: 207.3 kB / 1.452 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of SimCode: time 1.517e-06/1.703, allocations: 0 / 1.452 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.1207/1.824, allocations: 51.05 MB / 1.502 GB, free: 10.12 MB / 0.823 GB