Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadModel(Buildings): time 4.729/4.729, allocations: 458.9 MB / 473.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.029e-05, allocations: 3.438 kB / 0.5697 GB, free: 9.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2287, allocations: 106.2 MB / 0.6734 GB, free: 2.637 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.03294/0.2617, allocations: 18.37 MB / 0.6914 GB, free: 216 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.9219/1.184, allocations: 129.5 MB / 0.8178 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002746/1.186, allocations: 106.7 kB / 0.8179 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002375/1.189, allocations: 0.5372 MB / 0.8185 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006531/1.195, allocations: 1.381 MB / 0.8198 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007062/1.203, allocations: 1.478 MB / 0.8213 GB, free: 6.477 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007075/1.21, allocations: 2.343 MB / 0.8236 GB, free: 6.453 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0134/1.223, allocations: 5.279 MB / 0.8287 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/1.227, allocations: 1.098 MB / 0.8298 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004729/1.232, allocations: 1.254 MB / 0.831 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/1.235, allocations: 0.5092 MB / 0.8315 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001457/1.237, allocations: 127.4 kB / 0.8316 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00246/1.239, allocations: 1.176 MB / 0.8328 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002058/1.241, allocations: 264.1 kB / 0.833 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.009765/1.251, allocations: 5.662 MB / 0.8386 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/1.251, allocations: 0 / 0.8386 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.577e-06/1.251, allocations: 0 / 0.8386 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002348/1.251, allocations: 0 / 0.8386 GB, free: 5.016 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01008/1.262, allocations: 2.963 MB / 0.8414 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/1.262, allocations: 8.625 kB / 0.8415 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00741/1.269, allocations: 0.8394 MB / 0.8423 GB, free: 2.816 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007283/1.276, allocations: 2.341 MB / 0.8446 GB, free: 1.996 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/1.277, allocations: 229.5 kB / 0.8448 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/1.278, allocations: 313.6 kB / 0.8451 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/1.292, allocations: 4.695 MB / 0.8497 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/1.292, allocations: 4.906 kB / 0.8497 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006671/1.293, allocations: 136.2 kB / 0.8498 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005574/1.294, allocations: 215.4 kB / 0.85 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/1.309, allocations: 4.398 MB / 0.8543 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04094/1.35, allocations: 19.52 MB / 0.8734 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005733/1.356, allocations: 1.993 MB / 0.8753 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/1.356, allocations: 130.8 kB / 0.8754 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00326/1.359, allocations: 1.196 MB / 0.8766 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=160): time 5.68e-06/1.359, allocations: 0 / 0.8766 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197): time 0.09695/1.456, allocations: 10.38 MB / 0.8867 GB, free: 14.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001974/1.457, allocations: 313.3 kB / 0.887 GB, free: 14.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004578/1.461, allocations: 1.84 MB / 0.8888 GB, free: 14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006149/1.462, allocations: 62.08 kB / 0.8889 GB, free: 13.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002028/1.464, allocations: 1.486 MB / 0.8903 GB, free: 13.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001199/1.465, allocations: 0.6605 MB / 0.891 GB, free: 12.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/1.465, allocations: 39.5 kB / 0.891 GB, free: 12.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002407/1.466, allocations: 384.4 kB / 0.8914 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003234/1.469, allocations: 1.15 MB / 0.8925 GB, free: 12.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003862/1.473, allocations: 1.605 MB / 0.8941 GB, free: 11.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003832/1.477, allocations: 1.393 MB / 0.8954 GB, free: 10.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.725e-05/1.477, allocations: 4 kB / 0.8954 GB, free: 10.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.02086/1.498, allocations: 4.677 MB / 0.9 GB, free: 7.473 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001758/1.499, allocations: 3.749 MB / 0.9037 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-05/1.499, allocations: 11.98 kB / 0.9037 GB, free: 3.508 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01325/1.513, allocations: 1.884 MB / 0.9055 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/1.517, allocations: 457 kB / 0.906 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/1.537, allocations: 9.898 MB / 0.9156 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00409/1.541, allocations: 177 kB / 0.9158 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006457/1.542, allocations: 85.03 kB / 0.9159 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.542, allocations: 4 kB / 0.9159 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01636/1.558, allocations: 3.783 MB / 0.9196 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/1.558, allocations: 8 kB / 0.9196 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008309/1.566, allocations: 1.206 MB / 0.9208 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004366/1.571, allocations: 476.8 kB / 0.9212 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/1.589, allocations: 8.022 MB / 0.9291 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/1.592, allocations: 154.4 kB / 0.9292 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/1.593, allocations: 89.16 kB / 0.9293 GB, free: 14.06 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * 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.003539/1.596, allocations: 1.17 MB / 0.9304 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009251/1.597, allocations: 237.1 kB / 0.9307 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02102/1.618, allocations: 4.855 MB / 0.9354 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-05/1.618, allocations: 20 kB / 0.9354 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.448e-05/1.618, allocations: 4.281 kB / 0.9354 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.918e-05/1.618, allocations: 11.95 kB / 0.9354 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03296/1.651, allocations: 9.518 MB / 0.9447 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.644e-05/1.652, allocations: 4 kB / 0.9447 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003347/1.655, allocations: 392 kB / 0.9451 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01274/1.668, allocations: 1.846 MB / 0.9469 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005453/1.668, allocations: 58.78 kB / 0.947 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02894/1.697, allocations: 14.04 MB / 0.9607 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/1.697, allocations: 10.44 kB / 0.9607 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02033/1.718, allocations: 5.151 MB / 0.9657 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002627/1.72, allocations: 0.6775 MB / 0.9664 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/1.721, allocations: 51.94 kB / 0.9664 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003528/1.725, allocations: 211.7 kB / 0.9666 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008756/1.726, allocations: 165.3 kB / 0.9668 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002978/1.726, allocations: 63.98 kB / 0.9668 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.004202/1.73, allocations: 1.453 MB / 0.9683 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.62e-07/1.73, allocations: 0 / 0.9683 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007446/1.738, allocations: 1.172 MB / 0.9694 GB, free: 11.33 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (194): * Single equations (assignments): 186 * 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.002437/1.74, allocations: 0.6303 MB / 0.97 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01831/1.759, allocations: 5.479 MB / 0.9754 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/1.759, allocations: 4 kB / 0.9754 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.006568/1.765, allocations: 2.318 MB / 0.9776 GB, free: 3.066 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005022/1.77, allocations: 0.5817 MB / 0.9782 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/1.792, allocations: 8.016 MB / 0.986 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00494/1.797, allocations: 2.545 MB / 0.9885 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.007862/1.805, allocations: 1.384 MB / 0.9899 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.806, allocations: 163.3 kB / 0.99 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of SimCode: time 1.433e-06/1.806, allocations: 0 / 0.99 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of Templates: time 0.1613/1.967, allocations: 50.59 MB / 1.039 GB, free: 4.102 MB / 0.823 GB