Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.81e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07463/0.07468, allocations: 44.5 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.4331, allocations: 105.4 MB / 405.3 MB, free: 15.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.4333, allocations: 87.2 kB / 405.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2987/0.7321, allocations: 88.22 MB / 493.6 MB, free: 10.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.08e-06/0.7321, allocations: 0 / 493.6 MB, free: 10.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003498/0.7325, allocations: 99.88 kB / 493.7 MB, free: 9.984 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01309/0.7456, allocations: 3.682 MB / 497.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.7456, allocations: 12.03 kB / 497.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005874/0.7515, allocations: 0.7875 MB / 498.2 MB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.7637, allocations: 3.664 MB / 0.4901 GB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003724/0.7642, allocations: 271.6 kB / 0.4903 GB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.7653, allocations: 363.8 kB / 0.4907 GB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/0.7784, allocations: 4.802 MB / 0.4954 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.7786, allocations: 11.98 kB / 0.4954 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005744/0.7792, allocations: 148 kB / 0.4955 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002084/0.7794, allocations: 155.2 kB / 0.4957 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.7907, allocations: 3.966 MB / 0.4995 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.263/1.054, allocations: 15.97 MB / 0.5151 GB, free: 59.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008015/1.062, allocations: 7.656 MB / 0.5226 GB, free: 53.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003477/1.065, allocations: 1.657 MB / 0.5242 GB, free: 53.51 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009804/1.075, allocations: 4.634 MB / 0.5287 GB, free: 52.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/1.075, allocations: 53.53 kB / 0.5288 GB, free: 52.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=159): time 5.699e-06/1.075, allocations: 2.844 kB / 0.5288 GB, free: 52.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.01142/1.087, allocations: 5.47 MB / 0.5341 GB, free: 51.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/1.087, allocations: 67.78 kB / 0.5342 GB, free: 51.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003477/1.09, allocations: 1.87 MB / 0.536 GB, free: 51.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002353/1.091, allocations: 54.3 kB / 0.5361 GB, free: 51.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/1.092, allocations: 1.616 MB / 0.5377 GB, free: 50.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005292/1.092, allocations: 0.555 MB / 0.5382 GB, free: 50.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/1.092, allocations: 36.34 kB / 0.5382 GB, free: 50.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/1.092, allocations: 379.7 kB / 0.5386 GB, free: 50.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/1.094, allocations: 0.8715 MB / 0.5395 GB, free: 50.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/1.096, allocations: 1.331 MB / 0.5408 GB, free: 49.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/1.098, allocations: 1.098 MB / 0.5418 GB, free: 49.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.098, allocations: 3.625 kB / 0.5418 GB, free: 49.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.006539/1.105, allocations: 3.129 MB / 0.5449 GB, free: 49.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.105, allocations: 13.16 kB / 0.5449 GB, free: 49.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/1.105, allocations: 15 kB / 0.5449 GB, free: 49.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/1.107, allocations: 0.7249 MB / 0.5456 GB, free: 49.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/1.109, allocations: 365.7 kB / 0.546 GB, free: 49.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.122, allocations: 10.37 MB / 0.5561 GB, free: 44.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/1.124, allocations: 90.89 kB / 0.5562 GB, free: 44.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/1.124, allocations: 77.03 kB / 0.5563 GB, free: 44.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004499/1.125, allocations: 220.8 kB / 0.5565 GB, free: 43.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000453/1.125, allocations: 228.9 kB / 0.5567 GB, free: 43.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006481/1.132, allocations: 3.042 MB / 0.5597 GB, free: 43.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/1.132, allocations: 18 kB / 0.5597 GB, free: 43.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/1.132, allocations: 15.3 kB / 0.5597 GB, free: 43.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/1.132, allocations: 7.641 kB / 0.5597 GB, free: 43.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/1.145, allocations: 6.396 MB / 0.5659 GB, free: 40.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.145, allocations: 3.625 kB / 0.5659 GB, free: 40.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.146, allocations: 176.8 kB / 0.5661 GB, free: 40.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/1.149, allocations: 0.9086 MB / 0.567 GB, free: 40.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/1.149, allocations: 45.25 kB / 0.567 GB, free: 40.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01754/1.167, allocations: 14.74 MB / 0.5814 GB, free: 29.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.895e-06/1.167, allocations: 3.656 kB / 0.5814 GB, free: 29.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008412/1.175, allocations: 4.421 MB / 0.5858 GB, free: 26.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.177, allocations: 0.5252 MB / 0.5863 GB, free: 26.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004448/1.177, allocations: 35.59 kB / 0.5863 GB, free: 26.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.179, allocations: 88.22 kB / 0.5864 GB, free: 26.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004466/1.179, allocations: 171.5 kB / 0.5865 GB, free: 26.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/1.179, allocations: 39.91 kB / 0.5866 GB, free: 26.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002539/1.182, allocations: 1.437 MB / 0.588 GB, free: 25.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.45e-07/1.182, allocations: 0 / 0.588 GB, free: 25.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003328/1.185, allocations: 0.739 MB / 0.5887 GB, free: 25.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(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.000688/1.186, allocations: 414.9 kB / 0.5891 GB, free: 25.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005018/1.191, allocations: 2.887 MB / 0.5919 GB, free: 24.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.191, allocations: 3.75 kB / 0.5919 GB, free: 24.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003801/1.195, allocations: 2.131 MB / 0.594 GB, free: 23.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.198, allocations: 0.5889 MB / 0.5946 GB, free: 22.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.21, allocations: 5.543 MB / 0.6 GB, free: 20.56 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002919/1.213, allocations: 2.741 MB / 0.6027 GB, free: 19.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002192/1.215, allocations: 464.1 kB / 0.6031 GB, free: 19.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/1.216, allocations: 136.7 kB / 0.6032 GB, free: 19.32 MB / 394.7 MB Notification: Performance of SimCode: time 2.541e-06/1.216, allocations: 0 / 0.6032 GB, free: 19.32 MB / 394.7 MB Notification: Performance of Templates: time 0.08885/1.305, allocations: 38.3 MB / 0.6406 GB, free: 15.35 MB / 410.7 MB