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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.682e-05, allocations: 0 / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3175, allocations: 44.5 MB / 303.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006644/0.3242, allocations: 3.719 MB / 307 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.3285, allocations: 1.471 MB / 308.5 MB, free: 8.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007075/0.3293, allocations: 31.88 kB / 308.5 MB, free: 8.457 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007607/0.33, allocations: 178.9 kB / 308.7 MB, free: 8.281 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.3324, allocations: 498.3 kB / 309.2 MB, free: 7.793 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008461/0.3332, allocations: 163.6 kB / 309.3 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002666/0.3359, allocations: 0.9134 MB / 310.2 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.3373, allocations: 0.624 MB / 310.9 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.3384, allocations: 470.8 kB / 311.3 MB, free: 5.625 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.34, allocations: 0.6269 MB / 312 MB, free: 4.996 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008818/0.3409, allocations: 147.9 kB / 312.1 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003299/0.3412, allocations: 64 kB / 312.2 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005536/0.3418, allocations: 370.8 kB / 312.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005549/0.3424, allocations: 136 kB / 312.7 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003487/0.3459, allocations: 2.008 MB / 314.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.3459, allocations: 0 / 314.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.346, allocations: 3.938 kB / 314.7 MB, free: 2.277 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.596e-05/0.3461, allocations: 0 / 314.7 MB, free: 2.277 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.006671/0.3527, allocations: 1.776 MB / 316.4 MB, free: 460 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.3528, allocations: 12.03 kB / 316.5 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.356, allocations: 365.7 kB / 316.8 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/0.3591, allocations: 0.9967 MB / 317.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.3593, allocations: 102.7 kB / 317.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005114/0.3598, allocations: 132 kB / 318 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006052/0.3659, allocations: 1.878 MB / 319.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.603e-05/0.366, allocations: 0 / 319.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/0.3663, allocations: 59.94 kB / 320 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.091e-05/0.3664, allocations: 42 kB / 320 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005655/0.372, allocations: 1.699 MB / 321.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.3886, allocations: 5.63 MB / 327.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005501/0.3942, allocations: 2.892 MB / 330.2 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004211/0.3984, allocations: 1.522 MB / 331.8 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.3986, allocations: 38.84 kB / 331.8 MB, free: 272 kB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 6.232e-06/0.3986, allocations: 0 / 331.8 MB, free: 272 kB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.006075/0.4047, allocations: 1.435 MB / 333.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/0.4048, allocations: 89.09 kB / 333.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/0.4071, allocations: 0.922 MB / 334.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.4073, allocations: 37.7 kB / 334.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006899/0.408, allocations: 0.6875 MB / 335 MB, free: 13.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.4083, allocations: 181.4 kB / 335.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.4083, allocations: 16 kB / 335.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4085, allocations: 334.8 kB / 335.5 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.4097, allocations: 369 kB / 335.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.411, allocations: 0.5215 MB / 336.4 MB, free: 11.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.4124, allocations: 433.3 kB / 336.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.4124, allocations: 0 / 336.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003013/0.4155, allocations: 0.9594 MB / 337.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.4155, allocations: 8 kB / 337.8 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.4156, allocations: 4.344 kB / 337.8 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/0.4156, allocations: 16 kB / 337.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.4172, allocations: 187.7 kB / 338 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/0.4172, allocations: 11.98 kB / 338 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.4183, allocations: 91.34 kB / 338.1 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.4184, allocations: 27.98 kB / 338.1 MB, free: 9.82 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.001336/0.4198, allocations: 0.5285 MB / 338.6 MB, free: 9.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003331/0.4201, allocations: 90.88 kB / 338.7 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.4224, allocations: 0.6968 MB / 339.4 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.4225, allocations: 7.953 kB / 339.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.4225, allocations: 4 kB / 339.4 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.4225, allocations: 3.984 kB / 339.4 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004522/0.427, allocations: 1.656 MB / 341.1 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.4271, allocations: 4 kB / 341.1 MB, free: 6.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009557/0.4281, allocations: 95.83 kB / 341.2 MB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007422/0.4288, allocations: 157.7 kB / 341.3 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.93e-05/0.429, allocations: 19.98 kB / 341.3 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005106/0.4341, allocations: 2.657 MB / 344 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4341, allocations: 3.984 kB / 344 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004268/0.4384, allocations: 1.545 MB / 345.6 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004996/0.439, allocations: 188 kB / 345.7 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/0.4392, allocations: 16.11 kB / 345.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.4403, allocations: 79.88 kB / 345.8 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.4405, allocations: 51.81 kB / 345.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.9e-05/0.4406, allocations: 19.98 kB / 345.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00165/0.4423, allocations: 0.7254 MB / 346.6 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4423, allocations: 0 / 346.6 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00161/0.4439, allocations: 358.4 kB / 347 MB, free: 0.6406 MB / 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.0003943/0.4444, allocations: 147.1 kB / 347.1 MB, free: 500 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002441/0.4468, allocations: 0.7757 MB / 347.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.4469, allocations: 4 kB / 347.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.4488, allocations: 0.5874 MB / 348.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.4503, allocations: 169.3 kB / 348.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008064/0.4584, allocations: 3.297 MB / 352 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.4602, allocations: 1.492 MB / 353.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/0.4608, allocations: 67.42 kB / 353.5 MB, free: 10.01 MB / 298.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4608, allocations: 0 / 353.5 MB, free: 10.01 MB / 298.7 MB Notification: Performance of Templates: time 0.04388/0.5047, allocations: 18.98 MB / 372.5 MB, free: 7.035 MB / 314.7 MB