Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadModel(Modelica): time 1.772/1.772, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.963e-05, allocations: 4 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0782/0.07825, allocations: 44.5 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3796/0.4579, allocations: 114 MB / 413.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.4582, allocations: 82.7 kB / 413.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7827/1.241, allocations: 160.2 MB / 0.5606 GB, free: 50.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.277e-06/1.241, allocations: 0 / 0.5606 GB, free: 50.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003427/1.241, allocations: 97.5 kB / 0.5607 GB, free: 50.98 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01286/1.254, allocations: 3.89 MB / 0.5645 GB, free: 49.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.254, allocations: 7.688 kB / 0.5645 GB, free: 49.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006704/1.261, allocations: 0.919 MB / 0.5654 GB, free: 49.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/1.273, allocations: 3.796 MB / 0.5691 GB, free: 48.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/1.274, allocations: 307 kB / 0.5694 GB, free: 48.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001413/1.275, allocations: 399.5 kB / 0.5698 GB, free: 48.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/1.289, allocations: 4.995 MB / 0.5747 GB, free: 47.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/1.289, allocations: 18.11 kB / 0.5747 GB, free: 47.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001138/1.291, allocations: 164.5 kB / 0.5748 GB, free: 47.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/1.291, allocations: 169.7 kB / 0.575 GB, free: 47.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/1.302, allocations: 4.01 MB / 0.5789 GB, free: 46.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03598/1.338, allocations: 16.89 MB / 0.5954 GB, free: 37.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007548/1.345, allocations: 8.265 MB / 0.6035 GB, free: 29.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003665/1.349, allocations: 1.613 MB / 0.6051 GB, free: 29.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/1.36, allocations: 4.819 MB / 0.6098 GB, free: 26.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/1.36, allocations: 43.69 kB / 0.6098 GB, free: 26.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=149): time 5.544e-06/1.36, allocations: 3.969 kB / 0.6098 GB, free: 26.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=152): time 0.009642/1.37, allocations: 4.479 MB / 0.6142 GB, free: 24.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/1.37, allocations: 67.59 kB / 0.6142 GB, free: 23.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004006/1.374, allocations: 1.964 MB / 0.6162 GB, free: 23.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002833/1.374, allocations: 52.55 kB / 0.6162 GB, free: 23.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/1.375, allocations: 1.745 MB / 0.6179 GB, free: 21.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005021/1.376, allocations: 0.5213 MB / 0.6184 GB, free: 21.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/1.376, allocations: 41.94 kB / 0.6185 GB, free: 21.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/1.376, allocations: 392.6 kB / 0.6188 GB, free: 20.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/1.378, allocations: 0.7462 MB / 0.6196 GB, free: 20.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/1.38, allocations: 1.427 MB / 0.621 GB, free: 18.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/1.382, allocations: 1.011 MB / 0.622 GB, free: 17.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/1.382, allocations: 8 kB / 0.622 GB, free: 17.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005082/1.387, allocations: 2.481 MB / 0.6244 GB, free: 15.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/1.387, allocations: 12.78 kB / 0.6244 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/1.387, allocations: 24 kB / 0.6244 GB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/1.387, allocations: 135.6 kB / 0.6245 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/1.39, allocations: 0.5307 MB / 0.6251 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/1.392, allocations: 1.813 MB / 0.6268 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/1.394, allocations: 108.6 kB / 0.6269 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003459/1.395, allocations: 95.09 kB / 0.627 GB, free: 12.92 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 256 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004411/1.395, allocations: 236.2 kB / 0.6273 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004698/1.396, allocations: 249 kB / 0.6275 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004895/1.4, allocations: 2.252 MB / 0.6297 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/1.401, allocations: 16 kB / 0.6297 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.401, allocations: 4 kB / 0.6297 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/1.401, allocations: 7.5 kB / 0.6297 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/1.412, allocations: 5.527 MB / 0.6351 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.412, allocations: 7.953 kB / 0.6351 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/1.414, allocations: 279.3 kB / 0.6354 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/1.415, allocations: 313.9 kB / 0.6357 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/1.415, allocations: 39.28 kB / 0.6357 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007106/1.422, allocations: 6.309 MB / 0.6419 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.295e-06/1.422, allocations: 6.188 kB / 0.6419 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007389/1.43, allocations: 3.388 MB / 0.6452 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/1.431, allocations: 491.2 kB / 0.6457 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004768/1.432, allocations: 39.8 kB / 0.6457 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/1.433, allocations: 90.3 kB / 0.6458 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003375/1.434, allocations: 115.2 kB / 0.6459 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.434, allocations: 40 kB / 0.6459 GB, free: 11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003539/1.438, allocations: 1.488 MB / 0.6474 GB, free: 9.637 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.115e-06/1.438, allocations: 4 kB / 0.6474 GB, free: 9.633 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003879/1.441, allocations: 0.7147 MB / 0.6481 GB, free: 8.922 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 122 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009954/1.443, allocations: 466.1 kB / 0.6485 GB, free: 8.535 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004676/1.447, allocations: 2.055 MB / 0.6506 GB, free: 6.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.053e-06/1.447, allocations: 1.938 kB / 0.6506 GB, free: 6.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003005/1.45, allocations: 1.345 MB / 0.6519 GB, free: 5.297 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/1.454, allocations: 0.5553 MB / 0.6524 GB, free: 4.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2523/1.706, allocations: 5.477 MB / 0.6578 GB, free: 80.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004759/1.711, allocations: 2.662 MB / 0.6604 GB, free: 79.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.712, allocations: 174.7 kB / 0.6605 GB, free: 79.46 MB / 410.7 MB Notification: Performance of SimCode: time 2.188e-06/1.712, allocations: 2.109 kB / 0.6605 GB, free: 79.46 MB / 410.7 MB Notification: Performance of Templates: time 0.1247/1.837, allocations: 90.9 MB / 0.7493 GB, free: 44.27 MB / 410.7 MB