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.873/1.873, allocations: 194.9 MB / 208 MB, free: 3.188 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.83e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/0.0928, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4481/0.541, allocations: 104.1 MB / 404.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.5414, allocations: 83.42 kB / 404.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2096/0.751, allocations: 51.4 MB / 455.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.7511, allocations: 0 / 455.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000275/0.7513, allocations: 55.94 kB / 455.6 MB, free: 11.7 MB / 346.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.008682/0.76, allocations: 2.45 MB / 458.1 MB, free: 9.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.7601, allocations: 8.031 kB / 458.1 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001262/0.7614, allocations: 350.2 kB / 458.4 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.7629, allocations: 336.2 kB / 458.8 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006464/0.7694, allocations: 1.773 MB / 460.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.7696, allocations: 162 kB / 460.7 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007446/0.7704, allocations: 208.1 kB / 460.9 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008214/0.7786, allocations: 2.631 MB / 463.5 MB, free: 4.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.7788, allocations: 4 kB / 463.5 MB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003917/0.7792, allocations: 88 kB / 463.6 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.7793, allocations: 91.98 kB / 463.7 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007433/0.7868, allocations: 2.078 MB / 465.8 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02915/0.816, allocations: 8.397 MB / 474.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00701/0.8231, allocations: 1.6 MB / 475.8 MB, free: 7.996 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004292/0.8274, allocations: 0.9727 MB / 476.7 MB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006706/0.8281, allocations: 142 kB / 476.9 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.384e-05/0.8282, allocations: 47.55 kB / 476.9 MB, free: 6.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 6.252e-06/0.8282, allocations: 0 / 476.9 MB, free: 6.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=135): time 0.02547/0.8537, allocations: 5.043 MB / 482 MB, free: 1.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.8538, allocations: 68.66 kB / 482 MB, free: 1.613 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006968/0.8608, allocations: 1.858 MB / 483.9 MB, free: 15.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000453/0.8614, allocations: 45.7 kB / 483.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001887/0.8633, allocations: 1.111 MB / 485.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009888/0.8643, allocations: 465.2 kB / 485.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.8645, allocations: 28 kB / 485.5 MB, free: 14.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000277/0.8648, allocations: 361.9 kB / 485.9 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/0.8678, allocations: 0.7146 MB / 486.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00341/0.8713, allocations: 0.9668 MB / 487.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003569/0.8749, allocations: 0.8733 MB / 488.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.875, allocations: 0 / 488.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01205/0.887, allocations: 2.743 MB / 491.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/0.8872, allocations: 37.64 kB / 491.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.37e-05/0.8872, allocations: 8 kB / 491.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004048/0.8913, allocations: 0.8533 MB / 492.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/0.8936, allocations: 263.6 kB / 492.3 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02078/0.9144, allocations: 9.279 MB / 0.4899 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.9168, allocations: 95.84 kB / 0.49 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000243/0.917, allocations: 55.94 kB / 0.49 GB, free: 13.39 MB / 394.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.000422/0.9175, allocations: 180.7 kB / 0.4902 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005898/0.9181, allocations: 205.6 kB / 0.4904 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007536/0.9256, allocations: 2.462 MB / 0.4928 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/0.9257, allocations: 12 kB / 0.4928 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.9257, allocations: 8.188 kB / 0.4928 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/0.9258, allocations: 7.969 kB / 0.4928 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.9409, allocations: 5.028 MB / 0.4977 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.472e-05/0.941, allocations: 0 / 0.4977 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/0.943, allocations: 215.7 kB / 0.4979 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003472/0.9465, allocations: 0.7107 MB / 0.4986 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002661/0.9468, allocations: 35.97 kB / 0.4987 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/0.9629, allocations: 8.469 MB / 0.5069 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.9629, allocations: 4.031 kB / 0.5069 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009948/0.9729, allocations: 3.601 MB / 0.5104 GB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/0.9747, allocations: 474.4 kB / 0.5109 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004416/0.9751, allocations: 35.98 kB / 0.5109 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/0.977, allocations: 95.86 kB / 0.511 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004493/0.9775, allocations: 105.2 kB / 0.5111 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/0.9776, allocations: 43.97 kB / 0.5112 GB, free: 7.047 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004128/0.9818, allocations: 1.446 MB / 0.5126 GB, free: 5.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.296e-06/0.9818, allocations: 4 kB / 0.5126 GB, free: 5.566 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003649/0.9855, allocations: 0.5897 MB / 0.5132 GB, free: 4.977 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (95): * Single equations (assignments): 89 * 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.3615/1.347, allocations: 5.009 MB / 0.518 GB, free: 110 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01012/1.357, allocations: 2.442 MB / 0.5204 GB, free: 109.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.357, allocations: 1.312 kB / 0.5204 GB, free: 109.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006286/1.364, allocations: 1.679 MB / 0.5221 GB, free: 109.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004914/1.369, allocations: 400.5 kB / 0.5225 GB, free: 109.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/1.391, allocations: 4.984 MB / 0.5273 GB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005593/1.396, allocations: 2.009 MB / 0.5293 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003665/1.4, allocations: 395.6 kB / 0.5297 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003321/1.403, allocations: 0.9535 MB / 0.5306 GB, free: 107.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.734e-06/1.403, allocations: 3.969 kB / 0.5306 GB, free: 107.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1712/1.575, allocations: 51.65 MB / 0.581 GB, free: 90.57 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/1.575, allocations: 255.8 kB / 0.5813 GB, free: 90.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.507/6.082, allocations: 3.938 kB / 0.5813 GB, free: 90.22 MB / 410.7 MB