Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.746/2.746, allocations: 195 MB / 202.9 MB, free: 6.637 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/2.998e-05, allocations: 3.469 kB / 249.8 MB, free: 5.281 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5882/0.6926, allocations: 112.5 MB / 406.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004196/0.6931, allocations: 86.02 kB / 406.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.064/1.758, allocations: 132.5 MB / 0.5267 GB, free: 63.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.916e-06/1.758, allocations: 0 / 0.5267 GB, free: 63.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006995/1.758, allocations: 124.2 kB / 0.5268 GB, free: 63.8 MB / 394.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.02573/1.784, allocations: 4.773 MB / 0.5315 GB, free: 62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/1.784, allocations: 13.97 kB / 0.5315 GB, free: 62 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003319/1.787, allocations: 493.3 kB / 0.532 GB, free: 61.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/1.798, allocations: 0.9735 MB / 0.5329 GB, free: 61.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02026/1.818, allocations: 4.473 MB / 0.5373 GB, free: 60.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004944/1.819, allocations: 207.8 kB / 0.5375 GB, free: 60.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002352/1.821, allocations: 290.5 kB / 0.5378 GB, free: 60.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01915/1.84, allocations: 5.116 MB / 0.5428 GB, free: 60.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02458/1.865, allocations: 5.904 MB / 0.5485 GB, free: 60.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002736/1.865, allocations: 3.969 kB / 0.5485 GB, free: 60.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001826/1.867, allocations: 3.938 kB / 0.5485 GB, free: 60.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003949/1.868, allocations: 235.2 kB / 0.5487 GB, free: 60.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06453/1.932, allocations: 20.03 MB / 0.5683 GB, free: 51.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/1.948, allocations: 9.693 MB / 0.5778 GB, free: 43.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006999/1.955, allocations: 2.309 MB / 0.58 GB, free: 42.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02431/1.979, allocations: 6.304 MB / 0.5862 GB, free: 39.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.552e-05/1.98, allocations: 62.89 kB / 0.5862 GB, free: 39.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=217): time 9.327e-06/1.98, allocations: 3.75 kB / 0.5862 GB, free: 39.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=224): time 0.02802/2.008, allocations: 7.242 MB / 0.5933 GB, free: 34.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/2.008, allocations: 73.41 kB / 0.5934 GB, free: 34.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006251/2.014, allocations: 2.091 MB / 0.5954 GB, free: 32.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006108/2.015, allocations: 25.7 kB / 0.5955 GB, free: 32.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002122/2.017, allocations: 2.168 MB / 0.5976 GB, free: 30.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/2.018, allocations: 0.7253 MB / 0.5983 GB, free: 29.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002909/2.018, allocations: 4 kB / 0.5983 GB, free: 29.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002343/2.019, allocations: 407.7 kB / 0.5987 GB, free: 29.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003224/2.022, allocations: 1.158 MB / 0.5998 GB, free: 28.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003909/2.026, allocations: 1.714 MB / 0.6015 GB, free: 26.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005273/2.031, allocations: 1.581 MB / 0.603 GB, free: 25.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.434e-05/2.031, allocations: 8 kB / 0.603 GB, free: 25.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.0135/2.045, allocations: 3.872 MB / 0.6068 GB, free: 21.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/2.045, allocations: 12 kB / 0.6068 GB, free: 21.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-05/2.045, allocations: 20 kB / 0.6068 GB, free: 21.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003349/2.048, allocations: 0.6419 MB / 0.6075 GB, free: 21.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005821/2.054, allocations: 0.5523 MB / 0.608 GB, free: 20.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/2.071, allocations: 9.61 MB / 0.6174 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004141/2.075, allocations: 63.38 kB / 0.6175 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004383/2.075, allocations: 96 kB / 0.6175 GB, free: 11.39 MB / 394.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.0007255/2.076, allocations: 172 kB / 0.6177 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008475/2.077, allocations: 284.4 kB / 0.618 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/2.089, allocations: 3.68 MB / 0.6216 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/2.089, allocations: 20 kB / 0.6216 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/2.089, allocations: 12 kB / 0.6216 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.647e-05/2.089, allocations: 9.656 kB / 0.6216 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02528/2.114, allocations: 7.66 MB / 0.6291 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.497e-05/2.115, allocations: 7.812 kB / 0.6291 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003978/2.119, allocations: 341.8 kB / 0.6294 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005577/2.124, allocations: 0.8037 MB / 0.6302 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005723/2.125, allocations: 27.31 kB / 0.6302 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02926/2.154, allocations: 13.83 MB / 0.6437 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.411e-05/2.154, allocations: 8 kB / 0.6438 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3817/2.536, allocations: 5.551 MB / 0.6492 GB, free: 70.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003158/2.539, allocations: 0.6429 MB / 0.6498 GB, free: 70.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001313/2.54, allocations: 21.75 kB / 0.6498 GB, free: 70.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004265/2.545, allocations: 90.86 kB / 0.6499 GB, free: 70.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/2.546, allocations: 183.9 kB / 0.6501 GB, free: 70.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004654/2.546, allocations: 64.3 kB / 0.6502 GB, free: 70.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005703/2.552, allocations: 1.579 MB / 0.6517 GB, free: 70.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.233e-06/2.552, allocations: 0.75 kB / 0.6517 GB, free: 70.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006997/2.559, allocations: 0.8557 MB / 0.6525 GB, free: 70.34 MB / 410.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.02063/2.58, allocations: 6.901 MB / 0.6593 GB, free: 68.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01087/2.591, allocations: 3.56 MB / 0.6627 GB, free: 68.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/2.591, allocations: 0.5625 kB / 0.6627 GB, free: 68.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007856/2.599, allocations: 2.46 MB / 0.6651 GB, free: 67.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007403/2.606, allocations: 0.6112 MB / 0.6657 GB, free: 67.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03515/2.641, allocations: 8.85 MB / 0.6744 GB, free: 65.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008039/2.65, allocations: 3.518 MB / 0.6778 GB, free: 64.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005446/2.655, allocations: 0.6836 MB / 0.6785 GB, free: 64.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005474/2.661, allocations: 1.821 MB / 0.6803 GB, free: 64.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.004e-06/2.661, allocations: 4 kB / 0.6803 GB, free: 64.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.285/2.946, allocations: 73.96 MB / 0.7525 GB, free: 35.38 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000298/2.946, allocations: 174.4 kB / 0.7527 GB, free: 35.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.263/10.21, allocations: 4 kB / 0.7527 GB, free: 35.18 MB / 410.7 MB