Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.831/1.831, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.021e-05, allocations: 4 kB / 255.4 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07965/0.0797, allocations: 44.51 MB / 299.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3724/0.4522, allocations: 104.6 MB / 404.5 MB, free: 16.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4525, allocations: 90 kB / 404.6 MB, free: 16.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.367/0.8195, allocations: 80.5 MB / 485.1 MB, free: 3.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.576e-06/0.8196, allocations: 3.938 kB / 485.1 MB, free: 3.062 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003311/0.8199, allocations: 79.88 kB / 485.2 MB, free: 2.984 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01246/0.8324, allocations: 3.203 MB / 488.4 MB, free: 15.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.8325, allocations: 8.031 kB / 488.4 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006025/0.8385, allocations: 0.7412 MB / 489.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/0.8511, allocations: 3.301 MB / 492.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000435/0.8516, allocations: 250.4 kB / 492.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/0.8531, allocations: 323.8 kB / 493 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/0.8679, allocations: 4.094 MB / 497.1 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.868, allocations: 0 / 497.1 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009419/0.869, allocations: 140 kB / 497.2 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002096/0.8692, allocations: 150.4 kB / 497.4 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.88, allocations: 3.297 MB / 0.4889 GB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0354/0.9154, allocations: 13.91 MB / 0.5025 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2441/1.16, allocations: 6.576 MB / 0.5089 GB, free: 65.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003279/1.163, allocations: 1.35 MB / 0.5102 GB, free: 65.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/1.173, allocations: 3.803 MB / 0.514 GB, free: 65.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/1.174, allocations: 53.59 kB / 0.514 GB, free: 65.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 5.309e-06/1.174, allocations: 0 / 0.514 GB, free: 65.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=147): time 0.01072/1.184, allocations: 4.334 MB / 0.5182 GB, free: 64.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/1.184, allocations: 67.25 kB / 0.5183 GB, free: 64.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/1.188, allocations: 1.514 MB / 0.5198 GB, free: 64.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002785/1.188, allocations: 54.25 kB / 0.5198 GB, free: 64.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001/1.189, allocations: 1.361 MB / 0.5212 GB, free: 63.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006451/1.19, allocations: 0.5046 MB / 0.5217 GB, free: 63.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/1.19, allocations: 36.31 kB / 0.5217 GB, free: 63.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/1.19, allocations: 378.7 kB / 0.5221 GB, free: 63.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/1.192, allocations: 0.668 MB / 0.5227 GB, free: 63.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/1.194, allocations: 1.123 MB / 0.5238 GB, free: 62.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/1.196, allocations: 0.8891 MB / 0.5247 GB, free: 62.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/1.196, allocations: 4.125 kB / 0.5247 GB, free: 62.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.00561/1.202, allocations: 2.36 MB / 0.527 GB, free: 62.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/1.202, allocations: 14.06 kB / 0.527 GB, free: 62.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/1.202, allocations: 15.69 kB / 0.527 GB, free: 62.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/1.203, allocations: 380.8 kB / 0.5274 GB, free: 62.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/1.205, allocations: 380.3 kB / 0.5277 GB, free: 62.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008917/1.214, allocations: 7.844 MB / 0.5354 GB, free: 57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/1.217, allocations: 81.22 kB / 0.5355 GB, free: 57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004083/1.217, allocations: 72.53 kB / 0.5355 GB, free: 57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * 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%) 7,(3,100.0%) 9,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005316/1.218, allocations: 208.9 kB / 0.5357 GB, free: 56.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005749/1.218, allocations: 190.9 kB / 0.5359 GB, free: 56.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005647/1.224, allocations: 2.347 MB / 0.5382 GB, free: 56.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/1.224, allocations: 17.59 kB / 0.5382 GB, free: 56.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/1.224, allocations: 10.58 kB / 0.5382 GB, free: 56.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.318e-05/1.224, allocations: 6.422 kB / 0.5382 GB, free: 56.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/1.237, allocations: 5.188 MB / 0.5433 GB, free: 55.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/1.237, allocations: 2.312 kB / 0.5433 GB, free: 55.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/1.239, allocations: 191.6 kB / 0.5435 GB, free: 55.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/1.241, allocations: 0.5466 MB / 0.544 GB, free: 55.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/1.241, allocations: 45.44 kB / 0.5441 GB, free: 55.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/1.255, allocations: 12.22 MB / 0.556 GB, free: 47.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.896e-06/1.255, allocations: 3.125 kB / 0.556 GB, free: 47.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007207/1.262, allocations: 3.39 MB / 0.5593 GB, free: 45.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.264, allocations: 439.1 kB / 0.5597 GB, free: 45.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006178/1.264, allocations: 33.84 kB / 0.5598 GB, free: 45.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/1.266, allocations: 71.92 kB / 0.5598 GB, free: 45.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000433/1.267, allocations: 123.5 kB / 0.56 GB, free: 45.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.267, allocations: 40.84 kB / 0.56 GB, free: 45.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002475/1.269, allocations: 1.157 MB / 0.5611 GB, free: 44.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.096e-06/1.269, allocations: 0 / 0.5611 GB, free: 44.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003997/1.273, allocations: 0.6251 MB / 0.5617 GB, free: 44.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,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,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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%) 7,(1,100.0%) 13,(3,100.0%) 9,(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.0008612/1.274, allocations: 416.1 kB / 0.5621 GB, free: 44.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004831/1.279, allocations: 2.298 MB / 0.5644 GB, free: 43.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/1.279, allocations: 0 / 0.5644 GB, free: 43.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003546/1.283, allocations: 1.717 MB / 0.5661 GB, free: 42.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/1.286, allocations: 0.5022 MB / 0.5665 GB, free: 42.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/1.299, allocations: 4.786 MB / 0.5712 GB, free: 40.19 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00343/1.302, allocations: 2.314 MB / 0.5735 GB, free: 39.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/1.303, allocations: 133.5 kB / 0.5736 GB, free: 39.11 MB / 394.7 MB Notification: Performance of SimCode: time 2.785e-06/1.303, allocations: 0 / 0.5736 GB, free: 39.11 MB / 394.7 MB Notification: Performance of Templates: time 0.3979/1.701, allocations: 121.3 MB / 0.692 GB, free: 85.16 MB / 410.7 MB