Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.922/1.922, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.711e-05/2.711e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2922, allocations: 44.5 MB / 294.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/0.4697, allocations: 103.5 MB / 397.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.4701, allocations: 91.94 kB / 397.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4494/0.9195, allocations: 50.77 MB / 448.5 MB, free: 93.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.9195, allocations: 0 / 448.5 MB, free: 93.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002693/0.9198, allocations: 62.81 kB / 448.6 MB, free: 93.29 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007925/0.9278, allocations: 2.443 MB / 451.1 MB, free: 91.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.9278, allocations: 10.55 kB / 451.1 MB, free: 91.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.9295, allocations: 330.8 kB / 451.4 MB, free: 91.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005542/0.935, allocations: 1.77 MB / 453.2 MB, free: 90.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.9352, allocations: 68.7 kB / 453.2 MB, free: 90.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005729/0.9358, allocations: 122.2 kB / 453.3 MB, free: 90.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004724/0.9405, allocations: 1.951 MB / 455.3 MB, free: 90.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004918/0.9455, allocations: 2.312 MB / 457.6 MB, free: 89.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.678e-05/0.9456, allocations: 3.906 kB / 457.6 MB, free: 89.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.9458, allocations: 2.875 kB / 457.6 MB, free: 89.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.946, allocations: 87.5 kB / 457.7 MB, free: 89.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01798/0.964, allocations: 7.94 MB / 465.6 MB, free: 83.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003552/0.9676, allocations: 1.54 MB / 467.2 MB, free: 81.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.9693, allocations: 0.8605 MB / 468 MB, free: 80.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004022/0.9697, allocations: 145 kB / 468.2 MB, free: 80.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.9697, allocations: 51.88 kB / 468.2 MB, free: 80.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 4.118e-06/0.9697, allocations: 0 / 468.2 MB, free: 80.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=135): time 0.01313/0.9829, allocations: 4.804 MB / 473 MB, free: 75.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.983, allocations: 72.67 kB / 473.1 MB, free: 75.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003196/0.9862, allocations: 1.637 MB / 474.7 MB, free: 73.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002953/0.9865, allocations: 29.7 kB / 474.8 MB, free: 73.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008421/0.9873, allocations: 1.099 MB / 475.9 MB, free: 72.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004338/0.9878, allocations: 453.2 kB / 476.3 MB, free: 72.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.9879, allocations: 4 kB / 476.3 MB, free: 72.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.988, allocations: 361.9 kB / 476.7 MB, free: 71.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.9894, allocations: 0.6872 MB / 477.4 MB, free: 71.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.991, allocations: 0.9244 MB / 478.3 MB, free: 70.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.9927, allocations: 0.826 MB / 479.1 MB, free: 69.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.9927, allocations: 8 kB / 479.1 MB, free: 69.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.006603/0.9994, allocations: 2.578 MB / 481.7 MB, free: 66.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/0.9994, allocations: 33.7 kB / 481.7 MB, free: 66.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.229e-05/0.9995, allocations: 8 kB / 481.7 MB, free: 66.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003343/1.003, allocations: 0.8333 MB / 482.6 MB, free: 65.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/1.005, allocations: 271.6 kB / 482.8 MB, free: 65.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/1.021, allocations: 8.898 MB / 491.7 MB, free: 56.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/1.023, allocations: 75.95 kB / 491.8 MB, free: 56.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/1.023, allocations: 55.98 kB / 491.9 MB, free: 56.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003376/1.024, allocations: 136.4 kB / 492 MB, free: 56.18 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005396/1.029, allocations: 2.184 MB / 494.2 MB, free: 53.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007631/1.03, allocations: 193.6 kB / 494.4 MB, free: 53.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006107/1.036, allocations: 2.34 MB / 496.7 MB, free: 51.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/1.036, allocations: 12 kB / 496.7 MB, free: 51.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.036, allocations: 8 kB / 496.7 MB, free: 51.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/1.036, allocations: 15.92 kB / 496.7 MB, free: 51.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/1.048, allocations: 4.605 MB / 0.4896 GB, free: 46.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/1.048, allocations: 4 kB / 0.4896 GB, free: 46.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/1.05, allocations: 215.7 kB / 0.4898 GB, free: 46.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003013/1.053, allocations: 0.694 MB / 0.4905 GB, free: 45.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/1.053, allocations: 19.97 kB / 0.4905 GB, free: 45.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01199/1.065, allocations: 8.142 MB / 0.4985 GB, free: 37.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.065, allocations: 4.031 kB / 0.4985 GB, free: 37.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007683/1.073, allocations: 3.442 MB / 0.5018 GB, free: 33.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.074, allocations: 454.7 kB / 0.5023 GB, free: 33.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/1.075, allocations: 8 kB / 0.5023 GB, free: 33.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/1.077, allocations: 67.91 kB / 0.5023 GB, free: 33.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004007/1.077, allocations: 113.1 kB / 0.5024 GB, free: 33.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.077, allocations: 39.98 kB / 0.5025 GB, free: 33.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002382/1.079, allocations: 1.258 MB / 0.5037 GB, free: 31.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.08, allocations: 0 / 0.5037 GB, free: 31.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00288/1.082, allocations: 0.5155 MB / 0.5042 GB, free: 31.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * 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: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008927/1.091, allocations: 4.674 MB / 0.5088 GB, free: 26.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005353/1.097, allocations: 2.347 MB / 0.5111 GB, free: 24.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.097, allocations: 0 / 0.5111 GB, free: 24.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003575/1.1, allocations: 1.616 MB / 0.5126 GB, free: 22.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/1.103, allocations: 321.8 kB / 0.5129 GB, free: 22.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/1.114, allocations: 4.799 MB / 0.5176 GB, free: 17.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/1.116, allocations: 2.006 MB / 0.5196 GB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002076/1.119, allocations: 374.6 kB / 0.5199 GB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001841/1.12, allocations: 0.9484 MB / 0.5209 GB, free: 14.01 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/1.12, allocations: 4 kB / 0.5209 GB, free: 14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1334/1.254, allocations: 43.99 MB / 0.5638 GB, free: 1.918 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003336/1.254, allocations: 216.9 kB / 0.564 GB, free: 1.625 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.065/5.32, allocations: 0 / 0.564 GB, free: 1.625 MB / 394.7 MB