Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.06e-05, allocations: 7.938 kB / 292.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.08987, allocations: 50.42 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.4654, allocations: 96.37 MB / 439 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4657, allocations: 86.44 kB / 439 MB, free: 13.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.366/1.831, allocations: 315 MB / 0.7363 GB, free: 80.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.216e-06/1.832, allocations: 0 / 0.7363 GB, free: 80.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00039/1.832, allocations: 191 kB / 0.7365 GB, free: 80.24 MB / 458.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.03997/1.872, allocations: 9.559 MB / 0.7458 GB, free: 77.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.872, allocations: 10.16 kB / 0.7458 GB, free: 77.78 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04519/1.917, allocations: 5.526 MB / 0.7512 GB, free: 77.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01662/1.934, allocations: 6.323 MB / 0.7574 GB, free: 76.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006434/1.935, allocations: 0.6082 MB / 0.758 GB, free: 76.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003338/1.938, allocations: 0.8002 MB / 0.7588 GB, free: 76.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0401/1.978, allocations: 15.45 MB / 0.7739 GB, free: 74.83 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002998/1.978, allocations: 15.28 kB / 0.7739 GB, free: 74.83 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002715/1.981, allocations: 351 kB / 0.7742 GB, free: 74.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009564/1.982, allocations: 0.8233 MB / 0.775 GB, free: 74.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03575/2.018, allocations: 14.26 MB / 0.789 GB, free: 68.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08679/2.105, allocations: 47.7 MB / 0.8355 GB, free: 27.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02215/2.127, allocations: 19.16 MB / 0.8542 GB, free: 6.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007388/2.134, allocations: 3.5 MB / 0.8577 GB, free: 3.328 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005654/2.135, allocations: 179.6 kB / 0.8578 GB, free: 3.148 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.064e-05/2.135, allocations: 86.08 kB / 0.8579 GB, free: 3.059 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 9.582e-06/2.135, allocations: 4 kB / 0.8579 GB, free: 3.055 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.2979/2.433, allocations: 7.133 MB / 0.8649 GB, free: 74.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/2.433, allocations: 129.1 kB / 0.865 GB, free: 74.81 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008183/2.441, allocations: 3.427 MB / 0.8684 GB, free: 74.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008453/2.442, allocations: 99.39 kB / 0.8685 GB, free: 74.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003183/2.445, allocations: 3.9 MB / 0.8723 GB, free: 72.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002238/2.448, allocations: 1.612 MB / 0.8738 GB, free: 71.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009718/2.449, allocations: 142.8 kB / 0.874 GB, free: 71.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007164/2.449, allocations: 0.6103 MB / 0.8746 GB, free: 71.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008446/2.458, allocations: 3.589 MB / 0.8781 GB, free: 71.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01035/2.468, allocations: 6.35 MB / 0.8843 GB, free: 68.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/2.478, allocations: 5.161 MB / 0.8893 GB, free: 68.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001555/2.479, allocations: 25.94 kB / 0.8893 GB, free: 68.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02846/2.507, allocations: 11.48 MB / 0.9005 GB, free: 67.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/2.507, allocations: 42.25 kB / 0.9006 GB, free: 67.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/2.507, allocations: 93 kB / 0.9007 GB, free: 67.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006894/2.514, allocations: 1.619 MB / 0.9023 GB, free: 67.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008994/2.523, allocations: 1.659 MB / 0.9039 GB, free: 67.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02249/2.546, allocations: 16.16 MB / 0.9197 GB, free: 59.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0074/2.553, allocations: 0.948 MB / 0.9206 GB, free: 58.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/2.555, allocations: 359.6 kB / 0.9209 GB, free: 58.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001416/2.557, allocations: 0.5582 MB / 0.9215 GB, free: 58.46 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008948/2.557, allocations: 392.3 kB / 0.9218 GB, free: 58.26 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02033/2.578, allocations: 8.451 MB / 0.9301 GB, free: 56.96 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-05/2.578, allocations: 48.91 kB / 0.9301 GB, free: 56.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-05/2.578, allocations: 12.41 kB / 0.9302 GB, free: 56.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/2.578, allocations: 33.58 kB / 0.9302 GB, free: 56.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.039/2.617, allocations: 16.76 MB / 0.9466 GB, free: 50.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/2.617, allocations: 11.08 kB / 0.9466 GB, free: 50.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005087/2.622, allocations: 0.8577 MB / 0.9474 GB, free: 50.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006219/2.628, allocations: 1.487 MB / 0.9489 GB, free: 50.42 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008824/2.629, allocations: 103.5 kB / 0.949 GB, free: 50.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0218/2.651, allocations: 15.97 MB / 0.9646 GB, free: 39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.272e-06/2.651, allocations: 3.656 kB / 0.9646 GB, free: 39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02509/2.676, allocations: 12.23 MB / 0.9765 GB, free: 33.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00325/2.68, allocations: 1.106 MB / 0.9776 GB, free: 32.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/2.681, allocations: 87.95 kB / 0.9777 GB, free: 32.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003645/2.684, allocations: 311.5 kB / 0.978 GB, free: 32.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000936/2.685, allocations: 314.3 kB / 0.9783 GB, free: 32.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004529/2.686, allocations: 143.5 kB / 0.9784 GB, free: 32.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004576/2.69, allocations: 2.508 MB / 0.9808 GB, free: 29.97 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.048e-06/2.69, allocations: 3.938 kB / 0.9808 GB, free: 29.97 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009463/2.7, allocations: 2.397 MB / 0.9832 GB, free: 27.57 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/2.701, allocations: 306.8 kB / 0.9835 GB, free: 27.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01638/2.717, allocations: 8.952 MB / 0.9922 GB, free: 19.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/2.717, allocations: 2.562 kB / 0.9922 GB, free: 19.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008173/2.726, allocations: 4.3 MB / 0.9964 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/2.73, allocations: 0.6273 MB / 0.997 GB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03317/2.763, allocations: 14.2 MB / 1.011 GB, free: 2.203 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01294/2.776, allocations: 6.179 MB / 1.017 GB, free: 13.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01228/2.789, allocations: 3.298 MB / 1.02 GB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002256/2.791, allocations: 372.8 kB / 1.021 GB, free: 11.08 MB / 474.7 MB Notification: Performance of SimCode: time 1.947e-06/2.791, allocations: 0 / 1.021 GB, free: 11.08 MB / 474.7 MB Notification: Performance of Templates: time 0.4469/3.238, allocations: 61.81 MB / 1.081 GB, free: 72.82 MB / 474.7 MB