Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.is.1.|aims3.is.2.|aims3.ir.1.|aims3.ir.2.|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.is.3.|aimsM.is.4.|aimsM.ir.1.|aimsM.ir.2.|aimsM.ir.3.|aimsM.ir.4.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase") Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.553e-05/2.565e-05, allocations: 4 kB / 292.7 MB, free: 8.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08918/0.08923, allocations: 50.42 MB / 343.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4059/0.4952, allocations: 118.1 MB / 461.2 MB, free: 8.766 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.4955, allocations: 103.8 kB / 461.3 MB, free: 8.707 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9522/1.448, allocations: 221.8 MB / 0.6671 GB, free: 23.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.123e-06/1.448, allocations: 0 / 0.6671 GB, free: 23.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008198/1.449, allocations: 247.7 kB / 0.6673 GB, free: 22.84 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.03087/1.479, allocations: 9.621 MB / 0.6767 GB, free: 13.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.48, allocations: 8.031 kB / 0.6767 GB, free: 13.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/1.494, allocations: 2.118 MB / 0.6788 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02439/1.518, allocations: 8.908 MB / 0.6875 GB, free: 1.977 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007934/1.519, allocations: 0.7426 MB / 0.6882 GB, free: 1.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003428/1.523, allocations: 0.992 MB / 0.6892 GB, free: 244 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.321/1.844, allocations: 13.65 MB / 0.7025 GB, free: 33.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003775/1.844, allocations: 14.84 kB / 0.7025 GB, free: 33.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003111/1.847, allocations: 430 kB / 0.7029 GB, free: 33.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005768/1.848, allocations: 454 kB / 0.7033 GB, free: 33.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03252/1.88, allocations: 11.3 MB / 0.7144 GB, free: 33.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09154/1.972, allocations: 44.11 MB / 0.7575 GB, free: 21.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02691/1.999, allocations: 24.47 MB / 0.7814 GB, free: 16.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009847/2.009, allocations: 4.927 MB / 0.7862 GB, free: 14.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02654/2.035, allocations: 12.14 MB / 0.798 GB, free: 8.934 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.996e-05/2.036, allocations: 79.69 kB / 0.7981 GB, free: 8.863 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 8.121e-06/2.036, allocations: 0 / 0.7981 GB, free: 8.863 MB / 458.7 MB Notification: Performance of matching and sorting (n=427): time 0.03047/2.066, allocations: 13.88 MB / 0.8117 GB, free: 2.492 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/2.066, allocations: 102.7 kB / 0.8118 GB, free: 2.426 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009389/2.076, allocations: 4.678 MB / 0.8163 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007479/2.076, allocations: 97.45 kB / 0.8164 GB, free: 0.625 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00708/2.083, allocations: 4.592 MB / 0.8209 GB, free: 13.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002002/2.085, allocations: 1.417 MB / 0.8223 GB, free: 12.81 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004192/2.086, allocations: 100 kB / 0.8224 GB, free: 12.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004076/2.086, allocations: 0.4889 MB / 0.8229 GB, free: 12.35 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004505/2.091, allocations: 2.264 MB / 0.8251 GB, free: 11.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005659/2.096, allocations: 3.378 MB / 0.8284 GB, free: 9.215 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005829/2.102, allocations: 2.818 MB / 0.8311 GB, free: 8.133 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.231e-05/2.102, allocations: 10.41 kB / 0.8311 GB, free: 8.133 MB / 474.7 MB Notification: Performance of matching and sorting (n=614) (initialization): time 0.01803/2.12, allocations: 7.718 MB / 0.8387 GB, free: 2.488 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.131e-05/2.121, allocations: 22.16 kB / 0.8387 GB, free: 2.469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-05/2.121, allocations: 32 kB / 0.8387 GB, free: 2.438 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005084/2.126, allocations: 1.473 MB / 0.8402 GB, free: 1.223 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005708/2.131, allocations: 0.9741 MB / 0.8411 GB, free: 468 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03542/2.167, allocations: 26.69 MB / 0.8672 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005283/2.172, allocations: 239.9 kB / 0.8674 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008733/2.173, allocations: 186.6 kB / 0.8676 GB, free: 5.535 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 510 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 14 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,56.2%) 22,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001163/2.174, allocations: 401.3 kB / 0.868 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/2.176, allocations: 0.579 MB / 0.8685 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3153/2.491, allocations: 7.695 MB / 0.876 GB, free: 87.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.529e-05/2.491, allocations: 44.3 kB / 0.8761 GB, free: 87.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.582e-05/2.491, allocations: 27.34 kB / 0.8761 GB, free: 87.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.011e-05/2.491, allocations: 20.25 kB / 0.8761 GB, free: 87.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0399/2.531, allocations: 16.36 MB / 0.8921 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.916e-05/2.531, allocations: 4.719 kB / 0.8921 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003234/2.535, allocations: 458 kB / 0.8925 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007392/2.542, allocations: 2.232 MB / 0.8947 GB, free: 86.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000851/2.543, allocations: 96.77 kB / 0.8948 GB, free: 86.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04499/2.588, allocations: 34.5 MB / 0.9285 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.585e-06/2.588, allocations: 6.766 kB / 0.9285 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02241/2.61, allocations: 11.38 MB / 0.9396 GB, free: 68.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00405/2.615, allocations: 1.198 MB / 0.9408 GB, free: 67.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001836/2.616, allocations: 86.45 kB / 0.9409 GB, free: 67.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0044/2.621, allocations: 258.5 kB / 0.9411 GB, free: 67.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001468/2.622, allocations: 438.3 kB / 0.9415 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004858/2.623, allocations: 115.2 kB / 0.9417 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00808/2.631, allocations: 3.567 MB / 0.9451 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.014e-06/2.631, allocations: 0 / 0.9451 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009057/2.64, allocations: 1.91 MB / 0.947 GB, free: 67.71 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,aims3.rotor.zeroInductor.i0,loadInertiaM.w,loadInertia3.w,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 228 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 5,(6,72.2%) 46,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(11,49.6%) 56,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/2.642, allocations: 0.6797 MB / 0.9477 GB, free: 67.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01359/2.655, allocations: 7.475 MB / 0.955 GB, free: 65.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.737e-06/2.655, allocations: 2.594 kB / 0.955 GB, free: 65.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01039/2.666, allocations: 5.368 MB / 0.9602 GB, free: 62.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008876/2.675, allocations: 1.59 MB / 0.9618 GB, free: 61.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03647/2.711, allocations: 15.25 MB / 0.9767 GB, free: 55.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01147/2.723, allocations: 6.547 MB / 0.9831 GB, free: 53.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00692/2.73, allocations: 1.269 MB / 0.9843 GB, free: 53.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/2.731, allocations: 337.2 kB / 0.9846 GB, free: 53.63 MB / 0.4948 GB Notification: Performance of SimCode: time 1.731e-06/2.731, allocations: 0 / 0.9846 GB, free: 53.63 MB / 0.4948 GB Notification: Performance of Templates: time 0.5389/3.27, allocations: 96.4 MB / 1.079 GB, free: 67.26 MB / 0.4948 GB