Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.84/1.84, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/3.018e-05, allocations: 4 kB / 255.5 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08826/0.08831, allocations: 44.5 MB / 300 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4505/0.5388, allocations: 114 MB / 413.9 MB, free: 8.785 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.5392, allocations: 83.58 kB / 414 MB, free: 8.773 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8969/1.436, allocations: 160.2 MB / 0.5607 GB, free: 58.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.436, allocations: 0 / 0.5607 GB, free: 58.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003925/1.437, allocations: 99.56 kB / 0.5608 GB, free: 58.59 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.01549/1.452, allocations: 3.893 MB / 0.5646 GB, free: 57.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.452, allocations: 10.75 kB / 0.5646 GB, free: 57.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001929/1.454, allocations: 0.5532 MB / 0.5652 GB, free: 57.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007614/1.462, allocations: 0.9144 MB / 0.5661 GB, free: 56.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01353/1.475, allocations: 3.797 MB / 0.5698 GB, free: 56.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/1.476, allocations: 307 kB / 0.5701 GB, free: 56.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001538/1.477, allocations: 396.4 kB / 0.5704 GB, free: 56.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/1.492, allocations: 4.95 MB / 0.5753 GB, free: 55.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/1.492, allocations: 7.062 kB / 0.5753 GB, free: 55.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007512/1.493, allocations: 173.1 kB / 0.5755 GB, free: 55.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001982/1.493, allocations: 172.5 kB / 0.5756 GB, free: 55.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/1.506, allocations: 3.962 MB / 0.5795 GB, free: 55.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04114/1.547, allocations: 16.88 MB / 0.596 GB, free: 49.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009563/1.557, allocations: 8.24 MB / 0.604 GB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004229/1.561, allocations: 1.611 MB / 0.6056 GB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/1.573, allocations: 4.819 MB / 0.6103 GB, free: 38.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/1.573, allocations: 50.47 kB / 0.6103 GB, free: 38.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 4.9e-06/1.573, allocations: 0 / 0.6103 GB, free: 38.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=152): time 0.01098/1.584, allocations: 4.488 MB / 0.6147 GB, free: 36.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/1.584, allocations: 67.62 kB / 0.6148 GB, free: 36.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004193/1.588, allocations: 1.964 MB / 0.6167 GB, free: 35.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003424/1.589, allocations: 51.8 kB / 0.6168 GB, free: 35.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/1.59, allocations: 1.74 MB / 0.6185 GB, free: 34.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006081/1.59, allocations: 0.5248 MB / 0.619 GB, free: 33.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/1.591, allocations: 39.44 kB / 0.619 GB, free: 33.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/1.591, allocations: 392.6 kB / 0.6194 GB, free: 33.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/1.593, allocations: 0.7483 MB / 0.6201 GB, free: 32.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/1.595, allocations: 1.414 MB / 0.6215 GB, free: 31.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/1.597, allocations: 1.011 MB / 0.6225 GB, free: 31.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/1.597, allocations: 3.938 kB / 0.6225 GB, free: 31.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006674/1.604, allocations: 2.428 MB / 0.6249 GB, free: 30.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/1.604, allocations: 13.94 kB / 0.6249 GB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.46e-05/1.604, allocations: 22.38 kB / 0.6249 GB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/1.604, allocations: 122.8 kB / 0.625 GB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004957/1.609, allocations: 0.5282 MB / 0.6255 GB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/1.612, allocations: 1.809 MB / 0.6273 GB, free: 28.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004401/1.617, allocations: 125.8 kB / 0.6274 GB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004472/1.617, allocations: 94.28 kB / 0.6275 GB, free: 28.6 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.0006798/1.618, allocations: 237 kB / 0.6277 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007769/1.619, allocations: 238.1 kB / 0.628 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/1.634, allocations: 2.256 MB / 0.6302 GB, free: 27.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.9e-05/1.634, allocations: 24.33 kB / 0.6302 GB, free: 27.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.634, allocations: 3.719 kB / 0.6302 GB, free: 27.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-05/1.635, allocations: 7.406 kB / 0.6302 GB, free: 27.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03515/1.67, allocations: 5.515 MB / 0.6356 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/1.67, allocations: 7.688 kB / 0.6356 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00755/1.677, allocations: 277.8 kB / 0.6358 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002329/1.68, allocations: 316.4 kB / 0.6362 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004284/1.68, allocations: 38.89 kB / 0.6362 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/1.693, allocations: 6.292 MB / 0.6423 GB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/1.693, allocations: 4.031 kB / 0.6423 GB, free: 18.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/1.704, allocations: 3.385 MB / 0.6456 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00241/1.706, allocations: 496.2 kB / 0.6461 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009291/1.707, allocations: 36 kB / 0.6462 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003537/1.711, allocations: 90.09 kB / 0.6462 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005836/1.711, allocations: 122.3 kB / 0.6464 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002142/1.712, allocations: 40 kB / 0.6464 GB, free: 14.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005139/1.717, allocations: 1.491 MB / 0.6478 GB, free: 13.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.523e-06/1.717, allocations: 0 / 0.6478 GB, free: 13.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005638/1.722, allocations: 0.7183 MB / 0.6485 GB, free: 12.7 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.0127/1.735, allocations: 4.73 MB / 0.6532 GB, free: 8.234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006742/1.742, allocations: 2.013 MB / 0.6551 GB, free: 6.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.742, allocations: 4 kB / 0.6551 GB, free: 6.324 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003397/1.745, allocations: 1.302 MB / 0.6564 GB, free: 5.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/1.749, allocations: 0.5534 MB / 0.6569 GB, free: 4.645 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/1.766, allocations: 6.397 MB / 0.6632 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003456/1.769, allocations: 2.663 MB / 0.6658 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003358/1.773, allocations: 1.482 MB / 0.6672 GB, free: 11.61 MB / 426.7 MB Notification: Performance of SimCode: time 4.047e-06/1.773, allocations: 0 / 0.6672 GB, free: 11.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.964/5.737, allocations: 110.9 MB / 0.7755 GB, free: 54.33 MB / 426.7 MB