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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.052e-05, allocations: 4 kB / 292.7 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/0.09058, allocations: 50.42 MB / 343.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3822/0.4728, allocations: 96.37 MB / 439.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.4731, allocations: 88.36 kB / 439.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.37/1.844, allocations: 315 MB / 0.7368 GB, free: 80.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.506e-06/1.844, allocations: 4 kB / 0.7368 GB, free: 80.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004435/1.844, allocations: 177 kB / 0.737 GB, free: 80.15 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.03928/1.883, allocations: 9.57 MB / 0.7463 GB, free: 77.69 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/1.883, allocations: 7 kB / 0.7464 GB, free: 77.69 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03813/1.922, allocations: 5.533 MB / 0.7518 GB, free: 77.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01633/1.938, allocations: 6.317 MB / 0.7579 GB, free: 76.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006623/1.939, allocations: 0.6116 MB / 0.7585 GB, free: 76.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003476/1.942, allocations: 0.7992 MB / 0.7593 GB, free: 76.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03928/1.981, allocations: 15.45 MB / 0.7744 GB, free: 74.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002931/1.982, allocations: 11.16 kB / 0.7744 GB, free: 74.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002488/1.984, allocations: 350.4 kB / 0.7747 GB, free: 74.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009325/1.985, allocations: 0.8279 MB / 0.7755 GB, free: 74.26 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03379/2.019, allocations: 14.25 MB / 0.7895 GB, free: 68.74 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08384/2.103, allocations: 47.7 MB / 0.836 GB, free: 27.97 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02166/2.125, allocations: 19.16 MB / 0.8548 GB, free: 6.828 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007287/2.132, allocations: 3.504 MB / 0.8582 GB, free: 3.332 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005597/2.133, allocations: 179.3 kB / 0.8583 GB, free: 3.152 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.958e-05/2.133, allocations: 90.5 kB / 0.8584 GB, free: 3.055 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 9.707e-06/2.133, allocations: 0 / 0.8584 GB, free: 3.055 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.2957/2.428, allocations: 7.134 MB / 0.8654 GB, free: 74.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/2.428, allocations: 130 kB / 0.8655 GB, free: 74.83 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007671/2.436, allocations: 3.425 MB / 0.8689 GB, free: 74.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008052/2.437, allocations: 102.1 kB / 0.869 GB, free: 74.58 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003053/2.44, allocations: 3.898 MB / 0.8728 GB, free: 72.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002152/2.442, allocations: 1.607 MB / 0.8743 GB, free: 71.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008668/2.443, allocations: 148.8 kB / 0.8745 GB, free: 71.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007053/2.444, allocations: 0.6077 MB / 0.8751 GB, free: 71.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008388/2.452, allocations: 3.589 MB / 0.8786 GB, free: 71.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009873/2.462, allocations: 6.353 MB / 0.8848 GB, free: 68.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009776/2.472, allocations: 5.161 MB / 0.8898 GB, free: 68.13 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001321/2.472, allocations: 27.19 kB / 0.8898 GB, free: 68.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02657/2.499, allocations: 11.48 MB / 0.9011 GB, free: 67.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/2.499, allocations: 45.19 kB / 0.9011 GB, free: 67.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/2.499, allocations: 97.06 kB / 0.9012 GB, free: 67.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006042/2.505, allocations: 1.608 MB / 0.9028 GB, free: 67.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008356/2.513, allocations: 1.662 MB / 0.9044 GB, free: 67.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02115/2.535, allocations: 16.16 MB / 0.9202 GB, free: 59.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007217/2.542, allocations: 0.947 MB / 0.9211 GB, free: 58.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001861/2.544, allocations: 360.4 kB / 0.9214 GB, free: 58.76 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.002251/2.546, allocations: 0.5649 MB / 0.922 GB, free: 58.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009378/2.547, allocations: 393 kB / 0.9224 GB, free: 58.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02029/2.567, allocations: 8.437 MB / 0.9306 GB, free: 57.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.425e-05/2.567, allocations: 47.47 kB / 0.9306 GB, free: 57.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.303e-05/2.568, allocations: 18.38 kB / 0.9307 GB, free: 57.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001071/2.568, allocations: 29.41 kB / 0.9307 GB, free: 57.01 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04092/2.609, allocations: 16.77 MB / 0.9471 GB, free: 50.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-05/2.609, allocations: 3.531 kB / 0.9471 GB, free: 50.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00491/2.614, allocations: 0.8612 MB / 0.9479 GB, free: 50.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005916/2.62, allocations: 1.486 MB / 0.9494 GB, free: 50.47 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009607/2.621, allocations: 104.4 kB / 0.9495 GB, free: 50.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02025/2.641, allocations: 15.96 MB / 0.9651 GB, free: 39.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.195e-06/2.641, allocations: 3.938 kB / 0.9651 GB, free: 39.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02334/2.664, allocations: 12.22 MB / 0.977 GB, free: 33.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003259/2.668, allocations: 1.11 MB / 0.9781 GB, free: 32.74 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001188/2.669, allocations: 84 kB / 0.9782 GB, free: 32.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003536/2.672, allocations: 312.5 kB / 0.9785 GB, free: 32.44 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/2.673, allocations: 326.8 kB / 0.9788 GB, free: 32.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004711/2.674, allocations: 139.1 kB / 0.9789 GB, free: 32.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004726/2.679, allocations: 2.519 MB / 0.9814 GB, free: 29.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.042e-06/2.679, allocations: 0 / 0.9814 GB, free: 29.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00964/2.688, allocations: 2.389 MB / 0.9837 GB, free: 27.55 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.00118/2.689, allocations: 314 kB / 0.984 GB, free: 27.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01691/2.706, allocations: 8.949 MB / 0.9927 GB, free: 19.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.402e-06/2.706, allocations: 4 kB / 0.9927 GB, free: 19.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008532/2.715, allocations: 4.299 MB / 0.9969 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/2.719, allocations: 0.6257 MB / 0.9975 GB, free: 14.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03192/2.751, allocations: 14.2 MB / 1.011 GB, free: 2.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01298/2.764, allocations: 6.183 MB / 1.017 GB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.012/2.776, allocations: 3.296 MB / 1.021 GB, free: 11.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002138/2.778, allocations: 372.1 kB / 1.021 GB, free: 11.05 MB / 474.7 MB Notification: Performance of SimCode: time 1.608e-06/2.778, allocations: 0 / 1.021 GB, free: 11.05 MB / 474.7 MB Notification: Performance of Templates: time 0.4412/3.22, allocations: 61.81 MB / 1.081 GB, free: 72.71 MB / 474.7 MB