Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadModel(Modelica): time 1.784/1.784, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.9e-05, allocations: 4 kB / 255.4 MB, free: 3.156 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07918/0.07923, allocations: 44.5 MB / 299.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3641/0.4434, allocations: 90.15 MB / 390 MB, free: 20.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.4437, allocations: 84.03 kB / 390.1 MB, free: 20.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.34/1.784, allocations: 312.6 MB / 0.6862 GB, free: 61.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.085e-06/1.784, allocations: 0 / 0.6862 GB, free: 61.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004125/1.785, allocations: 178.2 kB / 0.6864 GB, free: 61 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03757/1.822, allocations: 9.564 MB / 0.6957 GB, free: 58.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/1.822, allocations: 7.625 kB / 0.6957 GB, free: 58.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03775/1.86, allocations: 5.523 MB / 0.7011 GB, free: 58.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01527/1.875, allocations: 6.124 MB / 0.7071 GB, free: 57.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009239/1.876, allocations: 0.6327 MB / 0.7077 GB, free: 57.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003627/1.88, allocations: 0.8023 MB / 0.7085 GB, free: 57.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04242/1.922, allocations: 16.57 MB / 0.7247 GB, free: 56.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002964/1.923, allocations: 7.875 kB / 0.7247 GB, free: 56.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003147/1.926, allocations: 350.5 kB / 0.725 GB, free: 56.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009844/1.927, allocations: 0.7198 MB / 0.7257 GB, free: 56.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04124/1.968, allocations: 15.87 MB / 0.7412 GB, free: 51.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1041/2.072, allocations: 51.26 MB / 0.7913 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3302/2.403, allocations: 13.66 MB / 0.8046 GB, free: 55.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01843/2.421, allocations: 9.281 MB / 0.8137 GB, free: 54.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/2.422, allocations: 316.9 kB / 0.814 GB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.656e-05/2.422, allocations: 115.2 kB / 0.8141 GB, free: 54.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=968): time 1.718e-05/2.422, allocations: 0 / 0.8141 GB, free: 54.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=968): time 0.03672/2.459, allocations: 17.25 MB / 0.8309 GB, free: 54.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/2.459, allocations: 154.4 kB / 0.8311 GB, free: 54.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/2.462, allocations: 1.631 MB / 0.8327 GB, free: 54.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001756/2.464, allocations: 151.4 kB / 0.8328 GB, free: 54.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001323/2.465, allocations: 2.48 MB / 0.8353 GB, free: 53.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004188/2.469, allocations: 3.148 MB / 0.8383 GB, free: 51.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/2.471, allocations: 131.6 kB / 0.8385 GB, free: 51.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008471/2.472, allocations: 0.6441 MB / 0.8391 GB, free: 50.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01242/2.484, allocations: 6.445 MB / 0.8454 GB, free: 50.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01408/2.499, allocations: 7.026 MB / 0.8522 GB, free: 49.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01451/2.513, allocations: 7.464 MB / 0.8595 GB, free: 46.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.528e-05/2.513, allocations: 0 / 0.8595 GB, free: 46.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.03728/2.55, allocations: 17.85 MB / 0.877 GB, free: 39.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/2.551, allocations: 6.531 kB / 0.877 GB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.644e-05/2.551, allocations: 7.859 kB / 0.877 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01649/2.567, allocations: 6.587 MB / 0.8834 GB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007061/2.574, allocations: 1.164 MB / 0.8845 GB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01891/2.593, allocations: 12.72 MB / 0.897 GB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005907/2.599, allocations: 0.7814 MB / 0.8977 GB, free: 30.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002169/2.601, allocations: 272 kB / 0.898 GB, free: 30.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.002171/2.604, allocations: 424.9 kB / 0.8984 GB, free: 30.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001521/2.605, allocations: 415.2 kB / 0.8988 GB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04043/2.645, allocations: 19.33 MB / 0.9177 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003863/2.646, allocations: 274.6 kB / 0.9179 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.083e-05/2.646, allocations: 0 / 0.9179 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001289/2.646, allocations: 42.7 kB / 0.918 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08315/2.729, allocations: 34.53 MB / 0.9517 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-05/2.729, allocations: 4 kB / 0.9517 GB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007057/2.736, allocations: 1.104 MB / 0.9528 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01861/2.755, allocations: 6.583 MB / 0.9592 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002074/2.757, allocations: 207 kB / 0.9594 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02291/2.78, allocations: 12.68 MB / 0.9718 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.992e-06/2.78, allocations: 0 / 0.9718 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4222/3.202, allocations: 29.56 MB / 1.001 GB, free: 86.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005928/3.208, allocations: 2.077 MB / 1.003 GB, free: 86.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00245/3.211, allocations: 133 kB / 1.003 GB, free: 86.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005434/3.216, allocations: 415.6 kB / 1.003 GB, free: 86.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002871/3.219, allocations: 0.7109 MB / 1.004 GB, free: 86.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001852/3.221, allocations: 260.4 kB / 1.004 GB, free: 86.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002281/3.223, allocations: 1.257 MB / 1.005 GB, free: 86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.004e-06/3.223, allocations: 2.844 kB / 1.005 GB, free: 86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008906/3.232, allocations: 2.392 MB / 1.008 GB, free: 85.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.002262/3.235, allocations: 348.3 kB / 1.008 GB, free: 85.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03273/3.267, allocations: 15.47 MB / 1.023 GB, free: 84.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.784e-06/3.267, allocations: 0 / 1.023 GB, free: 84.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01955/3.287, allocations: 8.315 MB / 1.031 GB, free: 81.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005077/3.292, allocations: 0.5941 MB / 1.032 GB, free: 81.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04311/3.335, allocations: 19.75 MB / 1.051 GB, free: 74.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01122/3.347, allocations: 6.254 MB / 1.057 GB, free: 72.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003009/3.35, allocations: 372.7 kB / 1.058 GB, free: 72.06 MB / 442.7 MB Notification: Performance of SimCode: time 1.959e-06/3.35, allocations: 0 / 1.058 GB, free: 72.06 MB / 442.7 MB Notification: Performance of Templates: time 1.001/4.351, allocations: 311.5 MB / 1.362 GB, free: 113.8 MB / 474.7 MB