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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadModel(Modelica): time 1.836/1.836, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.381e-05/2.386e-05, allocations: 0 / 292.7 MB, free: 8.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08756/0.08761, allocations: 50.43 MB / 343.1 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4543/0.5419, allocations: 162.9 MB / 0.4941 GB, free: 12.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.5423, allocations: 99.98 kB / 0.4942 GB, free: 12.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.703/3.245, allocations: 0.5723 GB / 1.066 GB, free: 24.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.545e-06/3.245, allocations: 0 / 1.066 GB, free: 24.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001504/3.247, allocations: 422.8 kB / 1.067 GB, free: 24.04 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.0745/3.321, allocations: 16.91 MB / 1.083 GB, free: 19.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/3.321, allocations: 8.062 kB / 1.083 GB, free: 19.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06014/3.381, allocations: 7.825 MB / 1.091 GB, free: 18.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04333/3.425, allocations: 14.82 MB / 1.106 GB, free: 16.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001504/3.426, allocations: 1.312 MB / 1.107 GB, free: 16.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007358/3.434, allocations: 1.731 MB / 1.109 GB, free: 16.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07917/3.513, allocations: 28.62 MB / 1.136 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007365/3.514, allocations: 26.98 kB / 1.136 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00563/3.519, allocations: 0.7431 MB / 1.137 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001531/3.521, allocations: 1.268 MB / 1.138 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07036/3.591, allocations: 24.66 MB / 1.163 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5809/4.172, allocations: 94.37 MB / 1.255 GB, free: 58.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04903/4.221, allocations: 51.48 MB / 1.305 GB, free: 33.71 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01373/4.235, allocations: 7.024 MB / 1.312 GB, free: 33.62 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03996/4.275, allocations: 16.38 MB / 1.328 GB, free: 32.83 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.447e-05/4.275, allocations: 112.4 kB / 1.328 GB, free: 32.78 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=687): time 1.235e-05/4.275, allocations: 2.906 kB / 1.328 GB, free: 32.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=695): time 0.05821/4.334, allocations: 25.73 MB / 1.353 GB, free: 27.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/4.334, allocations: 150.5 kB / 1.353 GB, free: 27.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01315/4.347, allocations: 6.113 MB / 1.359 GB, free: 26.81 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001182/4.348, allocations: 142.8 kB / 1.359 GB, free: 26.78 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005276/4.353, allocations: 7.728 MB / 1.367 GB, free: 22.78 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002947/4.356, allocations: 2.345 MB / 1.369 GB, free: 21.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/4.358, allocations: 191.6 kB / 1.369 GB, free: 21.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0007631/4.358, allocations: 0.6934 MB / 1.37 GB, free: 20.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009646/4.368, allocations: 4.706 MB / 1.375 GB, free: 20.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01145/4.379, allocations: 7.904 MB / 1.382 GB, free: 17.09 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01181/4.391, allocations: 6.42 MB / 1.389 GB, free: 16.96 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/4.391, allocations: 31.72 kB / 1.389 GB, free: 16.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.03396/4.425, allocations: 15.29 MB / 1.404 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/4.426, allocations: 54.81 kB / 1.404 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/4.426, allocations: 105.2 kB / 1.404 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008093/4.434, allocations: 2.443 MB / 1.406 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0109/4.445, allocations: 2.036 MB / 1.408 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04484/4.49, allocations: 28.11 MB / 1.436 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009801/4.5, allocations: 0.528 MB / 1.436 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002312/4.502, allocations: 447.3 kB / 1.436 GB, free: 14.62 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.002261/4.504, allocations: 0.694 MB / 1.437 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002506/4.507, allocations: 0.7559 MB / 1.438 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03228/4.539, allocations: 12.91 MB / 1.45 GB, free: 2.445 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3872/4.926, allocations: 8.17 MB / 1.458 GB, free: 88.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.647e-05/4.926, allocations: 25.73 kB / 1.459 GB, free: 88.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001751/4.927, allocations: 34.88 kB / 1.459 GB, free: 88.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06953/4.996, allocations: 27.99 MB / 1.486 GB, free: 87.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.124e-05/4.996, allocations: 5.422 kB / 1.486 GB, free: 87.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006733/5.003, allocations: 1.108 MB / 1.487 GB, free: 87.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008642/5.012, allocations: 2.526 MB / 1.489 GB, free: 87.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001296/5.013, allocations: 151 kB / 1.49 GB, free: 87.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04421/5.057, allocations: 32.56 MB / 1.521 GB, free: 72.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.278e-06/5.057, allocations: 9.438 kB / 1.521 GB, free: 72.81 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03666/5.094, allocations: 19.11 MB / 1.54 GB, free: 70.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005762/5.1, allocations: 1.774 MB / 1.542 GB, free: 70.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002181/5.102, allocations: 124.1 kB / 1.542 GB, free: 70.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006208/5.108, allocations: 424 kB / 1.542 GB, free: 70.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002055/5.11, allocations: 0.535 MB / 1.543 GB, free: 70.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008006/5.111, allocations: 194 kB / 1.543 GB, free: 70.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0102/5.121, allocations: 4.608 MB / 1.547 GB, free: 70.51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.423e-06/5.121, allocations: 0 / 1.547 GB, free: 70.51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01571/5.137, allocations: 3.088 MB / 1.551 GB, free: 70.51 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.002358/5.139, allocations: 0.8758 MB / 1.551 GB, free: 70.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02444/5.164, allocations: 12.76 MB / 1.564 GB, free: 67.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.643e-06/5.164, allocations: 0 / 1.564 GB, free: 67.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01425/5.178, allocations: 7.32 MB / 1.571 GB, free: 63.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01147/5.19, allocations: 1.96 MB / 1.573 GB, free: 63.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06392/5.254, allocations: 27.2 MB / 1.599 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0218/5.276, allocations: 11.65 MB / 1.611 GB, free: 43.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01281/5.288, allocations: 3.265 MB / 1.614 GB, free: 40.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002451/5.291, allocations: 0.5497 MB / 1.615 GB, free: 40.38 MB / 0.5573 GB Notification: Performance of SimCode: time 1.677e-06/5.291, allocations: 3.656 kB / 1.615 GB, free: 40.38 MB / 0.5573 GB Notification: Performance of Templates: time 1.075/6.366, allocations: 130.5 MB / 1.742 GB, free: 74.91 MB / 0.5574 GB