Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 225.8 MB / 239.4 MB, free: 1.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.244e-05, allocations: 0 / 292.7 MB, free: 11.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.0911, allocations: 50.42 MB / 343.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.5429, allocations: 130.4 MB / 473.5 MB, free: 8.414 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.5432, allocations: 91.08 kB / 473.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7868/1.33, allocations: 150.9 MB / 0.6098 GB, free: 78.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.33, allocations: 0 / 0.6098 GB, free: 78.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005447/1.331, allocations: 187.8 kB / 0.61 GB, free: 78.22 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: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.0198/1.35, allocations: 6.586 MB / 0.6165 GB, free: 75.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/1.351, allocations: 14.12 kB / 0.6165 GB, free: 75.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007784/1.358, allocations: 1.241 MB / 0.6177 GB, free: 75.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01689/1.375, allocations: 6.227 MB / 0.6238 GB, free: 74.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/1.376, allocations: 0.5035 MB / 0.6243 GB, free: 74.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001562/1.377, allocations: 0.6639 MB / 0.6249 GB, free: 74.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/1.397, allocations: 9.078 MB / 0.6338 GB, free: 71.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002072/1.398, allocations: 9.062 kB / 0.6338 GB, free: 71.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000985/1.399, allocations: 295.2 kB / 0.6341 GB, free: 71.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002546/1.399, allocations: 297.8 kB / 0.6343 GB, free: 71.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01731/1.416, allocations: 7.341 MB / 0.6415 GB, free: 68.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0524/1.469, allocations: 29.47 MB / 0.6703 GB, free: 44.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/1.48, allocations: 11.72 MB / 0.6817 GB, free: 32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00606/1.486, allocations: 3.268 MB / 0.6849 GB, free: 28.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/1.5, allocations: 6.83 MB / 0.6916 GB, free: 21.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/1.5, allocations: 68.97 kB / 0.6917 GB, free: 21.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 6.85e-06/1.5, allocations: 0 / 0.6917 GB, free: 21.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=325): time 0.0263/1.527, allocations: 11.92 MB / 0.7033 GB, free: 9.617 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/1.527, allocations: 81.97 kB / 0.7034 GB, free: 9.523 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006374/1.533, allocations: 3.455 MB / 0.7067 GB, free: 6.047 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005837/1.534, allocations: 81.7 kB / 0.7068 GB, free: 5.961 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00203/1.536, allocations: 3.073 MB / 0.7098 GB, free: 2.871 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.537, allocations: 1.1 MB / 0.7109 GB, free: 1.781 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/1.537, allocations: 76 kB / 0.711 GB, free: 1.707 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002191/1.537, allocations: 454 kB / 0.7114 GB, free: 1.258 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003525/1.541, allocations: 1.792 MB / 0.7132 GB, free: 15.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004912/1.546, allocations: 2.674 MB / 0.7158 GB, free: 12.42 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004882/1.551, allocations: 2.21 MB / 0.7179 GB, free: 10.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-05/1.551, allocations: 8 kB / 0.7179 GB, free: 10.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01454/1.565, allocations: 6.145 MB / 0.7239 GB, free: 3.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.917e-05/1.566, allocations: 19.98 kB / 0.7239 GB, free: 3.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.335e-05/1.566, allocations: 28 kB / 0.724 GB, free: 3.883 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004101/1.57, allocations: 1.261 MB / 0.7252 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004365/1.574, allocations: 0.8073 MB / 0.726 GB, free: 1.773 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2957/1.87, allocations: 20.67 MB / 0.7462 GB, free: 71.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004058/1.874, allocations: 201.7 kB / 0.7464 GB, free: 71.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000439/1.874, allocations: 150 kB / 0.7465 GB, free: 71.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 11 {(2,100.0%) 14,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(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.0008099/1.875, allocations: 328.6 kB / 0.7468 GB, free: 71.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008159/1.876, allocations: 446.7 kB / 0.7473 GB, free: 71.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/1.889, allocations: 5.961 MB / 0.7531 GB, free: 70.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/1.889, allocations: 34.61 kB / 0.7531 GB, free: 70.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.689e-05/1.889, allocations: 18.5 kB / 0.7531 GB, free: 70.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.022e-05/1.889, allocations: 15.47 kB / 0.7531 GB, free: 70.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02551/1.914, allocations: 12.25 MB / 0.7651 GB, free: 69.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/1.914, allocations: 7.078 kB / 0.7651 GB, free: 69.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002618/1.917, allocations: 466.1 kB / 0.7656 GB, free: 69.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005129/1.922, allocations: 1.597 MB / 0.7671 GB, free: 69.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004506/1.923, allocations: 74.59 kB / 0.7672 GB, free: 69.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02986/1.953, allocations: 30.13 MB / 0.7966 GB, free: 47.31 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.376e-06/1.953, allocations: 2.344 kB / 0.7966 GB, free: 47.31 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/1.969, allocations: 8.854 MB / 0.8053 GB, free: 43.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002896/1.972, allocations: 0.92 MB / 0.8062 GB, free: 42.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008861/1.973, allocations: 69.02 kB / 0.8062 GB, free: 42.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/1.975, allocations: 200.5 kB / 0.8064 GB, free: 42.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007493/1.976, allocations: 282 kB / 0.8067 GB, free: 42.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003193/1.976, allocations: 93.09 kB / 0.8068 GB, free: 42.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004973/1.981, allocations: 2.634 MB / 0.8093 GB, free: 41.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.55e-07/1.981, allocations: 3.312 kB / 0.8093 GB, free: 41.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006142/1.988, allocations: 1.377 MB / 0.8107 GB, free: 41.39 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/1.989, allocations: 0.5856 MB / 0.8113 GB, free: 41.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01015/1.999, allocations: 6.039 MB / 0.8172 GB, free: 38.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.455e-06/1.999, allocations: 0 / 0.8172 GB, free: 38.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007537/2.007, allocations: 4.564 MB / 0.8216 GB, free: 35.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006864/2.013, allocations: 1.249 MB / 0.8228 GB, free: 35.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/2.036, allocations: 11 MB / 0.8336 GB, free: 30.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006079/2.043, allocations: 4.61 MB / 0.8381 GB, free: 28.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005246/2.048, allocations: 1.038 MB / 0.8391 GB, free: 28.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/2.049, allocations: 273.1 kB / 0.8394 GB, free: 28.73 MB / 458.7 MB Notification: Performance of SimCode: time 1.771e-06/2.049, allocations: 2.906 kB / 0.8394 GB, free: 28.73 MB / 458.7 MB Notification: Performance of Templates: time 0.4554/2.504, allocations: 72.85 MB / 0.9105 GB, free: 93.05 MB / 474.7 MB