Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|aimsE.i_0_r|aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadModel(Modelica): time 1.724/1.724, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.275e-05, allocations: 4 kB / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2117, allocations: 38.77 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3492/0.561, allocations: 117 MB / 380.8 MB, free: 94.14 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.5613, allocations: 87.27 kB / 380.9 MB, free: 94.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7724/1.334, allocations: 145.6 MB / 0.5141 GB, free: 27.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.334, allocations: 0 / 0.5141 GB, free: 27.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006396/1.334, allocations: 173.6 kB / 0.5143 GB, free: 27.11 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02118/1.356, allocations: 6.402 MB / 0.5205 GB, free: 25.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.356, allocations: 10.22 kB / 0.5205 GB, free: 25.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005979/1.362, allocations: 0.9969 MB / 0.5215 GB, free: 24.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/1.377, allocations: 5.226 MB / 0.5266 GB, free: 23.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005816/1.377, allocations: 486.5 kB / 0.5271 GB, free: 23.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002499/1.38, allocations: 0.6355 MB / 0.5277 GB, free: 23.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02505/1.405, allocations: 8.665 MB / 0.5362 GB, free: 22.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000311/1.405, allocations: 21.77 kB / 0.5362 GB, free: 22.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002063/1.407, allocations: 274.1 kB / 0.5364 GB, free: 22.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002585/1.408, allocations: 273.4 kB / 0.5367 GB, free: 22.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01894/1.427, allocations: 6.805 MB / 0.5433 GB, free: 22.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08044/1.507, allocations: 27.95 MB / 0.5706 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01423/1.521, allocations: 5.868 MB / 0.5764 GB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01062/1.532, allocations: 3.004 MB / 0.5793 GB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008022/1.533, allocations: 156.6 kB / 0.5794 GB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.382e-05/1.533, allocations: 73.19 kB / 0.5795 GB, free: 6.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=322): time 1.565e-05/1.533, allocations: 0 / 0.5795 GB, free: 6.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=341): time 0.04604/1.579, allocations: 12.05 MB / 0.5913 GB, free: 1.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/1.579, allocations: 90.69 kB / 0.5914 GB, free: 1.246 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007712/1.587, allocations: 3.402 MB / 0.5947 GB, free: 15.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006595/1.588, allocations: 85.7 kB / 0.5948 GB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003338/1.591, allocations: 2.933 MB / 0.5976 GB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001804/1.593, allocations: 1.142 MB / 0.5988 GB, free: 11.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004243/1.593, allocations: 74.44 kB / 0.5988 GB, free: 11.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004078/1.594, allocations: 455.7 kB / 0.5993 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004361/1.598, allocations: 1.806 MB / 0.601 GB, free: 9.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005558/1.604, allocations: 2.654 MB / 0.6036 GB, free: 7.012 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005321/1.609, allocations: 2.234 MB / 0.6058 GB, free: 5.105 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.766e-05/1.609, allocations: 8 kB / 0.6058 GB, free: 5.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01589/1.625, allocations: 6.154 MB / 0.6118 GB, free: 15.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.965e-05/1.625, allocations: 16 kB / 0.6118 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.223e-05/1.625, allocations: 24.59 kB / 0.6119 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004395/1.63, allocations: 1.272 MB / 0.6131 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004686/1.634, allocations: 0.8236 MB / 0.6139 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2564/1.891, allocations: 21.27 MB / 0.6347 GB, free: 46.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004386/1.895, allocations: 192.1 kB / 0.6348 GB, free: 46.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007746/1.896, allocations: 147.1 kB / 0.635 GB, free: 46.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (417): * Single equations (assignments): 403 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 5,(2,100.0%) 5,(2,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.0008382/1.897, allocations: 333.7 kB / 0.6353 GB, free: 45.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.898, allocations: 444.9 kB / 0.6357 GB, free: 45.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/1.911, allocations: 6.045 MB / 0.6416 GB, free: 45.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/1.911, allocations: 31.69 kB / 0.6417 GB, free: 45.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.56e-05/1.911, allocations: 15.81 kB / 0.6417 GB, free: 45.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-05/1.911, allocations: 23.97 kB / 0.6417 GB, free: 45.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0306/1.942, allocations: 12.96 MB / 0.6544 GB, free: 43.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/1.942, allocations: 3.312 kB / 0.6544 GB, free: 43.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002874/1.945, allocations: 484.5 kB / 0.6548 GB, free: 43.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005451/1.95, allocations: 1.612 MB / 0.6564 GB, free: 43.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006288/1.951, allocations: 74.12 kB / 0.6565 GB, free: 43.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0309/1.982, allocations: 30.12 MB / 0.6859 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.335e-06/1.982, allocations: 8.766 kB / 0.6859 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01771/2, allocations: 9.144 MB / 0.6948 GB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003174/2.003, allocations: 0.9286 MB / 0.6957 GB, free: 21.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/2.004, allocations: 73.55 kB / 0.6958 GB, free: 21.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00353/2.008, allocations: 198.7 kB / 0.696 GB, free: 21.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/2.009, allocations: 290.5 kB / 0.6963 GB, free: 21.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003896/2.009, allocations: 93.08 kB / 0.6963 GB, free: 21.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006108/2.015, allocations: 2.594 MB / 0.6989 GB, free: 20.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.159e-06/2.015, allocations: 0 / 0.6989 GB, free: 20.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007206/2.023, allocations: 1.356 MB / 0.7002 GB, free: 19.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 16 * 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: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1,(1,100.0%) 8,(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.001403/2.024, allocations: 0.568 MB / 0.7008 GB, free: 19.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01135/2.035, allocations: 6.068 MB / 0.7067 GB, free: 16.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.628e-06/2.036, allocations: 3.938 kB / 0.7067 GB, free: 16.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008479/2.044, allocations: 4.653 MB / 0.7112 GB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007619/2.052, allocations: 1.243 MB / 0.7124 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02601/2.078, allocations: 10.89 MB / 0.7231 GB, free: 9.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00819/2.086, allocations: 4.512 MB / 0.7275 GB, free: 7.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005269/2.091, allocations: 0.9826 MB / 0.7284 GB, free: 7.562 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/2.093, allocations: 265.7 kB / 0.7287 GB, free: 7.551 MB / 378.7 MB Notification: Performance of SimCode: time 1.72e-06/2.093, allocations: 0 / 0.7287 GB, free: 7.551 MB / 378.7 MB Notification: Performance of Templates: time 0.424/2.517, allocations: 73.58 MB / 0.8006 GB, free: 49.14 MB / 394.7 MB