Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|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.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadModel(Modelica): time 1.843/1.843, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.364e-05, allocations: 8 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08361/0.08366, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.5068, allocations: 128.8 MB / 445.7 MB, free: 8.277 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.5071, allocations: 78.64 kB / 445.8 MB, free: 8.238 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7492/1.256, allocations: 150.2 MB / 0.5821 GB, free: 86.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.153e-06/1.256, allocations: 0 / 0.5821 GB, free: 86.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005839/1.257, allocations: 183.5 kB / 0.5823 GB, free: 86.84 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.01911/1.276, allocations: 6.559 MB / 0.5887 GB, free: 83.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/1.276, allocations: 6.656 kB / 0.5887 GB, free: 83.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008204/1.284, allocations: 1.238 MB / 0.5899 GB, free: 83.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/1.302, allocations: 6.241 MB / 0.596 GB, free: 79.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005035/1.303, allocations: 0.4961 MB / 0.5965 GB, free: 79.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002217/1.305, allocations: 0.6707 MB / 0.5971 GB, free: 78.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02233/1.327, allocations: 9.101 MB / 0.606 GB, free: 69.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/1.327, allocations: 19.84 kB / 0.606 GB, free: 69.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001441/1.329, allocations: 286.8 kB / 0.6063 GB, free: 68.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002516/1.329, allocations: 297.4 kB / 0.6066 GB, free: 68.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/1.347, allocations: 7.352 MB / 0.6138 GB, free: 61.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05479/1.402, allocations: 29.48 MB / 0.6425 GB, free: 31.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/1.413, allocations: 11.7 MB / 0.654 GB, free: 18.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006029/1.419, allocations: 3.281 MB / 0.6572 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01449/1.434, allocations: 6.842 MB / 0.6639 GB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/1.434, allocations: 72.92 kB / 0.6639 GB, free: 8.219 MB / 426.7 MB Notification: Performance of pre-optimization done (n=306): time 6.698e-06/1.434, allocations: 4 kB / 0.6639 GB, free: 8.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=325): time 0.307/1.741, allocations: 11.93 MB / 0.6756 GB, free: 79.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/1.741, allocations: 85.38 kB / 0.6757 GB, free: 78.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007506/1.748, allocations: 3.453 MB / 0.679 GB, free: 78.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005849/1.749, allocations: 85.58 kB / 0.6791 GB, free: 78.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002568/1.751, allocations: 3.082 MB / 0.6821 GB, free: 78.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001411/1.753, allocations: 1.092 MB / 0.6832 GB, free: 77.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006895/1.754, allocations: 74.72 kB / 0.6833 GB, free: 77.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005217/1.754, allocations: 461.8 kB / 0.6837 GB, free: 77.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008094/1.762, allocations: 1.787 MB / 0.6854 GB, free: 77.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008498/1.771, allocations: 2.68 MB / 0.6881 GB, free: 76.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008963/1.78, allocations: 2.224 MB / 0.6902 GB, free: 76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.617e-05/1.78, allocations: 7.469 kB / 0.6902 GB, free: 76 MB / 426.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.02829/1.808, allocations: 6.141 MB / 0.6962 GB, free: 75.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/1.808, allocations: 15.25 kB / 0.6963 GB, free: 75.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/1.809, allocations: 28.97 kB / 0.6963 GB, free: 75.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007742/1.816, allocations: 1.254 MB / 0.6975 GB, free: 75.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009364/1.826, allocations: 0.8103 MB / 0.6983 GB, free: 75.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04355/1.869, allocations: 20.67 MB / 0.7185 GB, free: 60.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007058/1.876, allocations: 199.5 kB / 0.7187 GB, free: 60.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009845/1.877, allocations: 148.4 kB / 0.7188 GB, free: 60.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (416): * Single equations (assignments): 402 * 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%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(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.001356/1.879, allocations: 333.8 kB / 0.7191 GB, free: 60.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001693/1.881, allocations: 445.8 kB / 0.7196 GB, free: 60.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02009/1.901, allocations: 5.98 MB / 0.7254 GB, free: 57.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.303e-05/1.901, allocations: 30.62 kB / 0.7254 GB, free: 57.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.67e-05/1.901, allocations: 17.88 kB / 0.7255 GB, free: 57.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-05/1.901, allocations: 15.48 kB / 0.7255 GB, free: 57.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0406/1.942, allocations: 12.25 MB / 0.7374 GB, free: 52.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.942, allocations: 0 / 0.7374 GB, free: 52.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/1.945, allocations: 463.3 kB / 0.7379 GB, free: 52.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005438/1.95, allocations: 1.608 MB / 0.7394 GB, free: 51.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004011/1.951, allocations: 78.12 kB / 0.7395 GB, free: 51.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03004/1.981, allocations: 30.13 MB / 0.7689 GB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/1.981, allocations: 10.92 kB / 0.7689 GB, free: 26.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/1.997, allocations: 8.85 MB / 0.7776 GB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002961/2, allocations: 0.9203 MB / 0.7785 GB, free: 21.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009897/2.001, allocations: 68.23 kB / 0.7786 GB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003076/2.004, allocations: 204.9 kB / 0.7788 GB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007625/2.005, allocations: 283.5 kB / 0.779 GB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003286/2.006, allocations: 88.14 kB / 0.7791 GB, free: 21.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005171/2.011, allocations: 2.635 MB / 0.7817 GB, free: 20.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.72e-07/2.011, allocations: 0 / 0.7817 GB, free: 20.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005966/2.017, allocations: 1.38 MB / 0.783 GB, free: 19.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,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 (232): * Single equations (assignments): 215 * 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%) 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,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001117/2.018, allocations: 0.5764 MB / 0.7836 GB, free: 18.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009582/2.028, allocations: 6.03 MB / 0.7895 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.69e-06/2.028, allocations: 0.5 kB / 0.7895 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007322/2.035, allocations: 4.586 MB / 0.794 GB, free: 8.578 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006546/2.041, allocations: 1.252 MB / 0.7952 GB, free: 7.609 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02397/2.065, allocations: 11.03 MB / 0.806 GB, free: 13.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008205/2.074, allocations: 4.612 MB / 0.8105 GB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005304/2.079, allocations: 1.038 MB / 0.8115 GB, free: 9.617 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/2.08, allocations: 268 kB / 0.8117 GB, free: 9.363 MB / 442.7 MB Notification: Performance of SimCode: time 2.062e-06/2.08, allocations: 0 / 0.8117 GB, free: 9.363 MB / 442.7 MB Notification: Performance of Templates: time 0.4456/2.526, allocations: 72.8 MB / 0.8828 GB, free: 91.83 MB / 458.7 MB