Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.704e-05/4.721e-05, allocations: 7.984 kB / 269.4 MB, free: 6.371 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 47.57 MB / 317 MB, free: 6.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5367/0.6417, allocations: 162 MB / 479 MB, free: 7.441 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.642, allocations: 102.2 kB / 479.1 MB, free: 7.387 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.803/3.445, allocations: 0.5707 GB / 1.039 GB, free: 32.55 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.906e-06/3.445, allocations: 2.188 kB / 1.039 GB, free: 32.55 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001331/3.447, allocations: 426.2 kB / 1.039 GB, free: 32.52 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.07161/3.518, allocations: 17 MB / 1.056 GB, free: 27.45 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/3.518, allocations: 8.156 kB / 1.056 GB, free: 27.45 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07116/3.589, allocations: 8.468 MB / 1.064 GB, free: 26.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07061/3.66, allocations: 14.56 MB / 1.078 GB, free: 24.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001799/3.662, allocations: 1.343 MB / 1.079 GB, free: 24.63 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007571/3.669, allocations: 1.74 MB / 1.081 GB, free: 24.62 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1254/3.795, allocations: 30.13 MB / 1.11 GB, free: 22.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000727/3.796, allocations: 25.02 kB / 1.11 GB, free: 22.47 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006201/3.802, allocations: 0.7478 MB / 1.111 GB, free: 22.47 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001563/3.804, allocations: 1.194 MB / 1.112 GB, free: 22.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0676/3.871, allocations: 26.91 MB / 1.139 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5702/4.441, allocations: 98.33 MB / 1.235 GB, free: 34.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04589/4.487, allocations: 35.21 MB / 1.269 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02629/4.514, allocations: 12.77 MB / 1.282 GB, free: 33.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08988/4.604, allocations: 39.3 MB / 1.32 GB, free: 30.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/4.604, allocations: 144.1 kB / 1.32 GB, free: 30.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1269): time 1.89e-05/4.604, allocations: 0 / 1.32 GB, free: 30.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1277): time 0.1078/4.712, allocations: 45.76 MB / 1.365 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/4.712, allocations: 189.7 kB / 1.365 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01189/4.724, allocations: 4.975 MB / 1.37 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002478/4.726, allocations: 197.7 kB / 1.37 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006961/4.733, allocations: 6.651 MB / 1.376 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00733/4.741, allocations: 4.187 MB / 1.381 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002322/4.743, allocations: 213.1 kB / 1.381 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00149/4.744, allocations: 0.8014 MB / 1.382 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02023/4.765, allocations: 8.153 MB / 1.39 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3912/5.156, allocations: 11.12 MB / 1.4 GB, free: 83.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02333/5.179, allocations: 9.78 MB / 1.41 GB, free: 82.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000142/5.179, allocations: 14.5 kB / 1.41 GB, free: 82.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1564) (initialization): time 0.05933/5.239, allocations: 24.77 MB / 1.434 GB, free: 82.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.141e-05/5.239, allocations: 30.12 kB / 1.434 GB, free: 82.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/5.239, allocations: 57 kB / 1.434 GB, free: 82.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02485/5.264, allocations: 8.945 MB / 1.443 GB, free: 82.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01137/5.275, allocations: 1.866 MB / 1.445 GB, free: 82.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04189/5.317, allocations: 30.38 MB / 1.474 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/5.328, allocations: 0.5546 MB / 1.475 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002938/5.331, allocations: 470.1 kB / 1.475 GB, free: 70.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 248 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (982): * Single equations (assignments): 918 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 12 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of prepare postOptimizeDAE: time 0.003222/5.335, allocations: 0.6779 MB / 1.476 GB, free: 70.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002704/5.337, allocations: 0.8543 MB / 1.477 GB, free: 70.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05854/5.396, allocations: 25.31 MB / 1.502 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04238/5.438, allocations: 20.05 MB / 1.521 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.15e-05/5.438, allocations: 7.844 kB / 1.521 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002084/5.439, allocations: 55.78 kB / 1.521 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1057/5.544, allocations: 48.3 MB / 1.568 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001227/5.544, allocations: 15.03 kB / 1.568 GB, free: 22.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008894/5.553, allocations: 1.35 MB / 1.57 GB, free: 21.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02305/5.576, allocations: 9.051 MB / 1.579 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002511/5.579, allocations: 272.8 kB / 1.579 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4034/5.982, allocations: 36.48 MB / 1.614 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.778e-06/5.982, allocations: 6.344 kB / 1.615 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08067/6.063, allocations: 37.7 MB / 1.651 GB, free: 69.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008813/6.072, allocations: 2.803 MB / 1.654 GB, free: 68.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003362/6.075, allocations: 191 kB / 1.654 GB, free: 68.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008427/6.084, allocations: 0.5091 MB / 1.655 GB, free: 68.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003168/6.087, allocations: 0.9771 MB / 1.656 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001504/6.089, allocations: 337.3 kB / 1.656 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007914/6.097, allocations: 3.786 MB / 1.66 GB, free: 68.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.031e-06/6.097, allocations: 0 / 1.66 GB, free: 68.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0163/6.113, allocations: 3.241 MB / 1.663 GB, free: 68.69 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 650 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of Backend phase and start with SimCode phase: time 0.003359/6.116, allocations: 0.8883 MB / 1.664 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04636/6.163, allocations: 20.86 MB / 1.684 GB, free: 60.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.622e-06/6.163, allocations: 3.125 kB / 1.684 GB, free: 60.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02878/6.192, allocations: 12.04 MB / 1.696 GB, free: 54.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01348/6.205, allocations: 1.978 MB / 1.698 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07936/6.284, allocations: 34.06 MB / 1.731 GB, free: 35.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02258/6.307, allocations: 11.92 MB / 1.743 GB, free: 26.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01201/6.319, allocations: 2.633 MB / 1.745 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003229/6.322, allocations: 0.5504 MB / 1.746 GB, free: 24.42 MB / 0.5261 GB Notification: Performance of SimCode: time 1.925e-06/6.322, allocations: 4 kB / 1.746 GB, free: 24.42 MB / 0.5261 GB Notification: Performance of Templates: time 0.8074/7.13, allocations: 208.9 MB / 1.95 GB, free: 2.414 MB / 0.5261 GB