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.898/1.898, allocations: 195 MB / 203.2 MB, free: 6.762 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.875e-05, allocations: 3 kB / 249.6 MB, free: 5.551 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0772/0.07724, allocations: 44.5 MB / 294.1 MB, free: 11.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.4379, allocations: 104.7 MB / 398.8 MB, free: 1.453 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4382, allocations: 89.12 kB / 398.9 MB, free: 1.438 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3165/0.7547, allocations: 87.1 MB / 486 MB, free: 3.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.071e-06/0.7548, allocations: 4 kB / 486 MB, free: 3.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003887/0.7552, allocations: 87.94 kB / 486.1 MB, free: 3.523 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.01422/0.7694, allocations: 3.682 MB / 489.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.7695, allocations: 16.02 kB / 489.8 MB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006181/0.7757, allocations: 0.7914 MB / 490.6 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/0.789, allocations: 3.661 MB / 494.3 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/0.7894, allocations: 120.3 kB / 494.4 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001484/0.7909, allocations: 219.9 kB / 494.6 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01165/0.8025, allocations: 3.79 MB / 498.4 MB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01507/0.8177, allocations: 4.322 MB / 0.4909 GB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001796/0.8179, allocations: 3.938 kB / 0.4909 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001095/0.819, allocations: 7.938 kB / 0.4909 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002526/0.8193, allocations: 163.2 kB / 0.4911 GB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2642/1.084, allocations: 15.27 MB / 0.506 GB, free: 70.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008587/1.092, allocations: 7.596 MB / 0.5134 GB, free: 65.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003024/1.095, allocations: 1.583 MB / 0.515 GB, free: 65.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01007/1.105, allocations: 4.504 MB / 0.5194 GB, free: 64.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/1.105, allocations: 51.09 kB / 0.5194 GB, free: 64.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=159): time 5.477e-06/1.105, allocations: 0 / 0.5194 GB, free: 64.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.01368/1.119, allocations: 5.569 MB / 0.5248 GB, free: 63.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/1.119, allocations: 72.56 kB / 0.5249 GB, free: 63.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003109/1.122, allocations: 1.561 MB / 0.5264 GB, free: 63.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003241/1.123, allocations: 29.53 kB / 0.5265 GB, free: 63.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009365/1.124, allocations: 1.549 MB / 0.528 GB, free: 62.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005419/1.124, allocations: 0.5205 MB / 0.5285 GB, free: 62.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/1.124, allocations: 2.312 kB / 0.5285 GB, free: 62.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/1.125, allocations: 385 kB / 0.5289 GB, free: 61.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/1.126, allocations: 0.836 MB / 0.5297 GB, free: 61.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/1.128, allocations: 1.298 MB / 0.5309 GB, free: 61.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002753/1.131, allocations: 1.178 MB / 0.5321 GB, free: 61.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/1.131, allocations: 7.344 kB / 0.5321 GB, free: 61.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.007142/1.138, allocations: 2.957 MB / 0.535 GB, free: 61.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/1.138, allocations: 10.59 kB / 0.535 GB, free: 61.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/1.138, allocations: 14.31 kB / 0.535 GB, free: 61.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002283/1.14, allocations: 0.7046 MB / 0.5357 GB, free: 61.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/1.142, allocations: 369.6 kB / 0.5361 GB, free: 61.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/1.154, allocations: 10.01 MB / 0.5458 GB, free: 54.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/1.157, allocations: 60.19 kB / 0.5459 GB, free: 54.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004142/1.157, allocations: 70.12 kB / 0.546 GB, free: 54.72 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.0004948/1.158, allocations: 152.7 kB / 0.5461 GB, free: 54.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/1.158, allocations: 213.8 kB / 0.5463 GB, free: 54.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006752/1.165, allocations: 2.995 MB / 0.5492 GB, free: 53.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/1.165, allocations: 14.59 kB / 0.5492 GB, free: 53.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/1.165, allocations: 14.97 kB / 0.5493 GB, free: 53.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.244e-05/1.165, allocations: 10.36 kB / 0.5493 GB, free: 53.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/1.178, allocations: 5.897 MB / 0.555 GB, free: 50.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.178, allocations: 3.062 kB / 0.555 GB, free: 50.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/1.18, allocations: 181.7 kB / 0.5552 GB, free: 50.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/1.182, allocations: 0.8703 MB / 0.556 GB, free: 50.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002523/1.183, allocations: 24.75 kB / 0.5561 GB, free: 50.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01725/1.2, allocations: 14.23 MB / 0.57 GB, free: 39.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.428e-06/1.2, allocations: 3.562 kB / 0.57 GB, free: 39.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008888/1.209, allocations: 4.389 MB / 0.5743 GB, free: 37.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/1.21, allocations: 0.4884 MB / 0.5747 GB, free: 37.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000468/1.211, allocations: 14.11 kB / 0.5747 GB, free: 37.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/1.212, allocations: 60.78 kB / 0.5748 GB, free: 37.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000529/1.213, allocations: 169.4 kB / 0.575 GB, free: 37.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/1.213, allocations: 46.17 kB / 0.575 GB, free: 37.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00239/1.216, allocations: 1.172 MB / 0.5762 GB, free: 36.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.246e-06/1.216, allocations: 0 / 0.5762 GB, free: 36.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003909/1.219, allocations: 0.649 MB / 0.5768 GB, free: 36.6 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.0007775/1.22, allocations: 337 kB / 0.5771 GB, free: 36.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004994/1.225, allocations: 2.815 MB / 0.5799 GB, free: 35.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.225, allocations: 0 / 0.5799 GB, free: 35.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003808/1.229, allocations: 2.092 MB / 0.5819 GB, free: 33.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/1.232, allocations: 464.1 kB / 0.5823 GB, free: 33.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.245, allocations: 5.396 MB / 0.5876 GB, free: 31.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00376/1.248, allocations: 2.698 MB / 0.5902 GB, free: 30.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007998/1.249, allocations: 130.4 kB / 0.5904 GB, free: 30.26 MB / 394.7 MB Notification: Performance of SimCode: time 1.785e-06/1.249, allocations: 0 / 0.5904 GB, free: 30.26 MB / 394.7 MB Notification: Performance of Templates: time 0.3992/1.648, allocations: 140.3 MB / 0.7274 GB, free: 57.88 MB / 410.7 MB