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.964/1.964, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.43e-05, allocations: 4 kB / 255.4 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.09192, allocations: 44.51 MB / 299.9 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.5595, allocations: 114 MB / 413.9 MB, free: 8.789 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.5599, allocations: 88.02 kB / 414 MB, free: 8.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9174/1.477, allocations: 160.2 MB / 0.5607 GB, free: 58.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/1.477, allocations: 0 / 0.5607 GB, free: 58.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004145/1.478, allocations: 106.1 kB / 0.5608 GB, free: 58.38 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.01836/1.496, allocations: 3.891 MB / 0.5646 GB, free: 56.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/1.496, allocations: 10.66 kB / 0.5646 GB, free: 56.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002749/1.499, allocations: 0.5498 MB / 0.5651 GB, free: 56.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/1.511, allocations: 0.9096 MB / 0.566 GB, free: 56.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02003/1.531, allocations: 3.809 MB / 0.5697 GB, free: 56.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005574/1.531, allocations: 297.7 kB / 0.57 GB, free: 56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002091/1.533, allocations: 401.4 kB / 0.5704 GB, free: 56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01933/1.553, allocations: 5.002 MB / 0.5753 GB, free: 55.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002015/1.553, allocations: 7.547 kB / 0.5753 GB, free: 55.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001376/1.554, allocations: 177.1 kB / 0.5755 GB, free: 55.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002227/1.555, allocations: 166.3 kB / 0.5756 GB, free: 55.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/1.568, allocations: 4.009 MB / 0.5795 GB, free: 55.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04277/1.611, allocations: 16.88 MB / 0.596 GB, free: 49.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009774/1.621, allocations: 8.268 MB / 0.6041 GB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004255/1.625, allocations: 1.607 MB / 0.6057 GB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01271/1.638, allocations: 4.816 MB / 0.6104 GB, free: 38.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/1.638, allocations: 52.78 kB / 0.6104 GB, free: 38.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 4.168e-06/1.638, allocations: 0 / 0.6104 GB, free: 38.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=152): time 0.01173/1.65, allocations: 4.49 MB / 0.6148 GB, free: 36.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/1.65, allocations: 66.81 kB / 0.6149 GB, free: 36.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004574/1.654, allocations: 1.961 MB / 0.6168 GB, free: 35.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000351/1.655, allocations: 52.7 kB / 0.6168 GB, free: 35.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/1.656, allocations: 1.743 MB / 0.6186 GB, free: 33.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006937/1.657, allocations: 0.5251 MB / 0.6191 GB, free: 33.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/1.657, allocations: 42.19 kB / 0.6191 GB, free: 33.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/1.657, allocations: 389.6 kB / 0.6195 GB, free: 33.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/1.659, allocations: 0.7416 MB / 0.6202 GB, free: 32.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/1.662, allocations: 1.43 MB / 0.6216 GB, free: 31.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002666/1.664, allocations: 1.01 MB / 0.6226 GB, free: 31.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/1.664, allocations: 6.531 kB / 0.6226 GB, free: 31.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006523/1.671, allocations: 2.484 MB / 0.625 GB, free: 30.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/1.671, allocations: 15.38 kB / 0.625 GB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.411e-05/1.671, allocations: 22.53 kB / 0.625 GB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004915/1.671, allocations: 127 kB / 0.6252 GB, free: 30.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004046/1.676, allocations: 0.5357 MB / 0.6257 GB, free: 30.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/1.678, allocations: 1.806 MB / 0.6275 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/1.681, allocations: 106.5 kB / 0.6276 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004868/1.681, allocations: 107.3 kB / 0.6277 GB, free: 28.36 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.000505/1.682, allocations: 237.8 kB / 0.6279 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007566/1.683, allocations: 239.6 kB / 0.6281 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006185/1.689, allocations: 2.267 MB / 0.6303 GB, free: 26.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/1.689, allocations: 14.12 kB / 0.6303 GB, free: 26.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.689, allocations: 3.656 kB / 0.6303 GB, free: 26.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.284e-05/1.689, allocations: 7.453 kB / 0.6304 GB, free: 26.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/1.703, allocations: 5.522 MB / 0.6357 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/1.703, allocations: 0 / 0.6357 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002591/1.706, allocations: 283.7 kB / 0.636 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/1.707, allocations: 314.8 kB / 0.6363 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002927/1.708, allocations: 38 kB / 0.6364 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007873/1.716, allocations: 6.295 MB / 0.6425 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.716, allocations: 0 / 0.6425 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007241/1.723, allocations: 3.393 MB / 0.6458 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/1.725, allocations: 498 kB / 0.6463 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006894/1.726, allocations: 36 kB / 0.6463 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/1.728, allocations: 84.59 kB / 0.6464 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004354/1.728, allocations: 119.7 kB / 0.6465 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.728, allocations: 47.7 kB / 0.6466 GB, free: 14.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003339/1.732, allocations: 1.488 MB / 0.648 GB, free: 13.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.21e-07/1.732, allocations: 0 / 0.648 GB, free: 13.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003738/1.736, allocations: 0.7148 MB / 0.6487 GB, free: 12.39 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.008281/1.744, allocations: 4.739 MB / 0.6533 GB, free: 7.914 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004684/1.749, allocations: 2.06 MB / 0.6554 GB, free: 5.953 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.749, allocations: 0 / 0.6554 GB, free: 5.953 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002982/1.752, allocations: 1.346 MB / 0.6567 GB, free: 4.672 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/1.756, allocations: 0.5469 MB / 0.6572 GB, free: 4.227 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/1.775, allocations: 6.403 MB / 0.6635 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004417/1.78, allocations: 2.663 MB / 0.6661 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003874/1.784, allocations: 1.485 MB / 0.6675 GB, free: 11.17 MB / 426.7 MB Notification: Performance of SimCode: time 1.213e-06/1.784, allocations: 0 / 0.6675 GB, free: 11.17 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.162/5.945, allocations: 111.2 MB / 0.7761 GB, free: 53.7 MB / 426.7 MB