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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.762e-05, allocations: 4 kB / 292.1 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09127/0.09133, allocations: 50.41 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3749/0.4663, allocations: 85.95 MB / 428.5 MB, free: 8.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.4666, allocations: 79.2 kB / 428.6 MB, free: 8.277 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1133/0.5799, allocations: 31.5 MB / 460.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.15e-06/0.5799, allocations: 0 / 460.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001002/0.58, allocations: 32 kB / 460.1 MB, free: 12.93 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.004897/0.5849, allocations: 1.701 MB / 461.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.585, allocations: 8.031 kB / 461.8 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.587, allocations: 313.8 kB / 462.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/0.5896, allocations: 1.082 MB / 463.2 MB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.5898, allocations: 99.02 kB / 463.3 MB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003118/0.5901, allocations: 136 kB / 463.5 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00407/0.5942, allocations: 1.771 MB / 465.2 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.5942, allocations: 0 / 465.2 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/0.5945, allocations: 60 kB / 465.3 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.312e-05/0.5945, allocations: 45.98 kB / 465.3 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003483/0.598, allocations: 1.49 MB / 466.8 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.6107, allocations: 5.583 MB / 472.4 MB, free: 284 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/0.6148, allocations: 2.853 MB / 475.3 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000918/0.6157, allocations: 460.6 kB / 475.7 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003154/0.6189, allocations: 1.529 MB / 477.2 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.6189, allocations: 46.78 kB / 477.3 MB, free: 10.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 3.681e-06/0.619, allocations: 0 / 477.3 MB, free: 10.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.001916/0.6209, allocations: 0.7884 MB / 478.1 MB, free: 10.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.621, allocations: 85.11 kB / 478.2 MB, free: 9.973 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.6228, allocations: 0.9221 MB / 479.1 MB, free: 9.043 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.08e-05/0.6228, allocations: 37.7 kB / 479.1 MB, free: 9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006635/0.6235, allocations: 0.6735 MB / 479.8 MB, free: 8.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.6237, allocations: 185.4 kB / 480 MB, free: 8.133 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.6238, allocations: 8 kB / 480 MB, free: 8.125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.624, allocations: 334.2 kB / 480.3 MB, free: 7.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007035/0.6247, allocations: 325.4 kB / 480.6 MB, free: 7.477 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008389/0.6256, allocations: 493.8 kB / 481.1 MB, free: 6.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/0.6264, allocations: 397.2 kB / 481.5 MB, free: 6.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.529e-06/0.6264, allocations: 4 kB / 481.5 MB, free: 6.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002053/0.6285, allocations: 0.9235 MB / 482.4 MB, free: 5.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.6285, allocations: 4 kB / 482.4 MB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.6286, allocations: 8 kB / 482.4 MB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.6286, allocations: 8 kB / 482.4 MB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.6297, allocations: 188.3 kB / 482.6 MB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.661e-05/0.6297, allocations: 19.98 kB / 482.6 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/0.6305, allocations: 83.34 kB / 482.7 MB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.452e-05/0.6306, allocations: 31.98 kB / 482.7 MB, free: 5.27 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.0002109/0.6308, allocations: 140.8 kB / 482.9 MB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.6311, allocations: 90.88 kB / 483 MB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.6328, allocations: 0.654 MB / 483.6 MB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.6329, allocations: 8 kB / 483.6 MB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.6329, allocations: 4 kB / 483.6 MB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.6329, allocations: 3.984 kB / 483.6 MB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/0.6363, allocations: 1.625 MB / 485.3 MB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.6363, allocations: 3.938 kB / 485.3 MB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006607/0.637, allocations: 91.88 kB / 485.4 MB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005732/0.6376, allocations: 152.2 kB / 485.5 MB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/0.6377, allocations: 24.02 kB / 485.5 MB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004162/0.6419, allocations: 2.587 MB / 488.1 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.16e-06/0.6419, allocations: 4.031 kB / 488.1 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.6446, allocations: 1.413 MB / 489.5 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.645, allocations: 188 kB / 489.7 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.6452, allocations: 19.98 kB / 489.7 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/0.6459, allocations: 67.94 kB / 489.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.6461, allocations: 59.8 kB / 489.9 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.18e-05/0.6462, allocations: 12 kB / 489.9 MB, free: 13.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001346/0.6475, allocations: 0.7216 MB / 490.6 MB, free: 13.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.6e-07/0.6475, allocations: 0 / 490.6 MB, free: 13.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00133/0.6489, allocations: 370.3 kB / 491 MB, free: 12.76 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.000344/0.6492, allocations: 172.5 kB / 491.1 MB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.6507, allocations: 0.6821 MB / 491.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.745e-06/0.6507, allocations: 1.125 kB / 491.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.652, allocations: 0.536 MB / 492.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/0.653, allocations: 163.2 kB / 492.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/0.6579, allocations: 2.262 MB / 494.8 MB, free: 8.891 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.6596, allocations: 1.522 MB / 496.3 MB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008799/0.6605, allocations: 226.7 kB / 496.5 MB, free: 7.109 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.6608, allocations: 59.42 kB / 496.6 MB, free: 7.051 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6608, allocations: 0 / 496.6 MB, free: 7.051 MB / 410.7 MB Notification: Performance of Templates: time 0.03118/0.692, allocations: 10.76 MB / 0.4954 GB, free: 12.39 MB / 426.7 MB