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.715/1.715, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.529e-05, allocations: 0 / 225 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2142, allocations: 38.77 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.3296, allocations: 74.09 MB / 337.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.3299, allocations: 75.95 kB / 337.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1134/0.4433, allocations: 29.61 MB / 367.5 MB, free: 1.672 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.852e-06/0.4434, allocations: 0 / 367.5 MB, free: 1.672 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001059/0.4435, allocations: 35.94 kB / 367.6 MB, free: 1.637 MB / 314.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.1892/0.6327, allocations: 1.646 MB / 369.2 MB, free: 78.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.6328, allocations: 9.312 kB / 369.2 MB, free: 78.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.6342, allocations: 224.5 kB / 369.4 MB, free: 78.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/0.6372, allocations: 1.056 MB / 370.5 MB, free: 78.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.6374, allocations: 94.94 kB / 370.6 MB, free: 78.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004143/0.6378, allocations: 123.8 kB / 370.7 MB, free: 78.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003589/0.6414, allocations: 1.66 MB / 372.4 MB, free: 77.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.6415, allocations: 3.969 kB / 372.4 MB, free: 77.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.6417, allocations: 56.58 kB / 372.4 MB, free: 77.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.708e-05/0.6417, allocations: 44.62 kB / 372.5 MB, free: 77.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/0.6448, allocations: 1.344 MB / 373.8 MB, free: 77.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.6552, allocations: 5.226 MB / 379 MB, free: 76.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.6564, allocations: 1.048 MB / 380.1 MB, free: 75.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005708/0.657, allocations: 363.6 kB / 380.5 MB, free: 75.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.6571, allocations: 11.77 kB / 380.5 MB, free: 75.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.6571, allocations: 40.73 kB / 380.5 MB, free: 75.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 4.717e-06/0.6572, allocations: 0 / 380.5 MB, free: 75.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001697/0.6589, allocations: 0.763 MB / 381.3 MB, free: 75.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.6589, allocations: 88.3 kB / 381.4 MB, free: 75.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.6605, allocations: 0.9272 MB / 382.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.85e-05/0.6606, allocations: 36.77 kB / 382.3 MB, free: 75.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/0.661, allocations: 0.6578 MB / 383 MB, free: 75.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.6611, allocations: 181.3 kB / 383.1 MB, free: 75.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.6612, allocations: 8 kB / 383.2 MB, free: 75.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.6613, allocations: 338.2 kB / 383.5 MB, free: 74.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005694/0.6619, allocations: 305 kB / 383.8 MB, free: 74.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000637/0.6625, allocations: 457.7 kB / 384.2 MB, free: 74.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.6632, allocations: 376.4 kB / 384.6 MB, free: 74.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.122e-06/0.6632, allocations: 0.9375 kB / 384.6 MB, free: 74.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001546/0.6648, allocations: 0.8109 MB / 385.4 MB, free: 73.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.6648, allocations: 6.938 kB / 385.4 MB, free: 73.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.6649, allocations: 5.344 kB / 385.4 MB, free: 73.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.6649, allocations: 11.5 kB / 385.4 MB, free: 73.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009573/0.6659, allocations: 180.2 kB / 385.6 MB, free: 73.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.6659, allocations: 9.5 kB / 385.6 MB, free: 73.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007879/0.6667, allocations: 86.77 kB / 385.7 MB, free: 73.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.6668, allocations: 24.34 kB / 385.7 MB, free: 73.9 MB / 314.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.000165/0.667, allocations: 141.6 kB / 385.9 MB, free: 73.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.6672, allocations: 92.75 kB / 386 MB, free: 73.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.6675, allocations: 111.6 kB / 386.1 MB, free: 73.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.209e-06/0.6675, allocations: 3.938 kB / 386.1 MB, free: 73.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.6675, allocations: 7.016 kB / 386.1 MB, free: 73.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.517e-06/0.6675, allocations: 3.188 kB / 386.1 MB, free: 73.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/0.6716, allocations: 2.179 MB / 388.3 MB, free: 72.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.927e-06/0.6717, allocations: 0 / 388.3 MB, free: 72.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.6723, allocations: 87.45 kB / 388.3 MB, free: 72.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005942/0.6729, allocations: 150.5 kB / 388.5 MB, free: 72.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-05/0.673, allocations: 19.14 kB / 388.5 MB, free: 72.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003438/0.6764, allocations: 2.609 MB / 391.1 MB, free: 70.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.196e-06/0.6765, allocations: 7.438 kB / 391.1 MB, free: 70.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.6788, allocations: 1.351 MB / 392.5 MB, free: 70.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/0.6794, allocations: 263.4 kB / 392.7 MB, free: 69.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.6796, allocations: 17.78 kB / 392.8 MB, free: 69.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008/0.6804, allocations: 63.84 kB / 392.8 MB, free: 69.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.6806, allocations: 55.06 kB / 392.9 MB, free: 69.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.6807, allocations: 15.06 kB / 392.9 MB, free: 69.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001202/0.6819, allocations: 0.7263 MB / 393.6 MB, free: 69.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.144e-06/0.6819, allocations: 0 / 393.6 MB, free: 69.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001387/0.6833, allocations: 339.9 kB / 393.9 MB, free: 69.47 MB / 314.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.0002662/0.6836, allocations: 148.5 kB / 394.1 MB, free: 69.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.6848, allocations: 0.6437 MB / 394.7 MB, free: 69.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.6848, allocations: 0 / 394.7 MB, free: 69.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.6858, allocations: 0.5061 MB / 395.2 MB, free: 68.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.6871, allocations: 159.4 kB / 395.4 MB, free: 68.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.6916, allocations: 2.2 MB / 397.6 MB, free: 67.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.6927, allocations: 1.466 MB / 399.1 MB, free: 66.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/0.6931, allocations: 59.09 kB / 399.1 MB, free: 66.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.739e-06/0.6931, allocations: 0 / 399.1 MB, free: 66.09 MB / 314.7 MB Notification: Performance of Templates: time 0.02525/0.7184, allocations: 18.13 MB / 417.2 MB, free: 51.28 MB / 314.7 MB