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.835/1.835, allocations: 194.9 MB / 208.5 MB, free: 3.234 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.616e-05/2.635e-05, allocations: 3.5 kB / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07886/0.07891, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3788/0.4578, allocations: 105.4 MB / 405.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.458, allocations: 85.45 kB / 405.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3497/0.8077, allocations: 88.22 MB / 493.6 MB, free: 10.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.017e-06/0.8077, allocations: 0 / 493.6 MB, free: 10.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003669/0.8081, allocations: 95.88 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.02095/0.8291, allocations: 3.682 MB / 497.3 MB, free: 6.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.754e-05/0.8292, allocations: 8.031 kB / 497.3 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.8405, allocations: 0.7953 MB / 498.1 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02242/0.863, allocations: 3.664 MB / 0.49 GB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007496/0.8638, allocations: 275.6 kB / 0.4903 GB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002417/0.8663, allocations: 359.8 kB / 0.4906 GB, free: 1.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02559/0.8919, allocations: 4.798 MB / 0.4953 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002032/0.8922, allocations: 11.94 kB / 0.4953 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001121/0.8933, allocations: 152 kB / 0.4955 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000382/0.8937, allocations: 155.2 kB / 0.4956 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.9092, allocations: 3.966 MB / 0.4995 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2671/1.176, allocations: 15.96 MB / 0.5151 GB, free: 58.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009122/1.186, allocations: 7.66 MB / 0.5226 GB, free: 53.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004011/1.19, allocations: 1.659 MB / 0.5242 GB, free: 53.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/1.201, allocations: 4.636 MB / 0.5287 GB, free: 52.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/1.201, allocations: 52.72 kB / 0.5288 GB, free: 52.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=159): time 5.881e-06/1.201, allocations: 0 / 0.5288 GB, free: 52.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.01245/1.213, allocations: 5.467 MB / 0.5341 GB, free: 51.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.214, allocations: 70.62 kB / 0.5342 GB, free: 51.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003968/1.218, allocations: 1.876 MB / 0.536 GB, free: 51.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003345/1.218, allocations: 50.64 kB / 0.5361 GB, free: 51.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/1.219, allocations: 1.534 MB / 0.5376 GB, free: 50.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000667/1.22, allocations: 0.54 MB / 0.5381 GB, free: 50.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/1.22, allocations: 40.5 kB / 0.5381 GB, free: 50.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/1.22, allocations: 383.8 kB / 0.5385 GB, free: 49.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/1.222, allocations: 0.8697 MB / 0.5393 GB, free: 49.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/1.224, allocations: 1.328 MB / 0.5406 GB, free: 49.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/1.226, allocations: 1.103 MB / 0.5417 GB, free: 49.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/1.226, allocations: 3.906 kB / 0.5417 GB, free: 49.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.006263/1.232, allocations: 2.992 MB / 0.5446 GB, free: 49.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/1.233, allocations: 10.69 kB / 0.5446 GB, free: 49.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/1.233, allocations: 15.44 kB / 0.5447 GB, free: 49.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/1.235, allocations: 0.725 MB / 0.5454 GB, free: 48.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/1.237, allocations: 366.9 kB / 0.5457 GB, free: 48.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/1.249, allocations: 10.38 MB / 0.5558 GB, free: 43.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/1.252, allocations: 96.58 kB / 0.5559 GB, free: 43.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003066/1.252, allocations: 76.94 kB / 0.556 GB, free: 43.61 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.0004388/1.253, allocations: 215.8 kB / 0.5562 GB, free: 43.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004306/1.253, allocations: 221.2 kB / 0.5564 GB, free: 43.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005989/1.259, allocations: 3.051 MB / 0.5594 GB, free: 43.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/1.259, allocations: 16.84 kB / 0.5594 GB, free: 43.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/1.259, allocations: 11.31 kB / 0.5594 GB, free: 43.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/1.259, allocations: 7.547 kB / 0.5594 GB, free: 43.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.272, allocations: 6.407 MB / 0.5657 GB, free: 40.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/1.272, allocations: 0 / 0.5657 GB, free: 40.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.273, allocations: 176.5 kB / 0.5659 GB, free: 40.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002913/1.276, allocations: 0.9019 MB / 0.5667 GB, free: 40.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002425/1.276, allocations: 41.67 kB / 0.5668 GB, free: 40.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/1.293, allocations: 14.74 MB / 0.5812 GB, free: 28.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.294, allocations: 0 / 0.5812 GB, free: 28.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008498/1.302, allocations: 4.424 MB / 0.5855 GB, free: 26.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/1.304, allocations: 0.5253 MB / 0.586 GB, free: 26.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006763/1.304, allocations: 39.84 kB / 0.5861 GB, free: 26.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/1.306, allocations: 88.66 kB / 0.5861 GB, free: 26.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004551/1.307, allocations: 159 kB / 0.5863 GB, free: 26.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.307, allocations: 50.05 kB / 0.5863 GB, free: 26.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00269/1.309, allocations: 1.433 MB / 0.5877 GB, free: 25.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.8e-07/1.309, allocations: 0 / 0.5877 GB, free: 25.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003774/1.313, allocations: 0.7368 MB / 0.5885 GB, free: 25.73 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.0007984/1.314, allocations: 420.5 kB / 0.5889 GB, free: 25.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005245/1.319, allocations: 2.879 MB / 0.5917 GB, free: 24.17 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.316e-06/1.319, allocations: 0 / 0.5917 GB, free: 24.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004044/1.323, allocations: 2.139 MB / 0.5938 GB, free: 22.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003544/1.327, allocations: 0.5947 MB / 0.5943 GB, free: 22.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/1.34, allocations: 5.496 MB / 0.5997 GB, free: 20.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00311/1.343, allocations: 2.692 MB / 0.6023 GB, free: 19.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007874/1.344, allocations: 146.8 kB / 0.6025 GB, free: 19.25 MB / 394.7 MB Notification: Performance of SimCode: time 2.013e-06/1.344, allocations: 0 / 0.6025 GB, free: 19.25 MB / 394.7 MB Notification: Performance of Templates: time 0.4165/1.761, allocations: 142.4 MB / 0.7415 GB, free: 46.18 MB / 410.7 MB