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.011/0.01101, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001223/0.001223, allocations: 176.2 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.473/3.473, allocations: 389.1 MB / 405.9 MB, free: 67.62 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.262/4.262, allocations: 472.3 MB / 0.9017 GB, free: 87.64 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004957, allocations: 10.66 kB / 1.008 GB, free: 37.36 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.155, allocations: 98.72 MB / 1.104 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02804/0.1831, allocations: 18.72 MB / 1.122 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.7083/0.8914, allocations: 144 MB / 1.263 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.8938, allocations: 55.94 kB / 1.263 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.8956, allocations: 0.5066 MB / 1.263 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00583/0.9015, allocations: 1.637 MB / 1.265 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005546/0.9071, allocations: 1.497 MB / 1.267 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007129/0.9142, allocations: 5.193 MB / 1.272 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01218/0.9264, allocations: 5.668 MB / 1.277 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004298/0.9308, allocations: 1.457 MB / 1.279 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005206/0.9361, allocations: 1.893 MB / 1.28 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008627/0.937, allocations: 162.3 kB / 1.281 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.9399, allocations: 0.6479 MB / 1.281 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003049/0.943, allocations: 1.25 MB / 1.282 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002145/0.9452, allocations: 0.6653 MB / 1.283 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.02279/0.9681, allocations: 5.984 MB / 1.289 GB, free: 0 / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.167e-06/0.9681, allocations: 128 / 1.289 GB, free: 0 / 0.6355 GB Notification: Performance of FrontEnd: time 2.848e-06/0.9681, allocations: 1.922 kB / 1.289 GB, free: 0 / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001606/0.9683, allocations: 112 / 1.289 GB, free: 16 MB / 0.6511 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.008402/0.9767, allocations: 3.276 MB / 1.292 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.9768, allocations: 14.84 kB / 1.292 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/0.9893, allocations: 0.9763 MB / 1.293 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009359/0.9987, allocations: 2.13 MB / 1.295 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003855/0.9991, allocations: 230.7 kB / 1.295 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001618/1.001, allocations: 296.2 kB / 1.296 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01973/1.021, allocations: 4.724 MB / 1.3 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00015/1.021, allocations: 16.78 kB / 1.3 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009046/1.022, allocations: 125.2 kB / 1.3 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007174/1.022, allocations: 218.1 kB / 1.301 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/1.041, allocations: 4.407 MB / 1.305 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04686/1.088, allocations: 18.57 MB / 1.323 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005164/1.094, allocations: 2.247 MB / 1.325 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/1.096, allocations: 1.152 MB / 1.326 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009781/1.097, allocations: 0.5671 MB / 1.327 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002874/1.1, allocations: 1.231 MB / 1.328 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=157): time 5.712e-06/1.1, allocations: 4 kB / 1.328 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=192): time 0.07417/1.174, allocations: 10.63 MB / 1.338 GB, free: 2.965 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004173/1.175, allocations: 334.4 kB / 1.339 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007425/1.182, allocations: 1.808 MB / 1.341 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0007438/1.183, allocations: 62.45 kB / 1.341 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.003076/1.186, allocations: 1.388 MB / 1.342 GB, free: 168 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001838/1.188, allocations: 0.6422 MB / 1.343 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000471/1.188, allocations: 43.61 kB / 1.343 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0004894/1.189, allocations: 386.5 kB / 1.343 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006737/1.196, allocations: 1.221 MB / 1.344 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008267/1.204, allocations: 1.734 MB / 1.346 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004465/1.209, allocations: 1.581 MB / 1.347 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-05/1.209, allocations: 4 kB / 1.347 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.01615/1.225, allocations: 4.951 MB / 1.352 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005043/1.225, allocations: 0.5596 MB / 1.353 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/1.225, allocations: 12 kB / 1.353 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009522/1.235, allocations: 1.837 MB / 1.355 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/1.238, allocations: 486.8 kB / 1.355 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01998/1.258, allocations: 9.362 MB / 1.364 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/1.261, allocations: 210.9 kB / 1.364 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004369/1.261, allocations: 99.56 kB / 1.365 GB, free: 14.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.261, allocations: 8 kB / 1.365 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01313/1.274, allocations: 4.176 MB / 1.369 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.682e-05/1.275, allocations: 12 kB / 1.369 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00619/1.281, allocations: 1.198 MB / 1.37 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/1.284, allocations: 0.5031 MB / 1.37 GB, free: 9.188 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01368/1.298, allocations: 5.665 MB / 1.376 GB, free: 3.391 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/1.3, allocations: 186 kB / 1.376 GB, free: 3.211 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004372/1.301, allocations: 99.95 kB / 1.376 GB, free: 3.113 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (236): * Single equations (assignments): 230 * 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 {(3,100.0%) 13} * Non-linear torn systems: 1 {3 13} Notification: Performance of prepare postOptimizeDAE: time 0.003055/1.304, allocations: 1.214 MB / 1.377 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006919/1.305, allocations: 221.4 kB / 1.378 GB, free: 1.672 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01636/1.321, allocations: 4.647 MB / 1.382 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-05/1.321, allocations: 20 kB / 1.382 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.321, allocations: 4 kB / 1.382 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.096e-05/1.321, allocations: 7.969 kB / 1.382 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02625/1.347, allocations: 9.713 MB / 1.392 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.139e-05/1.347, allocations: 8.969 kB / 1.392 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002258/1.35, allocations: 379.4 kB / 1.392 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008535/1.358, allocations: 1.706 MB / 1.394 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004277/1.359, allocations: 55.98 kB / 1.394 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/1.377, allocations: 8.704 MB / 1.402 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/1.377, allocations: 11.94 kB / 1.402 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/1.391, allocations: 4.64 MB / 1.407 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/1.393, allocations: 0.6621 MB / 1.407 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004672/1.394, allocations: 51.95 kB / 1.407 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/1.396, allocations: 215.7 kB / 1.408 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000501/1.396, allocations: 165.6 kB / 1.408 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/1.397, allocations: 71.97 kB / 1.408 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004465/1.401, allocations: 1.252 MB / 1.409 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.149e-06/1.401, allocations: 1.75 kB / 1.409 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007585/1.409, allocations: 1.242 MB / 1.41 GB, free: 15.59 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (173): * Single equations (assignments): 169 * 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,100.0%) 12} * Non-linear torn systems: 1 {3 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.004343/1.413, allocations: 0.9067 MB / 1.411 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01918/1.432, allocations: 6.154 MB / 1.417 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/1.432, allocations: 4 kB / 1.417 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.005019/1.437, allocations: 1.925 MB / 1.419 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/1.441, allocations: 0.5152 MB / 1.42 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/1.457, allocations: 7.691 MB / 1.427 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00361/1.461, allocations: 2.44 MB / 1.429 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.006931/1.468, allocations: 1.032 MB / 1.43 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/1.47, allocations: 191.4 kB / 1.431 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of SimCode: time 1.88e-06/1.47, allocations: 0 / 1.431 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of Templates: time 0.1349/1.605, allocations: 45.95 MB / 1.475 GB, free: 13.18 MB / 0.8073 GB