Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.737/1.737, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.844e-05, allocations: 0 / 255.5 MB, free: 2.586 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08997/0.09003, allocations: 44.5 MB / 300 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/0.5346, allocations: 113.1 MB / 413.1 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.5349, allocations: 83.23 kB / 413.2 MB, free: 8.785 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7707/1.306, allocations: 133.5 MB / 0.5338 GB, free: 58.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.306, allocations: 2.531 kB / 0.5339 GB, free: 58.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005477/1.306, allocations: 131.7 kB / 0.534 GB, free: 58.32 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01929/1.326, allocations: 4.765 MB / 0.5386 GB, free: 56.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.326, allocations: 7.875 kB / 0.5386 GB, free: 56.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002274/1.328, allocations: 0.6745 MB / 0.5393 GB, free: 56.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006869/1.335, allocations: 0.9705 MB / 0.5402 GB, free: 56.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01454/1.349, allocations: 4.483 MB / 0.5446 GB, free: 55.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/1.35, allocations: 368.3 kB / 0.545 GB, free: 55.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/1.351, allocations: 486.4 kB / 0.5454 GB, free: 55.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01723/1.369, allocations: 6.556 MB / 0.5518 GB, free: 55.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/1.369, allocations: 9.531 kB / 0.5518 GB, free: 55.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007894/1.37, allocations: 203 kB / 0.552 GB, free: 55.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002818/1.37, allocations: 239.3 kB / 0.5523 GB, free: 55.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/1.385, allocations: 5.347 MB / 0.5575 GB, free: 55.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0489/1.434, allocations: 21 MB / 0.578 GB, free: 51.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/1.446, allocations: 9.79 MB / 0.5876 GB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005526/1.452, allocations: 2.409 MB / 0.5899 GB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01576/1.468, allocations: 6.511 MB / 0.5963 GB, free: 38.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/1.468, allocations: 59.19 kB / 0.5963 GB, free: 38.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=217): time 5.34e-06/1.468, allocations: 0 / 0.5963 GB, free: 38.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=224): time 0.01781/1.486, allocations: 7.25 MB / 0.6034 GB, free: 35.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/1.486, allocations: 75.91 kB / 0.6035 GB, free: 35.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005429/1.491, allocations: 2.611 MB / 0.606 GB, free: 34.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00046/1.492, allocations: 68.39 kB / 0.6061 GB, free: 34.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/1.493, allocations: 2.165 MB / 0.6082 GB, free: 32.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008461/1.494, allocations: 0.7539 MB / 0.6089 GB, free: 31.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/1.494, allocations: 51.19 kB / 0.609 GB, free: 31.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/1.495, allocations: 411 kB / 0.6094 GB, free: 31.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002655/1.497, allocations: 1.205 MB / 0.6106 GB, free: 30.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002907/1.5, allocations: 1.759 MB / 0.6123 GB, free: 29.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003042/1.503, allocations: 1.511 MB / 0.6138 GB, free: 29.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/1.503, allocations: 6.656 kB / 0.6138 GB, free: 29.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.009107/1.512, allocations: 3.986 MB / 0.6177 GB, free: 27.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/1.512, allocations: 21.77 kB / 0.6177 GB, free: 27.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/1.513, allocations: 14.22 kB / 0.6177 GB, free: 27.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00253/1.515, allocations: 0.6531 MB / 0.6183 GB, free: 27.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004116/1.519, allocations: 0.5541 MB / 0.6189 GB, free: 27.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/1.532, allocations: 9.97 MB / 0.6286 GB, free: 19.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003689/1.536, allocations: 113.8 kB / 0.6287 GB, free: 19.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/1.536, allocations: 99.5 kB / 0.6288 GB, free: 19.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005937/1.537, allocations: 253.4 kB / 0.629 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006472/1.538, allocations: 320.2 kB / 0.6294 GB, free: 19.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008838/1.546, allocations: 3.78 MB / 0.633 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/1.547, allocations: 19.75 kB / 0.6331 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/1.547, allocations: 10.66 kB / 0.6331 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.907e-05/1.547, allocations: 17.67 kB / 0.6331 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/1.566, allocations: 8.394 MB / 0.6413 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/1.566, allocations: 0 / 0.6413 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003006/1.569, allocations: 342.9 kB / 0.6416 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0036/1.573, allocations: 0.8213 MB / 0.6424 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004127/1.573, allocations: 63.84 kB / 0.6425 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02563/1.599, allocations: 14.36 MB / 0.6565 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.599, allocations: 7.469 kB / 0.6565 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/1.612, allocations: 5.651 MB / 0.662 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/1.615, allocations: 0.6949 MB / 0.6627 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007145/1.615, allocations: 51.7 kB / 0.6628 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/1.618, allocations: 124.9 kB / 0.6629 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006121/1.619, allocations: 189 kB / 0.6631 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/1.619, allocations: 59.66 kB / 0.6631 GB, free: 8.762 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004751/1.624, allocations: 2.005 MB / 0.6651 GB, free: 6.953 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.92e-07/1.624, allocations: 7.938 kB / 0.6651 GB, free: 6.945 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005096/1.629, allocations: 0.9745 MB / 0.666 GB, free: 5.977 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 148 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3043/1.933, allocations: 7.138 MB / 0.673 GB, free: 66.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009572/1.943, allocations: 3.65 MB / 0.6766 GB, free: 65.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.098e-06/1.943, allocations: 1.719 kB / 0.6766 GB, free: 65.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006433/1.949, allocations: 2.504 MB / 0.679 GB, free: 64.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00703/1.956, allocations: 0.8611 MB / 0.6799 GB, free: 64.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02884/1.985, allocations: 9.124 MB / 0.6888 GB, free: 63.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005585/1.991, allocations: 3.516 MB / 0.6922 GB, free: 62.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004437/1.995, allocations: 0.742 MB / 0.6929 GB, free: 62.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003916/1.999, allocations: 1.813 MB / 0.6947 GB, free: 62.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.412e-06/1.999, allocations: 0 / 0.6947 GB, free: 62.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1892/2.189, allocations: 86.14 MB / 0.7788 GB, free: 39 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/2.189, allocations: 199.2 kB / 0.779 GB, free: 38.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.283/7.472, allocations: 0 / 0.779 GB, free: 38.77 MB / 426.7 MB