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.877/1.877, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.163e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5208/0.6221, allocations: 113.9 MB / 413.9 MB, free: 8.613 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/0.6226, allocations: 83.83 kB / 414 MB, free: 8.602 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007/1.63, allocations: 160.2 MB / 0.5607 GB, free: 58.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.63, allocations: 0 / 0.5607 GB, free: 58.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004213/1.63, allocations: 104.5 kB / 0.5608 GB, free: 58.93 MB / 410.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.01615/1.646, allocations: 3.893 MB / 0.5646 GB, free: 57.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/1.646, allocations: 14.16 kB / 0.5646 GB, free: 57.49 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002022/1.648, allocations: 0.5541 MB / 0.5652 GB, free: 57.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008652/1.657, allocations: 0.9135 MB / 0.5661 GB, free: 57.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/1.671, allocations: 3.798 MB / 0.5698 GB, free: 56.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/1.672, allocations: 303.6 kB / 0.5701 GB, free: 56.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001669/1.673, allocations: 400.6 kB / 0.5705 GB, free: 56.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/1.689, allocations: 4.996 MB / 0.5753 GB, free: 56.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/1.689, allocations: 9.172 kB / 0.5753 GB, free: 56.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008071/1.69, allocations: 164.2 kB / 0.5755 GB, free: 56.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/1.69, allocations: 172.8 kB / 0.5757 GB, free: 56.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/1.703, allocations: 4.009 MB / 0.5796 GB, free: 55.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04179/1.745, allocations: 16.89 MB / 0.5961 GB, free: 49.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009737/1.754, allocations: 8.264 MB / 0.6041 GB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004245/1.759, allocations: 1.612 MB / 0.6057 GB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01318/1.772, allocations: 4.81 MB / 0.6104 GB, free: 38.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.336e-05/1.772, allocations: 54 kB / 0.6105 GB, free: 38.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 7.053e-06/1.772, allocations: 0 / 0.6105 GB, free: 38.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=152): time 0.01156/1.784, allocations: 4.479 MB / 0.6148 GB, free: 36.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/1.784, allocations: 70.23 kB / 0.6149 GB, free: 36.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004573/1.788, allocations: 1.967 MB / 0.6168 GB, free: 35.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003661/1.789, allocations: 52.8 kB / 0.6169 GB, free: 35.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001435/1.79, allocations: 1.843 MB / 0.6187 GB, free: 34.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006901/1.791, allocations: 0.5204 MB / 0.6192 GB, free: 33.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/1.791, allocations: 45.41 kB / 0.6192 GB, free: 33.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/1.791, allocations: 387.8 kB / 0.6196 GB, free: 33.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/1.793, allocations: 0.744 MB / 0.6203 GB, free: 32.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/1.795, allocations: 1.425 MB / 0.6217 GB, free: 31.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002483/1.798, allocations: 1.004 MB / 0.6227 GB, free: 31.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.467e-05/1.798, allocations: 11.59 kB / 0.6227 GB, free: 31.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006668/1.805, allocations: 2.634 MB / 0.6253 GB, free: 30.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/1.805, allocations: 14.41 kB / 0.6253 GB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.76e-05/1.805, allocations: 24.84 kB / 0.6253 GB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004601/1.805, allocations: 132.7 kB / 0.6254 GB, free: 30.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003959/1.809, allocations: 0.5282 MB / 0.626 GB, free: 30.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/1.811, allocations: 1.819 MB / 0.6277 GB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/1.814, allocations: 111.7 kB / 0.6278 GB, free: 28.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000442/1.815, allocations: 95.28 kB / 0.6279 GB, free: 28.47 MB / 410.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.0005183/1.815, allocations: 239.9 kB / 0.6282 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007087/1.816, allocations: 237.1 kB / 0.6284 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005795/1.822, allocations: 2.265 MB / 0.6306 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/1.822, allocations: 15.16 kB / 0.6306 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.822, allocations: 3.906 kB / 0.6306 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/1.822, allocations: 7.266 kB / 0.6306 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/1.836, allocations: 5.524 MB / 0.636 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/1.836, allocations: 0 / 0.636 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/1.839, allocations: 283.5 kB / 0.6363 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/1.84, allocations: 307.9 kB / 0.6366 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/1.84, allocations: 38.83 kB / 0.6366 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007691/1.848, allocations: 6.305 MB / 0.6428 GB, free: 18.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/1.848, allocations: 7.312 kB / 0.6428 GB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007073/1.855, allocations: 3.385 MB / 0.6461 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.857, allocations: 494.1 kB / 0.6466 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005128/1.857, allocations: 43.94 kB / 0.6466 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.859, allocations: 82.84 kB / 0.6467 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003468/1.86, allocations: 121.5 kB / 0.6468 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.86, allocations: 40 kB / 0.6468 GB, free: 14.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003167/1.863, allocations: 1.494 MB / 0.6483 GB, free: 12.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.863, allocations: 0 / 0.6483 GB, free: 12.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003661/1.867, allocations: 0.7185 MB / 0.649 GB, free: 12.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 (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.007978/1.875, allocations: 4.723 MB / 0.6536 GB, free: 7.793 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004392/1.879, allocations: 2.059 MB / 0.6556 GB, free: 5.832 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.879, allocations: 0 / 0.6556 GB, free: 5.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002984/1.882, allocations: 1.34 MB / 0.6569 GB, free: 4.555 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004148/1.886, allocations: 0.5534 MB / 0.6575 GB, free: 4.105 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/1.905, allocations: 6.506 MB / 0.6638 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004655/1.91, allocations: 2.722 MB / 0.6665 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003663/1.914, allocations: 0.5501 MB / 0.667 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003664/1.917, allocations: 1.463 MB / 0.6685 GB, free: 10.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/1.917, allocations: 4 kB / 0.6685 GB, free: 10.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4906/2.408, allocations: 61.12 MB / 0.7281 GB, free: 86.38 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/2.408, allocations: 203.8 kB / 0.7283 GB, free: 86.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.684/7.092, allocations: 4 kB / 0.7283 GB, free: 86.13 MB / 426.7 MB