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.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadModel(Modelica): time 1.879/1.879, allocations: 171.2 MB / 186.3 MB, free: 1.41 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.715e-05, allocations: 2.188 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.08963, allocations: 38.78 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006484/0.09617, allocations: 3.615 MB / 270.5 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.09983, allocations: 1.297 MB / 271.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005759/0.1005, allocations: 31.88 kB / 271.8 MB, free: 12.15 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006221/0.1011, allocations: 179 kB / 272 MB, free: 11.98 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.103, allocations: 458.4 kB / 272.5 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007048/0.1037, allocations: 159.7 kB / 272.6 MB, free: 11.37 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002382/0.1061, allocations: 0.8732 MB / 273.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.1074, allocations: 0.6279 MB / 274.1 MB, free: 9.859 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.1085, allocations: 446.8 kB / 274.6 MB, free: 9.422 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.1099, allocations: 0.6075 MB / 275.2 MB, free: 8.812 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005846/0.1105, allocations: 123.8 kB / 275.3 MB, free: 8.691 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002824/0.1108, allocations: 60 kB / 275.3 MB, free: 8.633 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005082/0.1114, allocations: 362.8 kB / 275.7 MB, free: 8.277 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004368/0.1118, allocations: 136 kB / 275.8 MB, free: 8.145 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003196/0.115, allocations: 1.952 MB / 277.8 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1151, allocations: 0 / 277.8 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1151, allocations: 0 / 277.8 MB, free: 6.188 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.48e-05/0.1152, allocations: 4 kB / 277.8 MB, free: 6.184 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.007808/0.123, allocations: 1.732 MB / 279.5 MB, free: 4.398 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.1231, allocations: 11.97 kB / 279.5 MB, free: 4.387 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002796/0.1259, allocations: 281.9 kB / 279.8 MB, free: 4.109 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004066/0.13, allocations: 0.9771 MB / 280.8 MB, free: 3.09 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.1303, allocations: 94.52 kB / 280.9 MB, free: 2.996 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006093/0.1309, allocations: 128 kB / 281 MB, free: 2.871 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007855/0.1388, allocations: 1.763 MB / 282.8 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.393e-05/0.1389, allocations: 0 / 282.8 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003094/0.1392, allocations: 52 kB / 282.8 MB, free: 1.023 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.1393, allocations: 45.94 kB / 282.9 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006925/0.1463, allocations: 1.555 MB / 284.4 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02033/0.1667, allocations: 5.271 MB / 289.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003112/0.1699, allocations: 1.095 MB / 290.8 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.551e-05/0.17, allocations: 4.422 kB / 290.8 MB, free: 8.707 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.1701, allocations: 38.98 kB / 290.8 MB, free: 8.66 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 4.969e-06/0.1701, allocations: 4 kB / 290.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.007628/0.1777, allocations: 1.369 MB / 292.2 MB, free: 7.266 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.1779, allocations: 81.11 kB / 292.3 MB, free: 7.168 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/0.181, allocations: 0.9377 MB / 293.2 MB, free: 6.223 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001785/0.1812, allocations: 33.7 kB / 293.2 MB, free: 6.184 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000837/0.1821, allocations: 0.6527 MB / 293.9 MB, free: 5.523 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000328/0.1824, allocations: 177.5 kB / 294.1 MB, free: 5.348 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.1825, allocations: 16 kB / 294.1 MB, free: 5.332 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.1828, allocations: 334.8 kB / 294.4 MB, free: 4.996 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.1843, allocations: 345 kB / 294.8 MB, free: 4.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.1861, allocations: 0.5005 MB / 295.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.1879, allocations: 417.2 kB / 295.7 MB, free: 3.684 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.1879, allocations: 4 kB / 295.7 MB, free: 3.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003753/0.1917, allocations: 0.8975 MB / 296.6 MB, free: 2.777 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.1918, allocations: 10.03 kB / 296.6 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.1918, allocations: 4 kB / 296.6 MB, free: 2.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.441e-05/0.1919, allocations: 11.95 kB / 296.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.1937, allocations: 183.7 kB / 296.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.062e-05/0.1938, allocations: 12 kB / 296.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.1952, allocations: 87.33 kB / 296.9 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.1953, allocations: 24 kB / 296.9 MB, free: 2.453 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.001637/0.197, allocations: 0.5169 MB / 297.4 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/0.1974, allocations: 98.91 kB / 297.5 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.1977, allocations: 104 kB / 297.6 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.1977, allocations: 7.953 kB / 297.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.1977, allocations: 4 kB / 297.6 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.1977, allocations: 3.984 kB / 297.6 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2266/0.4243, allocations: 2.256 MB / 299.9 MB, free: 28.89 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/0.4244, allocations: 1.375 kB / 299.9 MB, free: 28.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008192/0.4252, allocations: 92.19 kB / 300 MB, free: 28.89 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007422/0.426, allocations: 153.3 kB / 300.1 MB, free: 28.88 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.019e-05/0.4261, allocations: 19.67 kB / 300.1 MB, free: 28.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004805/0.4309, allocations: 2.664 MB / 302.8 MB, free: 27.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.431, allocations: 5.391 kB / 302.8 MB, free: 27.42 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004058/0.435, allocations: 1.471 MB / 304.3 MB, free: 26.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007617/0.4359, allocations: 258.2 kB / 304.5 MB, free: 26.58 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.4361, allocations: 20.12 kB / 304.5 MB, free: 26.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009685/0.4371, allocations: 65.45 kB / 304.6 MB, free: 26.56 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.4373, allocations: 48.98 kB / 304.7 MB, free: 26.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/0.4374, allocations: 16.42 kB / 304.7 MB, free: 26.55 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001861/0.4393, allocations: 0.735 MB / 305.4 MB, free: 26.27 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.4393, allocations: 0 / 305.4 MB, free: 26.27 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001602/0.441, allocations: 339.8 kB / 305.7 MB, free: 26.19 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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.0003256/0.4413, allocations: 121.5 kB / 305.9 MB, free: 26.09 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00242/0.4438, allocations: 0.7322 MB / 306.6 MB, free: 25.89 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.4438, allocations: 0 / 306.6 MB, free: 25.89 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.4456, allocations: 0.5705 MB / 307.2 MB, free: 25.62 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.4473, allocations: 165 kB / 307.3 MB, free: 25.57 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007194/0.4545, allocations: 3.232 MB / 310.6 MB, free: 23.73 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.456, allocations: 1.469 MB / 312 MB, free: 22.89 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/0.4564, allocations: 65.97 kB / 312.1 MB, free: 22.88 MB / 250.7 MB Notification: Performance of SimCode: time 1.853e-06/0.4565, allocations: 3.938 kB / 312.1 MB, free: 22.87 MB / 250.7 MB Notification: Performance of Templates: time 0.03773/0.4942, allocations: 18.24 MB / 330.3 MB, free: 8.461 MB / 250.7 MB