Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,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_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadModel(Modelica): time 1.852/1.852, allocations: 194.9 MB / 210.6 MB, free: 8.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.102e-05, allocations: 4 kB / 258.8 MB, free: 7.855 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2956, allocations: 44.49 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006109/0.3018, allocations: 3.712 MB / 307 MB, free: 9.859 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003836/0.3057, allocations: 1.476 MB / 308.5 MB, free: 8.379 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005079/0.3062, allocations: 27.88 kB / 308.5 MB, free: 8.352 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.3068, allocations: 179 kB / 308.7 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.3087, allocations: 0.4944 MB / 309.2 MB, free: 7.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.3094, allocations: 163.6 kB / 309.4 MB, free: 7.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002223/0.3116, allocations: 0.9179 MB / 310.3 MB, free: 6.602 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.3128, allocations: 0.6124 MB / 310.9 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009374/0.3138, allocations: 474.8 kB / 311.4 MB, free: 5.516 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.315, allocations: 0.623 MB / 312 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006429/0.3157, allocations: 147.9 kB / 312.1 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.316, allocations: 64 kB / 312.2 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004804/0.3164, allocations: 366.8 kB / 312.5 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004367/0.3169, allocations: 140 kB / 312.7 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.3198, allocations: 2.006 MB / 314.7 MB, free: 2.176 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3199, allocations: 0 / 314.7 MB, free: 2.176 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.3199, allocations: 0 / 314.7 MB, free: 2.176 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.348e-05/0.32, allocations: 0 / 314.7 MB, free: 2.176 MB / 250.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.006374/0.3263, allocations: 1.776 MB / 316.5 MB, free: 356 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3264, allocations: 12.03 kB / 316.5 MB, free: 344 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/0.3294, allocations: 365.7 kB / 316.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.3323, allocations: 1.001 MB / 317.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.3325, allocations: 106.6 kB / 317.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004387/0.3329, allocations: 136 kB / 318.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005337/0.3383, allocations: 1.871 MB / 319.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.36e-05/0.3384, allocations: 3.984 kB / 319.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/0.3386, allocations: 56 kB / 320 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-05/0.3387, allocations: 46 kB / 320 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005011/0.3437, allocations: 1.703 MB / 321.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.3588, allocations: 5.626 MB / 327.4 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004987/0.3639, allocations: 2.9 MB / 330.3 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003548/0.3674, allocations: 1.521 MB / 331.8 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.3675, allocations: 42.84 kB / 331.8 MB, free: 152 kB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 3.306e-06/0.3675, allocations: 0 / 331.8 MB, free: 152 kB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.005506/0.3731, allocations: 1.431 MB / 333.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.3731, allocations: 89.05 kB / 333.4 MB, free: 14.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.3751, allocations: 0.922 MB / 334.3 MB, free: 13.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.675e-05/0.3752, allocations: 33.7 kB / 334.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006518/0.3759, allocations: 0.6813 MB / 335 MB, free: 12.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.3761, allocations: 189.3 kB / 335.2 MB, free: 12.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.3762, allocations: 12 kB / 335.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3763, allocations: 337.9 kB / 335.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.3774, allocations: 369 kB / 335.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.3786, allocations: 0.5215 MB / 336.4 MB, free: 11.44 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.3798, allocations: 433.3 kB / 336.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3798, allocations: 4 kB / 336.8 MB, free: 11.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002847/0.3827, allocations: 1.018 MB / 337.8 MB, free: 9.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3827, allocations: 4 kB / 337.9 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.3828, allocations: 11.98 kB / 337.9 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.3828, allocations: 8 kB / 337.9 MB, free: 9.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.3842, allocations: 187.7 kB / 338.1 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.3843, allocations: 8 kB / 338.1 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009565/0.3853, allocations: 95.23 kB / 338.2 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.3853, allocations: 24 kB / 338.2 MB, free: 9.656 MB / 282.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.001127/0.3865, allocations: 0.5285 MB / 338.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.3867, allocations: 90.95 kB / 338.8 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/0.3888, allocations: 0.6893 MB / 339.5 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.3888, allocations: 7.953 kB / 339.5 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.3889, allocations: 4 kB / 339.5 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.3889, allocations: 7.922 kB / 339.5 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/0.3928, allocations: 1.664 MB / 341.2 MB, free: 6.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.3929, allocations: 3.953 kB / 341.2 MB, free: 6.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009425/0.3938, allocations: 104 kB / 341.3 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006907/0.3946, allocations: 149.3 kB / 341.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.3946, allocations: 19.98 kB / 341.4 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004614/0.3993, allocations: 2.658 MB / 344.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.3993, allocations: 4.031 kB / 344.1 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003948/0.4033, allocations: 1.539 MB / 345.6 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.4037, allocations: 192 kB / 345.8 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.404, allocations: 24 kB / 345.9 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.405, allocations: 71.88 kB / 345.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.4052, allocations: 59.8 kB / 346 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.348e-05/0.4053, allocations: 16 kB / 346 MB, free: 1.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001488/0.4068, allocations: 0.7254 MB / 346.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.4068, allocations: 0 / 346.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001314/0.4081, allocations: 350.5 kB / 347.1 MB, free: 488 kB / 282.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.0003197/0.4084, allocations: 143.1 kB / 347.2 MB, free: 336 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002321/0.4108, allocations: 0.7766 MB / 348 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4108, allocations: 4.188 kB / 348 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.4125, allocations: 0.5916 MB / 348.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.4139, allocations: 166 kB / 348.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006906/0.4208, allocations: 3.298 MB / 352 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/0.4225, allocations: 1.518 MB / 353.6 MB, free: 9.891 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001161/0.4237, allocations: 234.7 kB / 353.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.424, allocations: 59.42 kB / 353.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.424, allocations: 0 / 353.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of Templates: time 0.03322/0.4572, allocations: 10.64 MB / 364.5 MB, free: 14.98 MB / 314.7 MB