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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.59e-05, allocations: 4 kB / 292.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08771, allocations: 50.4 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4588/0.5466, allocations: 162.9 MB / 0.4936 GB, free: 12.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.5469, allocations: 100.7 kB / 0.4937 GB, free: 12.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.739/3.286, allocations: 0.5723 GB / 1.066 GB, free: 24.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.199e-06/3.286, allocations: 1.219 kB / 1.066 GB, free: 24.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001384/3.287, allocations: 421.2 kB / 1.066 GB, free: 24.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.07019/3.357, allocations: 16.91 MB / 1.083 GB, free: 19.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/3.357, allocations: 10.62 kB / 1.083 GB, free: 19.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06372/3.421, allocations: 7.829 MB / 1.091 GB, free: 18.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0735/3.495, allocations: 14.82 MB / 1.105 GB, free: 16.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002581/3.497, allocations: 1.309 MB / 1.106 GB, free: 16.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01136/3.509, allocations: 1.721 MB / 1.108 GB, free: 16.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07607/3.585, allocations: 28.64 MB / 1.136 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004998/3.585, allocations: 20.3 kB / 1.136 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003464/3.589, allocations: 0.746 MB / 1.137 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001243/3.59, allocations: 1.268 MB / 1.138 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06276/3.653, allocations: 24.66 MB / 1.162 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5514/4.204, allocations: 94.29 MB / 1.254 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04921/4.253, allocations: 51.49 MB / 1.304 GB, free: 33.68 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01401/4.268, allocations: 7.024 MB / 1.311 GB, free: 33.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03706/4.305, allocations: 16.38 MB / 1.327 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.407e-05/4.305, allocations: 111.8 kB / 1.327 GB, free: 32.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=687): time 1.268e-05/4.305, allocations: 0 / 1.327 GB, free: 32.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=695): time 0.05662/4.361, allocations: 25.73 MB / 1.352 GB, free: 27.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/4.362, allocations: 151.1 kB / 1.353 GB, free: 27.31 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0134/4.375, allocations: 6.12 MB / 1.359 GB, free: 26.78 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/4.376, allocations: 141.8 kB / 1.359 GB, free: 26.75 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005146/4.381, allocations: 7.722 MB / 1.366 GB, free: 22.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002732/4.384, allocations: 2.351 MB / 1.369 GB, free: 21.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009163/4.385, allocations: 188.9 kB / 1.369 GB, free: 21.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006809/4.386, allocations: 0.6847 MB / 1.369 GB, free: 20.95 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009236/4.395, allocations: 4.71 MB / 1.374 GB, free: 20.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01212/4.407, allocations: 7.903 MB / 1.382 GB, free: 17.06 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/4.42, allocations: 6.418 MB / 1.388 GB, free: 16.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/4.42, allocations: 31.34 kB / 1.388 GB, free: 16.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.03651/4.456, allocations: 15.3 MB / 1.403 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/4.456, allocations: 51.03 kB / 1.403 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/4.457, allocations: 106.7 kB / 1.403 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008518/4.465, allocations: 2.444 MB / 1.406 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01125/4.476, allocations: 2.04 MB / 1.408 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0455/4.522, allocations: 28.1 MB / 1.435 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/4.532, allocations: 0.5372 MB / 1.435 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002393/4.535, allocations: 455.3 kB / 1.436 GB, free: 14.59 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * 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 (1064): * Single equations (assignments): 1051 * 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%) 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,(18,41.0%) 100} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002604/4.537, allocations: 0.6936 MB / 1.437 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00227/4.539, allocations: 0.7657 MB / 1.437 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03338/4.573, allocations: 12.89 MB / 1.45 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.384/4.957, allocations: 8.171 MB / 1.458 GB, free: 88.83 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.541e-05/4.957, allocations: 29.02 kB / 1.458 GB, free: 88.83 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001491/4.957, allocations: 36.03 kB / 1.458 GB, free: 88.83 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06936/5.027, allocations: 27.99 MB / 1.485 GB, free: 87.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.074e-05/5.027, allocations: 9 kB / 1.485 GB, free: 87.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007471/5.034, allocations: 1.105 MB / 1.486 GB, free: 87.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009319/5.043, allocations: 2.522 MB / 1.489 GB, free: 87.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001111/5.045, allocations: 151.6 kB / 1.489 GB, free: 87.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04491/5.09, allocations: 32.57 MB / 1.521 GB, free: 72.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.337e-06/5.09, allocations: 3.5 kB / 1.521 GB, free: 72.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03666/5.126, allocations: 19.1 MB / 1.539 GB, free: 70.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00564/5.132, allocations: 1.77 MB / 1.541 GB, free: 70.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001786/5.134, allocations: 133.4 kB / 1.541 GB, free: 70.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005654/5.139, allocations: 423.8 kB / 1.542 GB, free: 70.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001552/5.141, allocations: 0.5347 MB / 1.542 GB, free: 70.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007281/5.142, allocations: 198.8 kB / 1.542 GB, free: 70.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009381/5.151, allocations: 4.6 MB / 1.547 GB, free: 70.54 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.818e-06/5.151, allocations: 0.875 kB / 1.547 GB, free: 70.54 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01466/5.166, allocations: 3.095 MB / 1.55 GB, free: 70.54 MB / 0.5573 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 (567): * Single equations (assignments): 552 * 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%) 1,(18,38.0%) 100,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002106/5.168, allocations: 0.8688 MB / 1.551 GB, free: 70.36 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02399/5.192, allocations: 12.76 MB / 1.563 GB, free: 67.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/5.192, allocations: 3.469 kB / 1.563 GB, free: 67.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0143/5.206, allocations: 7.326 MB / 1.57 GB, free: 63.98 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01145/5.218, allocations: 1.965 MB / 1.572 GB, free: 63.48 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06905/5.287, allocations: 27.18 MB / 1.599 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02346/5.31, allocations: 11.66 MB / 1.61 GB, free: 43.08 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01362/5.324, allocations: 3.27 MB / 1.613 GB, free: 40.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002925/5.327, allocations: 0.5581 MB / 1.614 GB, free: 40.42 MB / 0.5573 GB Notification: Performance of SimCode: time 1.948e-06/5.327, allocations: 0 / 1.614 GB, free: 40.42 MB / 0.5573 GB Notification: Performance of Templates: time 1.08/6.407, allocations: 130.5 MB / 1.741 GB, free: 75.12 MB / 0.5574 GB