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.332/2.332, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.249e-05, allocations: 4.094 kB / 249.8 MB, free: 5.219 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5878/0.7044, allocations: 113.3 MB / 407.6 MB, free: 8.746 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003813/0.7048, allocations: 90.38 kB / 407.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.046/1.751, allocations: 158.1 MB / 0.5525 GB, free: 62.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.896e-06/1.751, allocations: 0 / 0.5525 GB, free: 62.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004715/1.751, allocations: 105.4 kB / 0.5526 GB, free: 62.07 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.01893/1.77, allocations: 3.899 MB / 0.5564 GB, free: 60.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/1.77, allocations: 12.72 kB / 0.5564 GB, free: 60.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009155/1.779, allocations: 0.9133 MB / 0.5573 GB, free: 60.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01643/1.796, allocations: 3.789 MB / 0.561 GB, free: 59.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003258/1.796, allocations: 131.2 kB / 0.5611 GB, free: 59.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/1.798, allocations: 240.5 kB / 0.5614 GB, free: 59.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01397/1.812, allocations: 3.77 MB / 0.565 GB, free: 58.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01792/1.83, allocations: 4.424 MB / 0.5694 GB, free: 56.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/1.83, allocations: 4 kB / 0.5694 GB, free: 56.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/1.831, allocations: 5.906 kB / 0.5694 GB, free: 56.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/1.832, allocations: 170.5 kB / 0.5695 GB, free: 56.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04747/1.879, allocations: 16.14 MB / 0.5853 GB, free: 47.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/1.89, allocations: 8.178 MB / 0.5933 GB, free: 39.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004494/1.894, allocations: 1.541 MB / 0.5948 GB, free: 37.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01385/1.908, allocations: 4.713 MB / 0.5994 GB, free: 33.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/1.908, allocations: 43.88 kB / 0.5994 GB, free: 33.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 5.681e-06/1.908, allocations: 0 / 0.5994 GB, free: 33.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=154): time 0.01598/1.924, allocations: 4.698 MB / 0.604 GB, free: 29.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/1.925, allocations: 72.66 kB / 0.6041 GB, free: 29.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004215/1.929, allocations: 1.646 MB / 0.6057 GB, free: 27.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003859/1.929, allocations: 25.7 kB / 0.6057 GB, free: 27.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001542/1.931, allocations: 1.845 MB / 0.6075 GB, free: 26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007531/1.932, allocations: 0.5068 MB / 0.608 GB, free: 25.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/1.932, allocations: 0 / 0.608 GB, free: 25.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/1.932, allocations: 392.1 kB / 0.6084 GB, free: 25.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/1.934, allocations: 0.7077 MB / 0.6091 GB, free: 24.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002348/1.936, allocations: 1.377 MB / 0.6104 GB, free: 22.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003704/1.94, allocations: 1.133 MB / 0.6115 GB, free: 21.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-05/1.94, allocations: 4 kB / 0.6115 GB, free: 21.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.008171/1.948, allocations: 2.576 MB / 0.6141 GB, free: 19.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/1.948, allocations: 16 kB / 0.6141 GB, free: 19.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-05/1.948, allocations: 23.98 kB / 0.6141 GB, free: 19.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005296/1.949, allocations: 121.7 kB / 0.6142 GB, free: 19.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00459/1.954, allocations: 0.5346 MB / 0.6147 GB, free: 18.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/1.956, allocations: 1.743 MB / 0.6164 GB, free: 16.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/1.959, allocations: 75.88 kB / 0.6165 GB, free: 16.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005155/1.96, allocations: 95.98 kB / 0.6166 GB, free: 16.55 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.0005409/1.96, allocations: 169.5 kB / 0.6168 GB, free: 16.38 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006602/1.967, allocations: 2.135 MB / 0.6188 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008757/1.968, allocations: 217.3 kB / 0.619 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007133/1.975, allocations: 2.249 MB / 0.6212 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/1.975, allocations: 19.95 kB / 0.6213 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.975, allocations: 4 kB / 0.6213 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/1.975, allocations: 11.97 kB / 0.6213 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/1.99, allocations: 5.015 MB / 0.6262 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.99, allocations: 4 kB / 0.6262 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002994/1.993, allocations: 287.8 kB / 0.6265 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/1.995, allocations: 304.1 kB / 0.6267 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002982/1.995, allocations: 15.98 kB / 0.6268 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009213/2.004, allocations: 6.062 MB / 0.6327 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/2.004, allocations: 7.984 kB / 0.6327 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/2.016, allocations: 3.391 MB / 0.636 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002227/2.018, allocations: 470.2 kB / 0.6364 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/2.019, allocations: 12 kB / 0.6365 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002929/2.022, allocations: 67.92 kB / 0.6365 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006742/2.023, allocations: 117.1 kB / 0.6366 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/2.023, allocations: 40 kB / 0.6367 GB, free: 11.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004011/2.027, allocations: 1.215 MB / 0.6379 GB, free: 10.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.81e-07/2.027, allocations: 4 kB / 0.6379 GB, free: 10.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004782/2.032, allocations: 0.6055 MB / 0.6385 GB, free: 9.438 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.01253/2.044, allocations: 4.675 MB / 0.643 GB, free: 4.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006209/2.051, allocations: 1.961 MB / 0.6449 GB, free: 2.691 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/2.051, allocations: 0 / 0.6449 GB, free: 2.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004216/2.055, allocations: 1.299 MB / 0.6462 GB, free: 1.367 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004797/2.06, allocations: 422.4 kB / 0.6466 GB, free: 0.957 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3515/2.411, allocations: 6.312 MB / 0.6528 GB, free: 86.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006148/2.417, allocations: 2.723 MB / 0.6554 GB, free: 85.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00454/2.422, allocations: 0.5228 MB / 0.6559 GB, free: 85.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004318/2.426, allocations: 1.458 MB / 0.6574 GB, free: 85.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/2.426, allocations: 3.812 kB / 0.6574 GB, free: 85.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1965/2.623, allocations: 50.85 MB / 0.707 GB, free: 81.87 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002535/2.623, allocations: 159.2 kB / 0.7072 GB, free: 81.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.338/7.962, allocations: 0 / 0.7072 GB, free: 81.68 MB / 410.7 MB