Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.253e-05, allocations: 7.797 kB / 292.2 MB, free: 8.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08926, allocations: 50.41 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5341, allocations: 147.6 MB / 490.2 MB, free: 11.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.5344, allocations: 93.62 kB / 490.2 MB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511/2.045, allocations: 349.3 MB / 0.8199 GB, free: 45.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.363e-06/2.045, allocations: 0 / 0.8199 GB, free: 45.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006776/2.046, allocations: 251.5 kB / 0.8201 GB, free: 45.49 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.03748/2.083, allocations: 10.19 MB / 0.8301 GB, free: 35.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/2.083, allocations: 16.03 kB / 0.8301 GB, free: 35.19 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03367/2.117, allocations: 4.727 MB / 0.8347 GB, free: 30.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02453/2.142, allocations: 9.464 MB / 0.8439 GB, free: 20.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006962/2.142, allocations: 0.7746 MB / 0.8447 GB, free: 20.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003465/2.146, allocations: 1.027 MB / 0.8457 GB, free: 19.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04419/2.19, allocations: 16.66 MB / 0.862 GB, free: 2.098 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003159/2.19, allocations: 7.906 kB / 0.862 GB, free: 2.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002074/2.192, allocations: 451.9 kB / 0.8624 GB, free: 1.648 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001005/2.193, allocations: 0.7524 MB / 0.8631 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3342/2.528, allocations: 14.88 MB / 0.8777 GB, free: 46.19 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1142/2.642, allocations: 55.89 MB / 0.9322 GB, free: 33.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02827/2.67, allocations: 30.87 MB / 0.9624 GB, free: 5.453 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008516/2.679, allocations: 4.231 MB / 0.9665 GB, free: 3.824 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02589/2.705, allocations: 10.56 MB / 0.9768 GB, free: 15.15 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.022e-05/2.705, allocations: 75.72 kB / 0.9769 GB, free: 15.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=396): time 8.957e-06/2.705, allocations: 1.781 kB / 0.9769 GB, free: 15.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=421): time 0.03844/2.743, allocations: 15.99 MB / 0.9925 GB, free: 7.023 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/2.743, allocations: 123.8 kB / 0.9927 GB, free: 6.922 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009258/2.753, allocations: 4.079 MB / 0.9966 GB, free: 5.332 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007478/2.754, allocations: 98.78 kB / 0.9967 GB, free: 5.246 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004266/2.758, allocations: 4.667 MB / 1.001 GB, free: 1.746 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002076/2.76, allocations: 1.447 MB / 1.003 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005694/2.761, allocations: 119.9 kB / 1.003 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004864/2.761, allocations: 0.5354 MB / 1.003 GB, free: 132 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01053/2.772, allocations: 3.058 MB / 1.006 GB, free: 0 / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008262/2.78, allocations: 4.786 MB / 1.011 GB, free: 12.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008028/2.788, allocations: 3.876 MB / 1.015 GB, free: 9.961 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.029e-05/2.788, allocations: 16 kB / 1.015 GB, free: 9.945 MB / 490.7 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02411/2.812, allocations: 9.331 MB / 1.024 GB, free: 2.145 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/2.812, allocations: 39.28 kB / 1.024 GB, free: 2.109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/2.812, allocations: 64 kB / 1.024 GB, free: 2.047 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006272/2.819, allocations: 1.66 MB / 1.026 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009622/2.828, allocations: 1.441 MB / 1.027 GB, free: 0 / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03114/2.86, allocations: 16.4 MB / 1.043 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005908/2.865, allocations: 330.9 kB / 1.043 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000841/2.866, allocations: 281.8 kB / 1.044 GB, free: 316 kB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (669): * Single equations (assignments): 665 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,67.3%) 28,(1,100.0%) 1,(14,40.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001581/2.868, allocations: 485.2 kB / 1.044 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3083/3.176, allocations: 498.6 kB / 1.045 GB, free: 87.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0198/3.196, allocations: 7.63 MB / 1.052 GB, free: 86.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.344e-05/3.196, allocations: 43.88 kB / 1.052 GB, free: 86.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.915e-05/3.196, allocations: 15.34 kB / 1.052 GB, free: 86.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001084/3.196, allocations: 25.02 kB / 1.052 GB, free: 86.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04184/3.238, allocations: 17.27 MB / 1.069 GB, free: 85.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.945e-05/3.238, allocations: 7.219 kB / 1.069 GB, free: 85.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004664/3.243, allocations: 0.7219 MB / 1.07 GB, free: 85.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005819/3.249, allocations: 1.557 MB / 1.071 GB, free: 85.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008152/3.25, allocations: 103.8 kB / 1.071 GB, free: 85.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02747/3.277, allocations: 19.42 MB / 1.09 GB, free: 76.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.585e-06/3.277, allocations: 13.12 kB / 1.09 GB, free: 76.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0226/3.3, allocations: 11.92 MB / 1.102 GB, free: 74.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00325/3.303, allocations: 1.15 MB / 1.103 GB, free: 74.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009782/3.304, allocations: 88.53 kB / 1.103 GB, free: 74.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003567/3.308, allocations: 250.4 kB / 1.103 GB, free: 74.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008282/3.309, allocations: 329.9 kB / 1.104 GB, free: 74.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004271/3.309, allocations: 123.9 kB / 1.104 GB, free: 74.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005891/3.315, allocations: 3.065 MB / 1.107 GB, free: 74.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.5e-07/3.315, allocations: 0 / 1.107 GB, free: 74.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008364/3.323, allocations: 1.914 MB / 1.109 GB, free: 74.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,imc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (362): * Single equations (assignments): 355 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,39.8%) 44,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/3.325, allocations: 0.6685 MB / 1.109 GB, free: 73.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0155/3.34, allocations: 7.696 MB / 1.117 GB, free: 73.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.544e-06/3.34, allocations: 7.531 kB / 1.117 GB, free: 73.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009357/3.349, allocations: 4.448 MB / 1.121 GB, free: 72.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00625/3.356, allocations: 1.169 MB / 1.122 GB, free: 72.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03939/3.395, allocations: 16.4 MB / 1.138 GB, free: 65.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01348/3.409, allocations: 6.957 MB / 1.145 GB, free: 63.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008224/3.417, allocations: 1.85 MB / 1.147 GB, free: 63.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/3.419, allocations: 373.2 kB / 1.147 GB, free: 63.05 MB / 0.4948 GB Notification: Performance of SimCode: time 1.864e-06/3.419, allocations: 0 / 1.147 GB, free: 63.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.5512/3.97, allocations: 81.93 MB / 1.227 GB, free: 90.12 MB / 0.4948 GB