Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.998e-05/3.009e-05, allocations: 2.5 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.09287, allocations: 50.41 MB / 343.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4555, allocations: 82.17 MB / 425.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.4557, allocations: 66.72 kB / 425.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07769/0.5334, allocations: 19.44 MB / 444.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.305e-06/0.5335, allocations: 0 / 444.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000152/0.5337, allocations: 32 kB / 444.8 MB, free: 11.5 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.00372/0.5374, allocations: 1.362 MB / 446.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5375, allocations: 8.031 kB / 446.2 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005478/0.538, allocations: 146.3 kB / 446.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.5404, allocations: 0.8999 MB / 447.2 MB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.48e-05/0.5405, allocations: 88.5 kB / 447.3 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/0.5407, allocations: 106.6 kB / 447.4 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/0.544, allocations: 1.457 MB / 448.8 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.544, allocations: 4.344 kB / 448.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.5442, allocations: 53.58 kB / 448.9 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/0.5442, allocations: 28 kB / 448.9 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.5469, allocations: 1.151 MB / 450.1 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009482/0.5564, allocations: 4.294 MB / 454.4 MB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.558, allocations: 1.284 MB / 455.7 MB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008924/0.5589, allocations: 458.4 kB / 456.1 MB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.559, allocations: 8.422 kB / 456.1 MB, free: 1.195 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.559, allocations: 46.98 kB / 456.2 MB, free: 1.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 7.408e-06/0.559, allocations: 7.922 kB / 456.2 MB, free: 1.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001368/0.5604, allocations: 0.585 MB / 456.7 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.5605, allocations: 55.84 kB / 456.8 MB, free: 484 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.5619, allocations: 0.7298 MB / 457.5 MB, free: 15.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/0.562, allocations: 37.7 kB / 457.6 MB, free: 15.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/0.5625, allocations: 0.5376 MB / 458.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.5627, allocations: 177.4 kB / 458.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.5628, allocations: 12 kB / 458.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002582/0.5631, allocations: 386.8 kB / 458.7 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/0.5637, allocations: 276.9 kB / 458.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/0.5644, allocations: 377.4 kB / 459.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/0.5651, allocations: 343.1 kB / 459.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.095e-06/0.5651, allocations: 0 / 459.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001703/0.5668, allocations: 0.7712 MB / 460.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.5669, allocations: 4 kB / 460.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.5669, allocations: 7.984 kB / 460.4 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.5669, allocations: 4.281 kB / 460.4 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008077/0.5677, allocations: 151.8 kB / 460.6 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/0.5678, allocations: 11.97 kB / 460.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/0.5683, allocations: 59.42 kB / 460.6 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/0.5684, allocations: 20 kB / 460.7 MB, free: 12.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.5686, allocations: 140.8 kB / 460.8 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.5688, allocations: 79.11 kB / 460.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.5691, allocations: 90.86 kB / 461 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.5691, allocations: 8 kB / 461 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/0.5691, allocations: 0 / 461 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.512e-06/0.5692, allocations: 3.984 kB / 461 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/0.5732, allocations: 1.875 MB / 462.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.643e-06/0.5732, allocations: 0 / 462.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007303/0.574, allocations: 120 kB / 463 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.574, allocations: 0 / 463 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.574, allocations: 15.98 kB / 463 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.003e-06/0.5741, allocations: 4 kB / 463 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.321e-06/0.5741, allocations: 3.953 kB / 463 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.5761, allocations: 1.081 MB / 464.1 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.5764, allocations: 168.1 kB / 464.2 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.5766, allocations: 19.98 kB / 464.3 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.5771, allocations: 55.95 kB / 464.3 MB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5773, allocations: 32.39 kB / 464.3 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.5773, allocations: 11.98 kB / 464.4 MB, free: 8.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001072/0.5784, allocations: 0.5733 MB / 464.9 MB, free: 8.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.15e-07/0.5784, allocations: 3.938 kB / 464.9 MB, free: 8.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009719/0.5794, allocations: 278.8 kB / 465.2 MB, free: 7.855 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002134/0.5796, allocations: 127.1 kB / 465.3 MB, free: 7.723 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.5809, allocations: 0.5932 MB / 465.9 MB, free: 7.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.589e-06/0.5809, allocations: 3.938 kB / 465.9 MB, free: 7.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005641/0.5815, allocations: 293.5 kB / 466.2 MB, free: 6.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009874/0.5825, allocations: 171.6 kB / 466.4 MB, free: 6.672 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004307/0.5868, allocations: 1.846 MB / 468.2 MB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.5883, allocations: 1.356 MB / 469.6 MB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008262/0.5891, allocations: 209.8 kB / 469.8 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.5894, allocations: 51.44 kB / 469.8 MB, free: 3.145 MB / 378.7 MB Notification: Performance of SimCode: time 1.768e-06/0.5894, allocations: 0 / 469.8 MB, free: 3.145 MB / 378.7 MB Notification: Performance of Templates: time 0.02602/0.6154, allocations: 8.888 MB / 478.7 MB, free: 10.34 MB / 394.7 MB