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|loadInertiaE.phi|loadInertiaE.w",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadModel(Modelica): time 1.754/1.754, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.979e-05, allocations: 8 kB / 255.4 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07623/0.07628, allocations: 44.49 MB / 299.9 MB, free: 6.09 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4184/0.4947, allocations: 156.9 MB / 456.8 MB, free: 7.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.4951, allocations: 95.44 kB / 456.9 MB, free: 7.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.701/3.197, allocations: 0.5736 GB / 1.02 GB, free: 37.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.897e-06/3.197, allocations: 4 kB / 1.02 GB, free: 37.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001171/3.198, allocations: 427.1 kB / 1.02 GB, free: 37.72 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: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.0664/3.264, allocations: 17 MB / 1.037 GB, free: 32.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/3.264, allocations: 12.27 kB / 1.037 GB, free: 32.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06697/3.331, allocations: 8.467 MB / 1.045 GB, free: 31.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04046/3.372, allocations: 14.56 MB / 1.059 GB, free: 29.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00177/3.374, allocations: 1.343 MB / 1.061 GB, free: 29.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007052/3.381, allocations: 1.74 MB / 1.062 GB, free: 29.81 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07983/3.46, allocations: 30.13 MB / 1.092 GB, free: 25.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005679/3.461, allocations: 25.78 kB / 1.092 GB, free: 25.74 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005094/3.466, allocations: 0.7539 MB / 1.093 GB, free: 25.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001277/3.468, allocations: 1.186 MB / 1.094 GB, free: 24.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06785/3.535, allocations: 26.91 MB / 1.12 GB, free: 4.645 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5569/4.092, allocations: 98.69 MB / 1.216 GB, free: 31.79 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04247/4.135, allocations: 35.23 MB / 1.251 GB, free: 30.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02337/4.158, allocations: 12.77 MB / 1.263 GB, free: 25.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08402/4.242, allocations: 39.29 MB / 1.302 GB, free: 6.301 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/4.242, allocations: 148.8 kB / 1.302 GB, free: 6.184 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1269): time 2.015e-05/4.243, allocations: 0 / 1.302 GB, free: 6.184 MB / 490.7 MB Notification: Performance of matching and sorting (n=1277): time 0.4259/4.668, allocations: 45.76 MB / 1.346 GB, free: 77.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/4.669, allocations: 195.8 kB / 1.347 GB, free: 77.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/4.679, allocations: 4.972 MB / 1.351 GB, free: 77.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002163/4.681, allocations: 205.6 kB / 1.352 GB, free: 77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004448/4.685, allocations: 6.652 MB / 1.358 GB, free: 73.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005191/4.691, allocations: 4.182 MB / 1.362 GB, free: 71.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001355/4.692, allocations: 214.4 kB / 1.362 GB, free: 71.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009117/4.693, allocations: 0.8074 MB / 1.363 GB, free: 70.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01652/4.71, allocations: 8.151 MB / 1.371 GB, free: 70.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01938/4.729, allocations: 10.24 MB / 1.381 GB, free: 68.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01919/4.748, allocations: 9.772 MB / 1.391 GB, free: 68.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.339e-05/4.748, allocations: 18.34 kB / 1.391 GB, free: 68.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1564) (initialization): time 0.05353/4.802, allocations: 24.76 MB / 1.415 GB, free: 62.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.881e-05/4.802, allocations: 28.97 kB / 1.415 GB, free: 62.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/4.802, allocations: 57.06 kB / 1.415 GB, free: 62.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0231/4.825, allocations: 8.945 MB / 1.424 GB, free: 60.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01094/4.836, allocations: 1.869 MB / 1.426 GB, free: 60.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04044/4.877, allocations: 30.37 MB / 1.455 GB, free: 40.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00982/4.887, allocations: 0.5562 MB / 1.456 GB, free: 40.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002871/4.889, allocations: 466.7 kB / 1.456 GB, free: 39.93 MB / 0.4948 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.002871/4.892, allocations: 0.6743 MB / 1.457 GB, free: 39.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002578/4.895, allocations: 0.852 MB / 1.458 GB, free: 39.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05428/4.949, allocations: 25.32 MB / 1.482 GB, free: 22.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03941/4.989, allocations: 20.05 MB / 1.502 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.973e-05/4.989, allocations: 12 kB / 1.502 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001783/4.989, allocations: 52.12 kB / 1.502 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4392/5.428, allocations: 49.44 MB / 1.55 GB, free: 74.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-05/5.428, allocations: 2.594 kB / 1.55 GB, free: 74.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008133/5.437, allocations: 1.347 MB / 1.552 GB, free: 74.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02474/5.461, allocations: 9.059 MB / 1.561 GB, free: 74.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002247/5.464, allocations: 265.9 kB / 1.561 GB, free: 74.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04611/5.51, allocations: 36.5 MB / 1.596 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.086e-06/5.51, allocations: 4.438 kB / 1.596 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07403/5.584, allocations: 37.71 MB / 1.633 GB, free: 41.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008628/5.592, allocations: 2.811 MB / 1.636 GB, free: 40.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002451/5.595, allocations: 185.9 kB / 1.636 GB, free: 40.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006897/5.602, allocations: 0.5138 MB / 1.637 GB, free: 40.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00266/5.605, allocations: 0.9647 MB / 1.638 GB, free: 40.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001365/5.606, allocations: 338.2 kB / 1.638 GB, free: 40.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007392/5.613, allocations: 3.784 MB / 1.642 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.032e-06/5.613, allocations: 2.25 kB / 1.642 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01409/5.627, allocations: 3.245 MB / 1.645 GB, free: 35.1 MB / 0.4948 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.002689/5.63, allocations: 0.8815 MB / 1.646 GB, free: 34.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03937/5.67, allocations: 20.85 MB / 1.666 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.472e-06/5.67, allocations: 0 / 1.666 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02447/5.694, allocations: 12.05 MB / 1.678 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01111/5.705, allocations: 1.961 MB / 1.68 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4056/6.111, allocations: 34.37 MB / 1.713 GB, free: 82.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02147/6.132, allocations: 11.93 MB / 1.725 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01146/6.144, allocations: 2.633 MB / 1.727 GB, free: 80.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00267/6.147, allocations: 0.555 MB / 1.728 GB, free: 80.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.722e-06/6.147, allocations: 0 / 1.728 GB, free: 80.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.7695/6.916, allocations: 208.8 MB / 1.932 GB, free: 80.26 MB / 0.5105 GB