Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.108e-05, allocations: 6.031 kB / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/0.0928, allocations: 50.42 MB / 342.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4187/0.5115, allocations: 120.6 MB / 463.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.5119, allocations: 95.81 kB / 463.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7965/1.308, allocations: 160.9 MB / 0.6095 GB, free: 80.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.64e-06/1.308, allocations: 0 / 0.6095 GB, free: 80.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003898/1.309, allocations: 102.2 kB / 0.6096 GB, free: 80.91 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01352/1.322, allocations: 3.924 MB / 0.6135 GB, free: 77.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.322, allocations: 8.031 kB / 0.6135 GB, free: 77.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0068/1.329, allocations: 0.9184 MB / 0.6144 GB, free: 76.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01186/1.341, allocations: 3.804 MB / 0.6181 GB, free: 72.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003319/1.342, allocations: 303.1 kB / 0.6184 GB, free: 72.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/1.343, allocations: 395.9 kB / 0.6187 GB, free: 72.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/1.356, allocations: 4.98 MB / 0.6236 GB, free: 67.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/1.357, allocations: 0 / 0.6236 GB, free: 67.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005641/1.357, allocations: 168 kB / 0.6238 GB, free: 66.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/1.357, allocations: 176 kB / 0.6239 GB, free: 66.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/1.369, allocations: 3.983 MB / 0.6278 GB, free: 62.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03486/1.404, allocations: 16.93 MB / 0.6444 GB, free: 45.53 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007374/1.411, allocations: 8.243 MB / 0.6524 GB, free: 36.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003411/1.415, allocations: 1.611 MB / 0.654 GB, free: 34.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/1.425, allocations: 4.845 MB / 0.6587 GB, free: 29.67 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/1.425, allocations: 63.77 kB / 0.6588 GB, free: 29.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 5.145e-06/1.425, allocations: 0 / 0.6588 GB, free: 29.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=154): time 0.009537/1.435, allocations: 4.515 MB / 0.6632 GB, free: 24.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/1.435, allocations: 68.72 kB / 0.6632 GB, free: 24.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/1.438, allocations: 1.969 MB / 0.6652 GB, free: 22.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002718/1.439, allocations: 53.7 kB / 0.6652 GB, free: 22.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/1.44, allocations: 1.746 MB / 0.6669 GB, free: 21.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005403/1.44, allocations: 0.5336 MB / 0.6674 GB, free: 20.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/1.441, allocations: 40 kB / 0.6675 GB, free: 20.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/1.441, allocations: 386.9 kB / 0.6679 GB, free: 20.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/1.442, allocations: 0.7539 MB / 0.6686 GB, free: 19.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/1.444, allocations: 1.418 MB / 0.67 GB, free: 17.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/1.446, allocations: 1.033 MB / 0.671 GB, free: 16.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/1.446, allocations: 4 kB / 0.671 GB, free: 16.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.004925/1.451, allocations: 2.445 MB / 0.6734 GB, free: 14.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/1.451, allocations: 16 kB / 0.6734 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/1.451, allocations: 24 kB / 0.6734 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/1.452, allocations: 121.7 kB / 0.6735 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/1.454, allocations: 0.5304 MB / 0.674 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/1.456, allocations: 1.814 MB / 0.6758 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/1.458, allocations: 111.9 kB / 0.6759 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/1.459, allocations: 96 kB / 0.676 GB, free: 11.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (259): * Single equations (assignments): 257 * 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.0004428/1.459, allocations: 240.9 kB / 0.6762 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/1.46, allocations: 245 kB / 0.6765 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/1.464, allocations: 2.277 MB / 0.6787 GB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/1.465, allocations: 12 kB / 0.6787 GB, free: 8.457 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.465, allocations: 7.953 kB / 0.6787 GB, free: 8.449 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/1.465, allocations: 11.97 kB / 0.6787 GB, free: 8.438 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/1.476, allocations: 5.547 MB / 0.6842 GB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.476, allocations: 4.031 kB / 0.6842 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/1.478, allocations: 291.6 kB / 0.6844 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/1.479, allocations: 310 kB / 0.6847 GB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/1.479, allocations: 39.98 kB / 0.6848 GB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2754/1.755, allocations: 6.291 MB / 0.6909 GB, free: 77.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.462e-06/1.755, allocations: 4.031 kB / 0.6909 GB, free: 77.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007082/1.762, allocations: 3.397 MB / 0.6942 GB, free: 76.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.764, allocations: 491.7 kB / 0.6947 GB, free: 76.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007264/1.764, allocations: 33.81 kB / 0.6947 GB, free: 76.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/1.766, allocations: 90.83 kB / 0.6948 GB, free: 76.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004118/1.767, allocations: 122.5 kB / 0.6949 GB, free: 76.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/1.767, allocations: 45.5 kB / 0.695 GB, free: 76.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003646/1.771, allocations: 1.491 MB / 0.6964 GB, free: 76.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.089e-06/1.771, allocations: 0 / 0.6964 GB, free: 76.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0039/1.775, allocations: 0.7211 MB / 0.6971 GB, free: 76.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (126): * Single equations (assignments): 123 * 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.0009874/1.776, allocations: 482.5 kB / 0.6976 GB, free: 76.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004547/1.78, allocations: 2.026 MB / 0.6996 GB, free: 75.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.56e-06/1.78, allocations: 1.094 kB / 0.6996 GB, free: 75.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002722/1.783, allocations: 1.316 MB / 0.7009 GB, free: 75.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/1.786, allocations: 0.5671 MB / 0.7014 GB, free: 75.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/1.801, allocations: 5.49 MB / 0.7068 GB, free: 74.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003458/1.804, allocations: 2.673 MB / 0.7094 GB, free: 73.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.805, allocations: 176.3 kB / 0.7096 GB, free: 73.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.815e-06/1.805, allocations: 0 / 0.7096 GB, free: 73.57 MB / 442.7 MB Notification: Performance of Templates: time 0.125/1.93, allocations: 91 MB / 0.7984 GB, free: 31.32 MB / 442.7 MB