Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 1.839/1.839, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.938e-05, allocations: 3.562 kB / 255.3 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 44.51 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.509, allocations: 105.4 MB / 405.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.5093, allocations: 85.98 kB / 405.3 MB, free: 16.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3159/0.8253, allocations: 88.22 MB / 493.5 MB, free: 10.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.387e-06/0.8253, allocations: 0 / 493.5 MB, free: 10.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004298/0.8258, allocations: 103.9 kB / 493.6 MB, free: 10.49 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.01464/0.8404, allocations: 3.675 MB / 497.3 MB, free: 6.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.8405, allocations: 8.031 kB / 497.3 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006086/0.8466, allocations: 0.7914 MB / 498.1 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/0.8598, allocations: 3.668 MB / 0.49 GB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004365/0.8602, allocations: 271.6 kB / 0.4903 GB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001651/0.8619, allocations: 363.8 kB / 0.4906 GB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.8781, allocations: 4.844 MB / 0.4953 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.8782, allocations: 11.94 kB / 0.4954 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006857/0.8789, allocations: 152 kB / 0.4955 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002141/0.8792, allocations: 159.2 kB / 0.4957 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.8913, allocations: 4.007 MB / 0.4996 GB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2761/1.167, allocations: 15.97 MB / 0.5152 GB, free: 58.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008959/1.176, allocations: 7.678 MB / 0.5227 GB, free: 53.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003961/1.18, allocations: 1.666 MB / 0.5243 GB, free: 52.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01205/1.193, allocations: 4.624 MB / 0.5288 GB, free: 52.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/1.193, allocations: 56.23 kB / 0.5289 GB, free: 52.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=159): time 5.941e-06/1.193, allocations: 3.156 kB / 0.5289 GB, free: 52.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.01277/1.205, allocations: 5.471 MB / 0.5342 GB, free: 51.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.206, allocations: 68.28 kB / 0.5343 GB, free: 51.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003619/1.209, allocations: 1.88 MB / 0.5361 GB, free: 50.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003215/1.21, allocations: 55.08 kB / 0.5362 GB, free: 50.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009153/1.21, allocations: 1.527 MB / 0.5376 GB, free: 50.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005729/1.211, allocations: 0.5375 MB / 0.5382 GB, free: 50.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/1.211, allocations: 37.06 kB / 0.5382 GB, free: 50.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/1.211, allocations: 389 kB / 0.5386 GB, free: 49.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/1.213, allocations: 0.876 MB / 0.5394 GB, free: 49.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/1.216, allocations: 1.342 MB / 0.5407 GB, free: 49.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/1.218, allocations: 1.092 MB / 0.5418 GB, free: 49.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/1.218, allocations: 6.688 kB / 0.5418 GB, free: 49.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.006712/1.225, allocations: 3.029 MB / 0.5448 GB, free: 48.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/1.225, allocations: 9.844 kB / 0.5448 GB, free: 48.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/1.225, allocations: 15.69 kB / 0.5448 GB, free: 48.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/1.227, allocations: 0.7274 MB / 0.5455 GB, free: 48.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/1.229, allocations: 366.8 kB / 0.5459 GB, free: 48.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/1.243, allocations: 10.37 MB / 0.556 GB, free: 43.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/1.245, allocations: 90.92 kB / 0.5561 GB, free: 43.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003303/1.246, allocations: 79.69 kB / 0.5561 GB, free: 43.56 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.0004386/1.246, allocations: 220.5 kB / 0.5564 GB, free: 43.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005409/1.247, allocations: 229 kB / 0.5566 GB, free: 43.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006606/1.253, allocations: 3.042 MB / 0.5595 GB, free: 42.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/1.253, allocations: 19.45 kB / 0.5596 GB, free: 42.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/1.253, allocations: 9.281 kB / 0.5596 GB, free: 42.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.338e-05/1.253, allocations: 7.5 kB / 0.5596 GB, free: 42.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/1.267, allocations: 6.409 MB / 0.5658 GB, free: 40.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.267, allocations: 0 / 0.5658 GB, free: 40.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.269, allocations: 171.6 kB / 0.566 GB, free: 40.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003442/1.272, allocations: 0.9131 MB / 0.5669 GB, free: 40.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000309/1.273, allocations: 41.42 kB / 0.5669 GB, free: 40.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01808/1.291, allocations: 14.74 MB / 0.5813 GB, free: 28.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.914e-06/1.291, allocations: 3.281 kB / 0.5813 GB, free: 28.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008817/1.3, allocations: 4.422 MB / 0.5856 GB, free: 26.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.301, allocations: 0.5226 MB / 0.5862 GB, free: 26.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006321/1.302, allocations: 34.81 kB / 0.5862 GB, free: 26.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/1.304, allocations: 95.52 kB / 0.5863 GB, free: 26.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005506/1.304, allocations: 159.7 kB / 0.5864 GB, free: 26.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/1.304, allocations: 42.73 kB / 0.5865 GB, free: 26.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003144/1.307, allocations: 1.437 MB / 0.5879 GB, free: 25.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.119e-06/1.308, allocations: 0 / 0.5879 GB, free: 25.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004046/1.312, allocations: 0.7405 MB / 0.5886 GB, free: 25.65 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.0008078/1.312, allocations: 417.1 kB / 0.589 GB, free: 25.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00561/1.318, allocations: 2.946 MB / 0.5919 GB, free: 24.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.318, allocations: 0 / 0.5919 GB, free: 24.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004561/1.323, allocations: 2.189 MB / 0.594 GB, free: 22.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003962/1.327, allocations: 0.5935 MB / 0.5946 GB, free: 22.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/1.34, allocations: 5.533 MB / 0.6 GB, free: 20.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003429/1.344, allocations: 2.687 MB / 0.6026 GB, free: 19.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007972/1.344, allocations: 145.8 kB / 0.6028 GB, free: 19.08 MB / 394.7 MB Notification: Performance of SimCode: time 1.893e-06/1.344, allocations: 0 / 0.6028 GB, free: 19.08 MB / 394.7 MB Notification: Performance of Templates: time 0.4316/1.776, allocations: 142.7 MB / 0.7421 GB, free: 46.54 MB / 410.7 MB