Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.963/2.963, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.661e-05, allocations: 4.531 kB / 249.8 MB, free: 5.281 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5975/0.7108, allocations: 113.3 MB / 407.6 MB, free: 8.516 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006441/0.7116, allocations: 94.11 kB / 407.6 MB, free: 8.465 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.141/1.853, allocations: 158.9 MB / 0.5533 GB, free: 62.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.516e-06/1.853, allocations: 4 kB / 0.5533 GB, free: 62.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005045/1.853, allocations: 100.9 kB / 0.5534 GB, free: 62.06 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.01984/1.873, allocations: 3.892 MB / 0.5572 GB, free: 60.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/1.873, allocations: 9.188 kB / 0.5572 GB, free: 60.51 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002412/1.876, allocations: 404.4 kB / 0.5576 GB, free: 60.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009924/1.886, allocations: 0.9123 MB / 0.5585 GB, free: 60.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01738/1.903, allocations: 3.803 MB / 0.5622 GB, free: 59.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003863/1.903, allocations: 170.5 kB / 0.5623 GB, free: 59.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/1.905, allocations: 240.3 kB / 0.5626 GB, free: 59.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01501/1.92, allocations: 3.768 MB / 0.5662 GB, free: 57.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01817/1.939, allocations: 4.42 MB / 0.5706 GB, free: 55.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001876/1.939, allocations: 0 / 0.5706 GB, free: 55.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009293/1.94, allocations: 3.469 kB / 0.5706 GB, free: 55.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002704/1.94, allocations: 175.1 kB / 0.5707 GB, free: 55.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05302/1.993, allocations: 16.14 MB / 0.5865 GB, free: 46.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01249/2.006, allocations: 8.182 MB / 0.5945 GB, free: 38.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005238/2.011, allocations: 1.548 MB / 0.596 GB, free: 36.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01776/2.029, allocations: 4.703 MB / 0.6006 GB, free: 32.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/2.029, allocations: 51.88 kB / 0.6006 GB, free: 32.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 6.552e-06/2.029, allocations: 0 / 0.6006 GB, free: 32.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=154): time 0.01951/2.048, allocations: 4.695 MB / 0.6052 GB, free: 28.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/2.049, allocations: 72.66 kB / 0.6053 GB, free: 28.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005119/2.054, allocations: 1.646 MB / 0.6069 GB, free: 26.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004435/2.054, allocations: 25.7 kB / 0.6069 GB, free: 26.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001904/2.056, allocations: 1.851 MB / 0.6087 GB, free: 24.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008927/2.057, allocations: 0.5043 MB / 0.6092 GB, free: 24.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/2.057, allocations: 4 kB / 0.6092 GB, free: 24.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/2.058, allocations: 382 kB / 0.6096 GB, free: 24.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/2.06, allocations: 0.707 MB / 0.6103 GB, free: 23.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002875/2.063, allocations: 1.381 MB / 0.6116 GB, free: 21.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004485/2.067, allocations: 1.13 MB / 0.6127 GB, free: 20.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.831e-05/2.067, allocations: 8 kB / 0.6127 GB, free: 20.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.009761/2.077, allocations: 2.576 MB / 0.6153 GB, free: 17.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/2.077, allocations: 12 kB / 0.6153 GB, free: 17.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.611e-05/2.077, allocations: 28 kB / 0.6153 GB, free: 17.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005766/2.078, allocations: 125.4 kB / 0.6154 GB, free: 17.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005443/2.083, allocations: 0.5382 MB / 0.6159 GB, free: 17.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/2.086, allocations: 1.731 MB / 0.6176 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/2.09, allocations: 75.84 kB / 0.6177 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006033/2.091, allocations: 99.98 kB / 0.6178 GB, free: 15.17 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 (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.0006319/2.091, allocations: 169.5 kB / 0.618 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008667/2.092, allocations: 221.2 kB / 0.6182 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008451/2.101, allocations: 2.235 MB / 0.6204 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/2.101, allocations: 16 kB / 0.6204 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/2.101, allocations: 4 kB / 0.6204 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.683e-05/2.101, allocations: 15.91 kB / 0.6204 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/2.119, allocations: 5.029 MB / 0.6253 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/2.119, allocations: 4 kB / 0.6253 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003445/2.122, allocations: 291.8 kB / 0.6256 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/2.124, allocations: 302.3 kB / 0.6259 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00034/2.125, allocations: 15.98 kB / 0.6259 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/2.135, allocations: 6.061 MB / 0.6318 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/2.135, allocations: 8.125 kB / 0.6318 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/2.147, allocations: 3.394 MB / 0.6351 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002324/2.15, allocations: 466.2 kB / 0.6356 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009342/2.151, allocations: 8 kB / 0.6356 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003172/2.154, allocations: 67.92 kB / 0.6356 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007272/2.155, allocations: 117.1 kB / 0.6358 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/2.155, allocations: 43.98 kB / 0.6358 GB, free: 12.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004463/2.159, allocations: 1.215 MB / 0.637 GB, free: 10.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.232e-06/2.159, allocations: 0 / 0.637 GB, free: 10.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005451/2.165, allocations: 0.6093 MB / 0.6376 GB, free: 10.25 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 (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.01416/2.179, allocations: 4.675 MB / 0.6421 GB, free: 5.488 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006884/2.186, allocations: 1.961 MB / 0.6441 GB, free: 3.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/2.186, allocations: 0 / 0.6441 GB, free: 3.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004716/2.191, allocations: 1.298 MB / 0.6453 GB, free: 2.172 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005306/2.196, allocations: 423.5 kB / 0.6457 GB, free: 1.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4232/2.619, allocations: 6.312 MB / 0.6519 GB, free: 86.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007545/2.627, allocations: 2.726 MB / 0.6546 GB, free: 85.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004757/2.632, allocations: 0.5215 MB / 0.6551 GB, free: 85.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00482/2.637, allocations: 1.457 MB / 0.6565 GB, free: 85.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/2.637, allocations: 0 / 0.6565 GB, free: 85.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2754/2.912, allocations: 52.65 MB / 0.7079 GB, free: 80.87 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003167/2.913, allocations: 160.6 kB / 0.7081 GB, free: 80.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.745/8.658, allocations: 0 / 0.7081 GB, free: 80.68 MB / 410.7 MB