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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.212e-05, allocations: 7.984 kB / 292.2 MB, free: 8.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08946/0.08952, allocations: 50.41 MB / 342.6 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4224/0.512, allocations: 130.6 MB / 473.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5123, allocations: 100.5 kB / 473.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7557/1.268, allocations: 150.9 MB / 0.6096 GB, free: 82.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.268, allocations: 0 / 0.6096 GB, free: 82.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005426/1.269, allocations: 182.2 kB / 0.6097 GB, free: 82.59 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.01902/1.288, allocations: 6.577 MB / 0.6162 GB, free: 75.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.288, allocations: 12.03 kB / 0.6162 GB, free: 75.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007143/1.295, allocations: 1.24 MB / 0.6174 GB, free: 74.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01658/1.311, allocations: 6.242 MB / 0.6235 GB, free: 68.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004032/1.312, allocations: 0.4938 MB / 0.624 GB, free: 67.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/1.313, allocations: 0.6678 MB / 0.6246 GB, free: 67.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/1.334, allocations: 9.081 MB / 0.6335 GB, free: 57.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/1.334, allocations: 15.8 kB / 0.6335 GB, free: 57.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009846/1.335, allocations: 288 kB / 0.6338 GB, free: 57.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002572/1.335, allocations: 293.4 kB / 0.6341 GB, free: 57.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01694/1.352, allocations: 7.348 MB / 0.6412 GB, free: 50 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05407/1.406, allocations: 29.46 MB / 0.67 GB, free: 19.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/1.418, allocations: 11.72 MB / 0.6814 GB, free: 7.016 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006149/1.424, allocations: 3.277 MB / 0.6846 GB, free: 3.715 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2839/1.708, allocations: 6.81 MB / 0.6913 GB, free: 76.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/1.708, allocations: 71.56 kB / 0.6914 GB, free: 75.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 7.427e-06/1.708, allocations: 0 / 0.6914 GB, free: 75.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=325): time 0.03077/1.739, allocations: 11.92 MB / 0.703 GB, free: 74.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/1.739, allocations: 88.17 kB / 0.7031 GB, free: 74.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007537/1.746, allocations: 3.449 MB / 0.7065 GB, free: 74.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005954/1.747, allocations: 82.73 kB / 0.7065 GB, free: 73.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002303/1.749, allocations: 3.079 MB / 0.7095 GB, free: 72.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001183/1.75, allocations: 1.095 MB / 0.7106 GB, free: 72.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/1.751, allocations: 76.06 kB / 0.7107 GB, free: 72.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002275/1.751, allocations: 458.6 kB / 0.7111 GB, free: 71.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003471/1.754, allocations: 1.79 MB / 0.7129 GB, free: 71.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004058/1.759, allocations: 2.672 MB / 0.7155 GB, free: 70.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004432/1.763, allocations: 2.224 MB / 0.7177 GB, free: 70.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.369e-05/1.763, allocations: 10.78 kB / 0.7177 GB, free: 70.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01264/1.776, allocations: 6.128 MB / 0.7237 GB, free: 70.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/1.776, allocations: 17.28 kB / 0.7237 GB, free: 70.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-05/1.776, allocations: 31.31 kB / 0.7237 GB, free: 70.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003862/1.78, allocations: 1.25 MB / 0.7249 GB, free: 70.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004151/1.784, allocations: 0.8044 MB / 0.7257 GB, free: 70.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/1.804, allocations: 20.69 MB / 0.7459 GB, free: 55.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/1.808, allocations: 198.3 kB / 0.7461 GB, free: 55.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005285/1.809, allocations: 151.7 kB / 0.7462 GB, free: 55.27 MB / 442.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.0008396/1.81, allocations: 341.4 kB / 0.7466 GB, free: 55.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009041/1.811, allocations: 445.7 kB / 0.747 GB, free: 54.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/1.822, allocations: 5.96 MB / 0.7528 GB, free: 52.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/1.822, allocations: 32.16 kB / 0.7528 GB, free: 52.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/1.823, allocations: 16.53 kB / 0.7529 GB, free: 52.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.519e-05/1.823, allocations: 17.25 kB / 0.7529 GB, free: 52.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02509/1.848, allocations: 12.25 MB / 0.7648 GB, free: 47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/1.848, allocations: 6.688 kB / 0.7648 GB, free: 47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/1.85, allocations: 461.2 kB / 0.7653 GB, free: 46.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005023/1.855, allocations: 1.589 MB / 0.7668 GB, free: 46.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002934/1.856, allocations: 84.95 kB / 0.7669 GB, free: 46.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02933/1.885, allocations: 30.12 MB / 0.7963 GB, free: 21.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-06/1.885, allocations: 8.406 kB / 0.7963 GB, free: 21.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/1.901, allocations: 8.858 MB / 0.805 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00259/1.904, allocations: 0.9199 MB / 0.8059 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007642/1.905, allocations: 67.05 kB / 0.806 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.907, allocations: 200.5 kB / 0.8061 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007402/1.908, allocations: 281.3 kB / 0.8064 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003211/1.908, allocations: 94.8 kB / 0.8065 GB, free: 13.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00461/1.913, allocations: 2.629 MB / 0.8091 GB, free: 11.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.93e-07/1.913, allocations: 0 / 0.8091 GB, free: 11.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005483/1.918, allocations: 1.383 MB / 0.8104 GB, free: 9.93 MB / 442.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.001083/1.919, allocations: 0.6015 MB / 0.811 GB, free: 9.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009664/1.929, allocations: 6.027 MB / 0.8169 GB, free: 3.805 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.929, allocations: 4 kB / 0.8169 GB, free: 3.801 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007431/1.937, allocations: 4.571 MB / 0.8214 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006723/1.943, allocations: 1.241 MB / 0.8226 GB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/1.97, allocations: 11.01 MB / 0.8333 GB, free: 4.691 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006784/1.976, allocations: 4.61 MB / 0.8378 GB, free: 1.258 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005035/1.982, allocations: 1.036 MB / 0.8388 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.983, allocations: 276.3 kB / 0.8391 GB, free: 292 kB / 458.7 MB Notification: Performance of SimCode: time 1.715e-06/1.983, allocations: 0 / 0.8391 GB, free: 292 kB / 458.7 MB Notification: Performance of Templates: time 0.4748/2.457, allocations: 73.61 MB / 0.911 GB, free: 93.53 MB / 474.7 MB