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.775/1.775, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.786e-05, allocations: 4 kB / 255.4 MB, free: 3.203 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08051/0.08056, allocations: 44.5 MB / 299.9 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3732/0.4538, allocations: 114 MB / 413.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4541, allocations: 85.52 kB / 413.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8065/1.261, allocations: 160.2 MB / 0.5606 GB, free: 50.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.91e-06/1.261, allocations: 0 / 0.5606 GB, free: 50.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003804/1.261, allocations: 94.16 kB / 0.5607 GB, free: 50.74 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.01329/1.274, allocations: 3.892 MB / 0.5645 GB, free: 49.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.274, allocations: 7 kB / 0.5645 GB, free: 49.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007009/1.281, allocations: 0.9186 MB / 0.5654 GB, free: 48.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/1.293, allocations: 3.806 MB / 0.5692 GB, free: 48.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/1.294, allocations: 297 kB / 0.5694 GB, free: 48.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/1.295, allocations: 396.8 kB / 0.5698 GB, free: 48.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/1.31, allocations: 4.952 MB / 0.5746 GB, free: 47.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001705/1.31, allocations: 7.75 kB / 0.5747 GB, free: 47.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001213/1.311, allocations: 169.2 kB / 0.5748 GB, free: 47.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/1.311, allocations: 166.9 kB / 0.575 GB, free: 47.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/1.323, allocations: 3.963 MB / 0.5788 GB, free: 46.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03536/1.358, allocations: 16.89 MB / 0.5953 GB, free: 37.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007144/1.365, allocations: 8.246 MB / 0.6034 GB, free: 29.67 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/1.369, allocations: 1.611 MB / 0.605 GB, free: 29.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/1.379, allocations: 4.815 MB / 0.6097 GB, free: 26.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/1.379, allocations: 51.19 kB / 0.6097 GB, free: 26.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=149): time 5.019e-06/1.379, allocations: 0 / 0.6097 GB, free: 26.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=152): time 0.009978/1.389, allocations: 4.477 MB / 0.6141 GB, free: 23.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/1.389, allocations: 66.72 kB / 0.6142 GB, free: 23.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003901/1.393, allocations: 1.964 MB / 0.6161 GB, free: 22.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002819/1.394, allocations: 53.27 kB / 0.6161 GB, free: 22.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/1.395, allocations: 1.749 MB / 0.6178 GB, free: 21.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005642/1.395, allocations: 0.5189 MB / 0.6183 GB, free: 21.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/1.395, allocations: 43.75 kB / 0.6184 GB, free: 21.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/1.396, allocations: 393 kB / 0.6188 GB, free: 20.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/1.397, allocations: 0.7427 MB / 0.6195 GB, free: 20.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/1.399, allocations: 1.412 MB / 0.6209 GB, free: 18.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/1.401, allocations: 1.009 MB / 0.6218 GB, free: 17.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/1.401, allocations: 8 kB / 0.6219 GB, free: 17.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004822/1.406, allocations: 2.42 MB / 0.6242 GB, free: 15.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/1.406, allocations: 16 kB / 0.6242 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/1.406, allocations: 23.94 kB / 0.6243 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/1.406, allocations: 136.7 kB / 0.6244 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/1.409, allocations: 0.5255 MB / 0.6249 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/1.411, allocations: 1.812 MB / 0.6267 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/1.413, allocations: 114.8 kB / 0.6268 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003909/1.414, allocations: 92 kB / 0.6269 GB, free: 13.05 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.0004371/1.414, allocations: 239.3 kB / 0.6271 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005168/1.415, allocations: 245 kB / 0.6273 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/1.419, allocations: 2.251 MB / 0.6295 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/1.419, allocations: 16 kB / 0.6295 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.419, allocations: 6.062 kB / 0.6295 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/1.419, allocations: 7.312 kB / 0.6296 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/1.431, allocations: 5.52 MB / 0.6349 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/1.431, allocations: 7.953 kB / 0.635 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/1.433, allocations: 283.8 kB / 0.6352 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/1.434, allocations: 310 kB / 0.6355 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/1.434, allocations: 43.69 kB / 0.6356 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007242/1.441, allocations: 6.306 MB / 0.6417 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.062e-06/1.441, allocations: 4.031 kB / 0.6417 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007434/1.449, allocations: 3.388 MB / 0.645 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/1.451, allocations: 496 kB / 0.6455 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007082/1.451, allocations: 32 kB / 0.6455 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/1.453, allocations: 94.09 kB / 0.6456 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005274/1.454, allocations: 113.3 kB / 0.6457 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/1.454, allocations: 43.56 kB / 0.6458 GB, free: 11.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003833/1.458, allocations: 1.485 MB / 0.6472 GB, free: 9.785 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.23e-06/1.458, allocations: 0 / 0.6472 GB, free: 9.785 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004141/1.462, allocations: 0.7224 MB / 0.6479 GB, free: 9.066 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.001028/1.463, allocations: 469.1 kB / 0.6484 GB, free: 8.688 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004812/1.468, allocations: 1.997 MB / 0.6503 GB, free: 6.789 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.724e-06/1.468, allocations: 0 / 0.6503 GB, free: 6.789 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003144/1.471, allocations: 1.32 MB / 0.6516 GB, free: 5.543 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/1.475, allocations: 0.5583 MB / 0.6522 GB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.49, allocations: 5.455 MB / 0.6575 GB, free: 172 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2412/1.732, allocations: 2.706 MB / 0.6601 GB, free: 79.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00098/1.733, allocations: 174.6 kB / 0.6603 GB, free: 79.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.811e-06/1.733, allocations: 0 / 0.6603 GB, free: 79.91 MB / 410.7 MB Notification: Performance of Templates: time 0.1193/1.852, allocations: 90.55 MB / 0.7487 GB, free: 45.05 MB / 410.7 MB