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 2.055/2.055, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.916e-05, allocations: 3.938 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2564, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2163/0.4727, allocations: 113.3 MB / 407.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.473, allocations: 87.89 kB / 407.5 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7282/1.201, allocations: 158.1 MB / 0.5523 GB, free: 496 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.765e-06/1.201, allocations: 3.938 kB / 0.5523 GB, free: 492 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003956/1.202, allocations: 99.88 kB / 0.5524 GB, free: 392 kB / 378.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.2515/1.453, allocations: 3.877 MB / 0.5562 GB, free: 46.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.453, allocations: 17.03 kB / 0.5562 GB, free: 46.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007293/1.461, allocations: 0.9195 MB / 0.5571 GB, free: 46.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/1.475, allocations: 3.791 MB / 0.5608 GB, free: 45.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/1.475, allocations: 131.2 kB / 0.561 GB, free: 45.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001493/1.477, allocations: 233.8 kB / 0.5612 GB, free: 45.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01095/1.488, allocations: 3.765 MB / 0.5649 GB, free: 45.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/1.502, allocations: 4.416 MB / 0.5692 GB, free: 45.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001629/1.503, allocations: 3.906 kB / 0.5692 GB, free: 45.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009918/1.504, allocations: 7.312 kB / 0.5692 GB, free: 45.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/1.504, allocations: 177.2 kB / 0.5694 GB, free: 45.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03608/1.54, allocations: 16.12 MB / 0.5851 GB, free: 41.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007875/1.548, allocations: 8.199 MB / 0.5931 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003289/1.551, allocations: 1.542 MB / 0.5946 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/1.562, allocations: 4.708 MB / 0.5992 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/1.563, allocations: 43.72 kB / 0.5993 GB, free: 34.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 6.16e-06/1.563, allocations: 0 / 0.5993 GB, free: 34.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.01327/1.576, allocations: 4.696 MB / 0.6038 GB, free: 33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/1.576, allocations: 74.05 kB / 0.6039 GB, free: 32.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00364/1.58, allocations: 1.643 MB / 0.6055 GB, free: 32.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002871/1.58, allocations: 25.7 kB / 0.6055 GB, free: 32.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/1.581, allocations: 1.769 MB / 0.6073 GB, free: 31.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007556/1.582, allocations: 0.5106 MB / 0.6078 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/1.582, allocations: 0 / 0.6078 GB, free: 31.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/1.582, allocations: 393.1 kB / 0.6081 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/1.584, allocations: 0.7078 MB / 0.6088 GB, free: 31.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/1.586, allocations: 1.387 MB / 0.6102 GB, free: 30.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002984/1.589, allocations: 1.124 MB / 0.6113 GB, free: 29.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.959e-05/1.589, allocations: 8.812 kB / 0.6113 GB, free: 29.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.006131/1.595, allocations: 2.444 MB / 0.6137 GB, free: 28.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/1.595, allocations: 13.91 kB / 0.6137 GB, free: 28.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/1.595, allocations: 22.06 kB / 0.6137 GB, free: 28.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/1.596, allocations: 124.6 kB / 0.6138 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002668/1.599, allocations: 0.5307 MB / 0.6143 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/1.6, allocations: 1.738 MB / 0.616 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/1.603, allocations: 79.94 kB / 0.6161 GB, free: 27.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/1.604, allocations: 92.78 kB / 0.6162 GB, free: 27.14 MB / 378.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 (260): * Single equations (assignments): 258 * 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.0004436/1.604, allocations: 166.5 kB / 0.6164 GB, free: 27.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005867/1.605, allocations: 222.6 kB / 0.6166 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005314/1.61, allocations: 2.244 MB / 0.6188 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/1.61, allocations: 18.52 kB / 0.6188 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.61, allocations: 7.375 kB / 0.6188 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.912e-05/1.61, allocations: 9.938 kB / 0.6188 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/1.623, allocations: 5.019 MB / 0.6237 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/1.623, allocations: 3.812 kB / 0.6237 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/1.624, allocations: 287.1 kB / 0.624 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/1.626, allocations: 304.1 kB / 0.6243 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002773/1.626, allocations: 15.41 kB / 0.6243 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0072/1.633, allocations: 6.057 MB / 0.6302 GB, free: 18.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.435e-06/1.633, allocations: 7.891 kB / 0.6302 GB, free: 18.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007257/1.641, allocations: 3.397 MB / 0.6335 GB, free: 16.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.642, allocations: 464.8 kB / 0.634 GB, free: 16.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007632/1.643, allocations: 13.5 kB / 0.634 GB, free: 16.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.645, allocations: 68.39 kB / 0.6341 GB, free: 16.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004215/1.646, allocations: 114.6 kB / 0.6342 GB, free: 16.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/1.646, allocations: 43.42 kB / 0.6342 GB, free: 16.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002547/1.648, allocations: 1.212 MB / 0.6354 GB, free: 15.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.009e-06/1.648, allocations: 0 / 0.6354 GB, free: 15.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003665/1.652, allocations: 0.6157 MB / 0.636 GB, free: 15.89 MB / 378.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 (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.0007729/1.653, allocations: 380.8 kB / 0.6363 GB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003758/1.657, allocations: 1.958 MB / 0.6383 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.05e-06/1.657, allocations: 1.312 kB / 0.6383 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002643/1.659, allocations: 1.302 MB / 0.6395 GB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/1.663, allocations: 435.6 kB / 0.6399 GB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/1.676, allocations: 5.376 MB / 0.6452 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003529/1.68, allocations: 2.666 MB / 0.6478 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009455/1.681, allocations: 163 kB / 0.648 GB, free: 10.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.132e-06/1.681, allocations: 0 / 0.648 GB, free: 10.83 MB / 378.7 MB Notification: Performance of Templates: time 0.3832/2.064, allocations: 89.25 MB / 0.7351 GB, free: 74.09 MB / 410.7 MB