Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.934/1.934, allocations: 194.9 MB / 208 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.076e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09318/0.09323, allocations: 44.51 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4413/0.5345, allocations: 104.6 MB / 404.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.5349, allocations: 85.08 kB / 404.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2906/0.8255, allocations: 80.52 MB / 485.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.8256, allocations: 0 / 485.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003275/0.8259, allocations: 79.88 kB / 485.3 MB, free: 14.73 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01339/0.8393, allocations: 3.215 MB / 488.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.8394, allocations: 8.031 kB / 488.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001506/0.8409, allocations: 455.6 kB / 488.9 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006047/0.8469, allocations: 0.7334 MB / 489.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.8594, allocations: 3.308 MB / 493 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000323/0.8598, allocations: 242.5 kB / 493.2 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/0.8609, allocations: 323.9 kB / 493.5 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.8735, allocations: 4.138 MB / 497.7 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001342/0.8737, allocations: 4 kB / 497.7 MB, free: 2.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005326/0.8742, allocations: 132 kB / 497.8 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002255/0.8745, allocations: 150.3 kB / 497.9 MB, free: 1.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.8859, allocations: 3.341 MB / 0.4895 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03764/0.9236, allocations: 13.9 MB / 0.5031 GB, free: 176 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.9343, allocations: 6.596 MB / 0.5096 GB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003695/0.9381, allocations: 1.357 MB / 0.5109 GB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/0.9481, allocations: 3.809 MB / 0.5146 GB, free: 3.484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/0.9482, allocations: 51.88 kB / 0.5146 GB, free: 3.426 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 4.228e-06/0.9482, allocations: 0 / 0.5146 GB, free: 3.426 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.2742/1.222, allocations: 4.338 MB / 0.5189 GB, free: 85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/1.223, allocations: 65.69 kB / 0.5189 GB, free: 84.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003899/1.226, allocations: 1.515 MB / 0.5204 GB, free: 84.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003288/1.227, allocations: 51.36 kB / 0.5205 GB, free: 84.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/1.228, allocations: 1.42 MB / 0.5219 GB, free: 84.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007208/1.229, allocations: 0.5048 MB / 0.5224 GB, free: 84.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/1.229, allocations: 37.31 kB / 0.5224 GB, free: 84.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/1.229, allocations: 376.8 kB / 0.5227 GB, free: 84.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/1.231, allocations: 0.6682 MB / 0.5234 GB, free: 84.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/1.234, allocations: 1.14 MB / 0.5245 GB, free: 83.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/1.236, allocations: 0.8832 MB / 0.5254 GB, free: 83.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.617e-05/1.236, allocations: 7.031 kB / 0.5254 GB, free: 83.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.007045/1.243, allocations: 2.509 MB / 0.5278 GB, free: 83.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/1.243, allocations: 15.2 kB / 0.5278 GB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/1.243, allocations: 14.09 kB / 0.5279 GB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/1.245, allocations: 386.1 kB / 0.5282 GB, free: 83.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/1.248, allocations: 382.7 kB / 0.5286 GB, free: 83.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009837/1.258, allocations: 7.841 MB / 0.5363 GB, free: 77.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/1.26, allocations: 79.11 kB / 0.5363 GB, free: 77.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/1.26, allocations: 73.23 kB / 0.5364 GB, free: 77.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * 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%) 7,(3,100.0%) 9,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004652/1.261, allocations: 214.9 kB / 0.5366 GB, free: 77.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/1.261, allocations: 198.8 kB / 0.5368 GB, free: 77.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006332/1.268, allocations: 2.346 MB / 0.5391 GB, free: 77.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/1.268, allocations: 15.44 kB / 0.5391 GB, free: 77.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.268e-05/1.268, allocations: 7.562 kB / 0.5391 GB, free: 77.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-05/1.268, allocations: 7.828 kB / 0.5391 GB, free: 77.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/1.286, allocations: 5.193 MB / 0.5442 GB, free: 76.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/1.286, allocations: 3.875 kB / 0.5442 GB, free: 76.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/1.288, allocations: 190.8 kB / 0.5444 GB, free: 76.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003236/1.291, allocations: 0.5601 MB / 0.5449 GB, free: 76.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002557/1.292, allocations: 37.5 kB / 0.545 GB, free: 76.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/1.313, allocations: 12.22 MB / 0.5569 GB, free: 68.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.313, allocations: 3.375 kB / 0.5569 GB, free: 68.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.324, allocations: 3.394 MB / 0.5602 GB, free: 68.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/1.326, allocations: 435.6 kB / 0.5606 GB, free: 67.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006004/1.326, allocations: 36.03 kB / 0.5607 GB, free: 67.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/1.328, allocations: 81.17 kB / 0.5607 GB, free: 67.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005322/1.329, allocations: 120.6 kB / 0.5608 GB, free: 67.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/1.329, allocations: 37.84 kB / 0.5609 GB, free: 67.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003449/1.333, allocations: 1.151 MB / 0.562 GB, free: 67.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.92e-07/1.333, allocations: 3.969 kB / 0.562 GB, free: 67.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004944/1.338, allocations: 0.6274 MB / 0.5626 GB, free: 67.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,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,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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 {(1,100.0%) 1,(1,100.0%) 7,(1,100.0%) 13,(3,100.0%) 9,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01083/1.349, allocations: 4.623 MB / 0.5671 GB, free: 66.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005651/1.354, allocations: 2.361 MB / 0.5694 GB, free: 64.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.354, allocations: 0 / 0.5694 GB, free: 64.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00418/1.358, allocations: 1.776 MB / 0.5712 GB, free: 63.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/1.363, allocations: 0.5012 MB / 0.5717 GB, free: 63.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/1.379, allocations: 5.622 MB / 0.5772 GB, free: 61.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003448/1.383, allocations: 2.374 MB / 0.5795 GB, free: 60.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003375/1.386, allocations: 393.9 kB / 0.5798 GB, free: 60.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002645/1.389, allocations: 1.135 MB / 0.581 GB, free: 59.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/1.389, allocations: 0 / 0.581 GB, free: 59.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/1.52, allocations: 54.01 MB / 0.6337 GB, free: 35.86 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/1.52, allocations: 198.2 kB / 0.6339 GB, free: 35.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.269/5.789, allocations: 0 / 0.6339 GB, free: 35.63 MB / 410.7 MB