Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.432e-05, allocations: 0 / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08929/0.08934, allocations: 50.42 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4623, allocations: 85.97 MB / 429.1 MB, free: 8.332 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003779/0.4627, allocations: 78.58 kB / 429.1 MB, free: 8.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.119/0.5818, allocations: 31.5 MB / 460.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.5819, allocations: 0 / 460.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.533e-05/0.582, allocations: 36.19 kB / 460.7 MB, free: 12.98 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004485/0.5865, allocations: 1.685 MB / 462.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5865, allocations: 12.02 kB / 462.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/0.5885, allocations: 313.8 kB / 462.7 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.591, allocations: 1.086 MB / 463.8 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.5911, allocations: 103 kB / 463.9 MB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003003/0.5915, allocations: 139.9 kB / 464 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003856/0.5953, allocations: 1.763 MB / 465.8 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.5954, allocations: 4 kB / 465.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/0.5956, allocations: 56 kB / 465.8 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.789e-05/0.5957, allocations: 42 kB / 465.9 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003344/0.599, allocations: 1.49 MB / 467.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.6114, allocations: 5.583 MB / 472.9 MB, free: 344 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/0.6154, allocations: 2.847 MB / 475.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009029/0.6164, allocations: 472 kB / 476.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003323/0.6197, allocations: 1.529 MB / 477.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.6198, allocations: 42.78 kB / 477.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 3.927e-06/0.6198, allocations: 4 kB / 477.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.001929/0.6218, allocations: 0.7923 MB / 478.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.6219, allocations: 85.11 kB / 478.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.6237, allocations: 0.9143 MB / 479.6 MB, free: 9.102 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.6238, allocations: 41.7 kB / 479.6 MB, free: 9.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000635/0.6245, allocations: 0.6696 MB / 480.3 MB, free: 8.375 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.6247, allocations: 185.4 kB / 480.5 MB, free: 8.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.6248, allocations: 8 kB / 480.5 MB, free: 8.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.625, allocations: 334 kB / 480.8 MB, free: 7.852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006799/0.6257, allocations: 325.4 kB / 481.1 MB, free: 7.535 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008327/0.6265, allocations: 493.8 kB / 481.6 MB, free: 6.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000803/0.6273, allocations: 397.2 kB / 482 MB, free: 6.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.68e-06/0.6274, allocations: 4 kB / 482 MB, free: 6.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002044/0.6294, allocations: 0.9234 MB / 482.9 MB, free: 5.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.6295, allocations: 4.281 kB / 482.9 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.6295, allocations: 8 kB / 483 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.6295, allocations: 11.98 kB / 483 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.6306, allocations: 192.2 kB / 483.2 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.6307, allocations: 11.94 kB / 483.2 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007548/0.6314, allocations: 87.34 kB / 483.3 MB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/0.6315, allocations: 31.98 kB / 483.3 MB, free: 5.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002163/0.6318, allocations: 144.7 kB / 483.4 MB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.632, allocations: 90.88 kB / 483.5 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.6336, allocations: 0.6463 MB / 484.2 MB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.6337, allocations: 8 kB / 484.2 MB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.641e-06/0.6337, allocations: 0 / 484.2 MB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.6337, allocations: 7.984 kB / 484.2 MB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/0.6372, allocations: 1.617 MB / 485.8 MB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.984e-06/0.6372, allocations: 4.094 kB / 485.8 MB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/0.6379, allocations: 91.88 kB / 485.9 MB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005852/0.6385, allocations: 148.6 kB / 486 MB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-05/0.6386, allocations: 23.98 kB / 486.1 MB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004209/0.6428, allocations: 2.598 MB / 488.7 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.286e-06/0.6428, allocations: 4.031 kB / 488.7 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/0.6456, allocations: 1.417 MB / 490.1 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.6459, allocations: 188 kB / 490.3 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.6461, allocations: 16 kB / 490.3 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007631/0.6469, allocations: 68.06 kB / 490.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.6471, allocations: 63.8 kB / 490.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.61e-05/0.6472, allocations: 19.98 kB / 490.4 MB, free: 13.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001343/0.6485, allocations: 0.7138 MB / 491.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.393e-06/0.6485, allocations: 0 / 491.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001368/0.6499, allocations: 374.3 kB / 491.5 MB, free: 12.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003292/0.6503, allocations: 163 kB / 491.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.6517, allocations: 0.6821 MB / 492.3 MB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.813e-06/0.6517, allocations: 1.125 kB / 492.3 MB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.653, allocations: 0.5353 MB / 492.9 MB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009848/0.654, allocations: 163.1 kB / 493 MB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/0.6588, allocations: 2.258 MB / 495.3 MB, free: 8.949 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/0.6605, allocations: 1.522 MB / 496.8 MB, free: 7.395 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000865/0.6614, allocations: 230.7 kB / 497 MB, free: 7.164 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.6616, allocations: 59.42 kB / 497.1 MB, free: 7.105 MB / 410.7 MB Notification: Performance of SimCode: time 1.5e-06/0.6617, allocations: 4 kB / 497.1 MB, free: 7.102 MB / 410.7 MB Notification: Performance of Templates: time 0.03094/0.6926, allocations: 10.75 MB / 0.496 GB, free: 12.45 MB / 426.7 MB