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.791/1.791, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.582e-05, allocations: 4 kB / 258.9 MB, free: 8.027 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2855, allocations: 44.5 MB / 303.4 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.05746/0.343, allocations: 36.24 MB / 339.6 MB, free: 9.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02779/0.3708, allocations: 10.19 MB / 349.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008093/0.379, allocations: 358.9 kB / 350.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.3892, allocations: 2.374 MB / 352.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01771/0.407, allocations: 3.886 MB / 356.4 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009631/0.4166, allocations: 1.867 MB / 358.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.03212/0.4487, allocations: 13.56 MB / 371.8 MB, free: 8.957 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07277/0.5216, allocations: 27.13 MB / 398.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01285/0.5345, allocations: 5.799 MB / 404.7 MB, free: 7.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01511/0.5496, allocations: 6.724 MB / 411.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007201/0.5569, allocations: 0.898 MB / 412.4 MB, free: 284 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004267/0.5612, allocations: 0.5976 MB / 413 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006429/0.5677, allocations: 3.082 MB / 416 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006866/0.5746, allocations: 1.434 MB / 417.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.5999/1.175, allocations: 34.75 MB / 452.2 MB, free: 25.79 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.175, allocations: 0 / 452.2 MB, free: 25.79 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.956e-06/1.175, allocations: 1.641 kB / 452.2 MB, free: 25.79 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.001175/1.176, allocations: 0 / 452.2 MB, free: 25.79 MB / 362.8 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.07976/1.256, allocations: 19.29 MB / 471.5 MB, free: 16.5 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.256, allocations: 8.188 kB / 471.5 MB, free: 16.5 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1003/1.356, allocations: 12.11 MB / 483.6 MB, free: 9.371 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03523/1.391, allocations: 11.88 MB / 495.5 MB, free: 2.27 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001681/1.393, allocations: 1.37 MB / 496.9 MB, free: 1.492 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008167/1.401, allocations: 1.804 MB / 498.7 MB, free: 296 kB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1021/1.503, allocations: 29.84 MB / 0.5162 GB, free: 12.71 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008965/1.504, allocations: 26.36 kB / 0.5162 GB, free: 12.69 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00716/1.512, allocations: 0.7507 MB / 0.5169 GB, free: 11.96 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001637/1.513, allocations: 1.03 MB / 0.5179 GB, free: 10.93 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08956/1.603, allocations: 27.85 MB / 0.5451 GB, free: 15.06 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5294/2.132, allocations: 95.63 MB / 0.6385 GB, free: 108.5 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06073/2.193, allocations: 63.36 MB / 0.7004 GB, free: 52.6 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05496/2.248, allocations: 20.19 MB / 0.7201 GB, free: 38.9 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.148e-05/2.248, allocations: 104.6 kB / 0.7202 GB, free: 38.79 MB / 458.8 MB Notification: Performance of pre-optimization done (n=695): time 1.065e-05/2.248, allocations: 0 / 0.7202 GB, free: 38.79 MB / 458.8 MB Notification: Performance of matching and sorting (n=703): time 0.1476/2.396, allocations: 39.21 MB / 0.7585 GB, free: 14.84 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/2.396, allocations: 159.1 kB / 0.7586 GB, free: 14.66 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01659/2.413, allocations: 6.346 MB / 0.7648 GB, free: 8.348 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001439/2.414, allocations: 145.7 kB / 0.765 GB, free: 8.199 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007959/2.422, allocations: 7.913 MB / 0.7727 GB, free: 248 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.3039/2.726, allocations: 2.386 MB / 0.775 GB, free: 159.5 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/2.727, allocations: 205.6 kB / 0.7752 GB, free: 159.5 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0007455/2.728, allocations: 0.7063 MB / 0.7759 GB, free: 159.2 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01383/2.742, allocations: 4.98 MB / 0.7808 GB, free: 159.1 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01564/2.758, allocations: 8.642 MB / 0.7892 GB, free: 153.1 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/2.774, allocations: 6.755 MB / 0.7958 GB, free: 150.2 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/2.774, allocations: 36.94 kB / 0.7959 GB, free: 150.2 MB / 474.8 MB Notification: Performance of matching and sorting (n=1288) (initialization): time 0.04528/2.819, allocations: 16.52 MB / 0.812 GB, free: 143.7 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/2.819, allocations: 56.44 kB / 0.812 GB, free: 143.7 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002204/2.82, allocations: 123.8 kB / 0.8122 GB, free: 143.7 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01096/2.831, allocations: 2.607 MB / 0.8147 GB, free: 143 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0155/2.846, allocations: 2.2 MB / 0.8169 GB, free: 141.7 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05053/2.897, allocations: 29.29 MB / 0.8455 GB, free: 114.4 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01146/2.908, allocations: 0.5571 MB / 0.846 GB, free: 113.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002286/2.911, allocations: 483.3 kB / 0.8465 GB, free: 113.5 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 546 * Number of states: 0 () * 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,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 initialization (1139): * Single equations (assignments): 1126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 8 {(1,100.0%) 1,(18,38.9%) 100,(1,100.0%) 5,(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.01638/2.927, allocations: 6.787 MB / 0.8531 GB, free: 107.7 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002148/2.929, allocations: 0.7755 MB / 0.8539 GB, free: 106.9 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03696/2.966, allocations: 13.32 MB / 0.8669 GB, free: 94.39 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02178/2.988, allocations: 8.373 MB / 0.875 GB, free: 85.92 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.415e-05/2.988, allocations: 31.98 kB / 0.8751 GB, free: 85.89 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001832/2.988, allocations: 35.86 kB / 0.8751 GB, free: 85.86 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07475/3.063, allocations: 28.41 MB / 0.9029 GB, free: 57.25 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.916e-05/3.063, allocations: 7.953 kB / 0.9029 GB, free: 57.25 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009769/3.073, allocations: 1.135 MB / 0.904 GB, free: 56.11 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01128/3.084, allocations: 2.638 MB / 0.9065 GB, free: 53.43 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001461/3.086, allocations: 159.9 kB / 0.9067 GB, free: 53.28 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3827/3.468, allocations: 33.8 MB / 0.9397 GB, free: 141.3 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/3.468, allocations: 8.281 kB / 0.9397 GB, free: 141.3 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04729/3.516, allocations: 19.72 MB / 0.959 GB, free: 138.1 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006069/3.522, allocations: 1.795 MB / 0.9607 GB, free: 137.5 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00263/3.525, allocations: 128.8 kB / 0.9608 GB, free: 137.4 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007925/3.533, allocations: 414.3 kB / 0.9612 GB, free: 137.3 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00189/3.534, allocations: 0.5311 MB / 0.9618 GB, free: 137.2 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000733/3.535, allocations: 198.7 kB / 0.9619 GB, free: 137.2 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01119/3.546, allocations: 4.777 MB / 0.9666 GB, free: 135.4 MB / 474.8 MB Notification: Performance of sort global known variables: time 7.51e-07/3.546, allocations: 0 / 0.9666 GB, free: 135.4 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0154/3.562, allocations: 3.104 MB / 0.9696 GB, free: 135.2 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.strayReluctance.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 simulation (575): * Single equations (assignments): 560 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 5,(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,(1,100.0%) 1,(18,41.7%) 100} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001904/3.564, allocations: 357.6 kB / 0.97 GB, free: 134.9 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.031/3.595, allocations: 13.7 MB / 0.9834 GB, free: 129.1 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/3.595, allocations: 3.438 kB / 0.9834 GB, free: 129.1 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01779/3.613, allocations: 7.7 MB / 0.9909 GB, free: 122.3 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01424/3.627, allocations: 1.948 MB / 0.9928 GB, free: 120.8 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08042/3.707, allocations: 38.79 MB / 1.031 GB, free: 85.11 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02217/3.73, allocations: 11.72 MB / 1.042 GB, free: 75.32 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01629/3.746, allocations: 3.364 MB / 1.045 GB, free: 71.94 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003349/3.749, allocations: 0.5658 MB / 1.046 GB, free: 71.38 MB / 474.8 MB Notification: Performance of SimCode: time 1.393e-06/3.749, allocations: 0 / 1.046 GB, free: 71.38 MB / 474.8 MB Notification: Performance of Templates: time 0.6547/4.404, allocations: 127.4 MB / 1.17 GB, free: 99.56 MB / 474.8 MB