Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.128e-05, allocations: 0 / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.297, allocations: 44.5 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2193/0.5164, allocations: 113.3 MB / 407.5 MB, free: 480 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.5167, allocations: 83.95 kB / 407.6 MB, free: 396 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7891/1.306, allocations: 158.1 MB / 0.5524 GB, free: 248 kB / 378.7 MB Notification: Performance of FrontEnd: time 3.156e-06/1.306, allocations: 0 / 0.5524 GB, free: 248 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005396/1.306, allocations: 107.8 kB / 0.5525 GB, free: 140 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.2899/1.596, allocations: 3.885 MB / 0.5563 GB, free: 47.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/1.596, allocations: 9.156 kB / 0.5563 GB, free: 47.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008313/1.605, allocations: 0.9132 MB / 0.5572 GB, free: 46.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/1.62, allocations: 3.801 MB / 0.561 GB, free: 46.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003024/1.62, allocations: 132.7 kB / 0.5611 GB, free: 46.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001603/1.622, allocations: 229.4 kB / 0.5613 GB, free: 46.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0115/1.633, allocations: 3.763 MB / 0.565 GB, free: 46.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/1.648, allocations: 4.421 MB / 0.5693 GB, free: 45.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/1.648, allocations: 3.906 kB / 0.5693 GB, free: 45.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005984/1.648, allocations: 6.938 kB / 0.5693 GB, free: 45.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/1.649, allocations: 171 kB / 0.5695 GB, free: 45.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03797/1.687, allocations: 16.13 MB / 0.5852 GB, free: 42.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/1.699, allocations: 8.186 MB / 0.5932 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005083/1.704, allocations: 1.552 MB / 0.5947 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01594/1.72, allocations: 4.705 MB / 0.5993 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/1.721, allocations: 49.5 kB / 0.5994 GB, free: 34.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 6.282e-06/1.721, allocations: 0 / 0.5994 GB, free: 34.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.01813/1.739, allocations: 4.699 MB / 0.604 GB, free: 33.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/1.739, allocations: 67.72 kB / 0.604 GB, free: 33.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004511/1.743, allocations: 1.639 MB / 0.6056 GB, free: 33.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002908/1.744, allocations: 29.45 kB / 0.6056 GB, free: 33.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001801/1.745, allocations: 1.846 MB / 0.6075 GB, free: 32.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000719/1.746, allocations: 0.5083 MB / 0.6079 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/1.746, allocations: 5.953 kB / 0.608 GB, free: 31.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002186/1.747, allocations: 392.7 kB / 0.6083 GB, free: 31.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/1.749, allocations: 0.706 MB / 0.609 GB, free: 31.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002718/1.752, allocations: 1.382 MB / 0.6104 GB, free: 30.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004243/1.756, allocations: 1.129 MB / 0.6115 GB, free: 29.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.126e-05/1.756, allocations: 7.531 kB / 0.6115 GB, free: 29.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.008656/1.765, allocations: 2.584 MB / 0.614 GB, free: 29.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/1.765, allocations: 18.94 kB / 0.614 GB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-05/1.765, allocations: 21.59 kB / 0.614 GB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004629/1.765, allocations: 120.9 kB / 0.6142 GB, free: 28.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/1.769, allocations: 0.5291 MB / 0.6147 GB, free: 28.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/1.771, allocations: 1.742 MB / 0.6164 GB, free: 27.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/1.774, allocations: 72.64 kB / 0.6164 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/1.775, allocations: 91.72 kB / 0.6165 GB, free: 27.44 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.0004712/1.775, allocations: 169.5 kB / 0.6167 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0056/1.781, allocations: 2.13 MB / 0.6188 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006622/1.781, allocations: 228.1 kB / 0.619 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005899/1.787, allocations: 2.248 MB / 0.6212 GB, free: 25.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/1.787, allocations: 12.84 kB / 0.6212 GB, free: 25.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.787, allocations: 6.656 kB / 0.6212 GB, free: 25.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/1.787, allocations: 7.641 kB / 0.6212 GB, free: 25.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/1.8, allocations: 5.022 MB / 0.6261 GB, free: 23.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/1.8, allocations: 0 / 0.6261 GB, free: 23.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/1.802, allocations: 289 kB / 0.6264 GB, free: 23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/1.804, allocations: 304.9 kB / 0.6267 GB, free: 22.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002486/1.804, allocations: 17.09 kB / 0.6267 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007448/1.811, allocations: 6.057 MB / 0.6326 GB, free: 17.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.811, allocations: 3.906 kB / 0.6326 GB, free: 17.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007252/1.819, allocations: 3.388 MB / 0.6359 GB, free: 16.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/1.82, allocations: 470.8 kB / 0.6364 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005272/1.821, allocations: 7.906 kB / 0.6364 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.823, allocations: 68.86 kB / 0.6364 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003714/1.823, allocations: 116.7 kB / 0.6366 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.823, allocations: 44.11 kB / 0.6366 GB, free: 15.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002395/1.826, allocations: 1.212 MB / 0.6378 GB, free: 15.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.826, allocations: 0 / 0.6378 GB, free: 15.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003638/1.829, allocations: 0.612 MB / 0.6384 GB, free: 15.24 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.007981/1.837, allocations: 4.667 MB / 0.6429 GB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004004/1.841, allocations: 1.963 MB / 0.6449 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.842, allocations: 0 / 0.6449 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00268/1.844, allocations: 1.3 MB / 0.6461 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/1.848, allocations: 427.5 kB / 0.6465 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/1.865, allocations: 6.323 MB / 0.6527 GB, free: 8.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003044/1.868, allocations: 2.728 MB / 0.6554 GB, free: 6.758 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003152/1.871, allocations: 0.5243 MB / 0.6559 GB, free: 6.402 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002974/1.874, allocations: 1.455 MB / 0.6573 GB, free: 5.055 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/1.875, allocations: 0 / 0.6573 GB, free: 5.055 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4715/2.346, allocations: 51.47 MB / 0.7076 GB, free: 58.43 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/2.346, allocations: 153.8 kB / 0.7077 GB, free: 58.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.291/6.637, allocations: 1.094 kB / 0.7077 GB, free: 58.24 MB / 410.7 MB