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.994/1.994, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.491e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3316, allocations: 44.49 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.5342, allocations: 113.3 MB / 407.5 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.5346, allocations: 83.95 kB / 407.6 MB, free: 452 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8464/1.381, allocations: 158.1 MB / 0.5524 GB, free: 304 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.494e-06/1.381, allocations: 0 / 0.5524 GB, free: 304 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004663/1.382, allocations: 107.9 kB / 0.5525 GB, free: 196 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.2948/1.676, allocations: 3.878 MB / 0.5563 GB, free: 46.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/1.676, allocations: 10.12 kB / 0.5563 GB, free: 46.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008359/1.685, allocations: 0.922 MB / 0.5572 GB, free: 46.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01616/1.701, allocations: 3.793 MB / 0.5609 GB, free: 46.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004211/1.701, allocations: 136.9 kB / 0.5611 GB, free: 46.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001855/1.703, allocations: 229.3 kB / 0.5613 GB, free: 46.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01278/1.716, allocations: 3.769 MB / 0.565 GB, free: 46.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01657/1.733, allocations: 4.413 MB / 0.5693 GB, free: 45.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002332/1.733, allocations: 4.75 kB / 0.5693 GB, free: 45.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001351/1.734, allocations: 6.406 kB / 0.5693 GB, free: 45.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002319/1.735, allocations: 171.9 kB / 0.5694 GB, free: 45.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04293/1.778, allocations: 16.13 MB / 0.5852 GB, free: 41.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009717/1.787, allocations: 8.189 MB / 0.5932 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00408/1.791, allocations: 1.55 MB / 0.5947 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01367/1.805, allocations: 4.7 MB / 0.5993 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/1.805, allocations: 58.62 kB / 0.5993 GB, free: 34.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 4.178e-06/1.805, allocations: 0 / 0.5993 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.01502/1.82, allocations: 4.699 MB / 0.6039 GB, free: 33.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/1.82, allocations: 67.5 kB / 0.604 GB, free: 33.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004038/1.824, allocations: 1.635 MB / 0.6056 GB, free: 32.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000364/1.825, allocations: 29.33 kB / 0.6056 GB, free: 32.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/1.826, allocations: 1.773 MB / 0.6074 GB, free: 31.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007217/1.827, allocations: 0.5065 MB / 0.6078 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/1.827, allocations: 2.906 kB / 0.6079 GB, free: 31.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/1.827, allocations: 401 kB / 0.6082 GB, free: 31.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/1.829, allocations: 0.7051 MB / 0.6089 GB, free: 31.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/1.832, allocations: 1.383 MB / 0.6103 GB, free: 30.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/1.835, allocations: 1.131 MB / 0.6114 GB, free: 29.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.945e-05/1.835, allocations: 7.469 kB / 0.6114 GB, free: 29.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.006947/1.842, allocations: 2.442 MB / 0.6138 GB, free: 28.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/1.842, allocations: 15 kB / 0.6138 GB, free: 28.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.213e-05/1.842, allocations: 22.06 kB / 0.6138 GB, free: 28.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004627/1.843, allocations: 123.8 kB / 0.6139 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003948/1.847, allocations: 0.5317 MB / 0.6144 GB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/1.848, allocations: 1.734 MB / 0.6161 GB, free: 27.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/1.852, allocations: 74.36 kB / 0.6162 GB, free: 27.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000514/1.852, allocations: 94.92 kB / 0.6163 GB, free: 27.22 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.0005079/1.853, allocations: 164.9 kB / 0.6165 GB, free: 27.1 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006148/1.859, allocations: 2.136 MB / 0.6185 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009973/1.86, allocations: 222.5 kB / 0.6188 GB, free: 26.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006595/1.867, allocations: 2.248 MB / 0.6209 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/1.867, allocations: 15.12 kB / 0.621 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/1.867, allocations: 3.812 kB / 0.621 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.165e-05/1.867, allocations: 7.219 kB / 0.621 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/1.881, allocations: 5.029 MB / 0.6259 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.881, allocations: 0.9375 kB / 0.6259 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002559/1.883, allocations: 299.4 kB / 0.6262 GB, free: 22.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/1.885, allocations: 298.3 kB / 0.6265 GB, free: 22.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003106/1.885, allocations: 18.39 kB / 0.6265 GB, free: 22.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007735/1.893, allocations: 6.047 MB / 0.6324 GB, free: 17.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/1.893, allocations: 3.938 kB / 0.6324 GB, free: 17.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008211/1.901, allocations: 3.399 MB / 0.6357 GB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/1.903, allocations: 465.1 kB / 0.6361 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009641/1.904, allocations: 15 kB / 0.6362 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/1.907, allocations: 67.75 kB / 0.6362 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005961/1.907, allocations: 122.1 kB / 0.6363 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/1.908, allocations: 43.59 kB / 0.6364 GB, free: 15.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003042/1.911, allocations: 1.213 MB / 0.6376 GB, free: 15.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.911, allocations: 0 / 0.6376 GB, free: 15.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004398/1.915, allocations: 0.6128 MB / 0.6382 GB, free: 15.02 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.009286/1.924, allocations: 4.657 MB / 0.6427 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00467/1.929, allocations: 1.961 MB / 0.6446 GB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.929, allocations: 0 / 0.6446 GB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003203/1.932, allocations: 1.3 MB / 0.6459 GB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004049/1.936, allocations: 430.1 kB / 0.6463 GB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02043/1.957, allocations: 6.236 MB / 0.6524 GB, free: 8.238 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004434/1.961, allocations: 2.656 MB / 0.655 GB, free: 6.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003598/1.965, allocations: 1.478 MB / 0.6564 GB, free: 5.445 MB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/1.965, allocations: 0 / 0.6564 GB, free: 5.445 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.217/6.182, allocations: 108.5 MB / 0.7624 GB, free: 68.5 MB / 410.7 MB