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.778/1.778, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.864e-05, allocations: 0 / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09283/0.09288, allocations: 44.5 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4418/0.5347, allocations: 104.1 MB / 404.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.535, allocations: 84.23 kB / 404.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2103/0.7454, allocations: 51.4 MB / 455.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7454, allocations: 0 / 455.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002541/0.7457, allocations: 63.81 kB / 455.7 MB, free: 11.64 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.008188/0.7539, allocations: 2.451 MB / 458.1 MB, free: 9.285 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.754, allocations: 8.031 kB / 458.1 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001153/0.7551, allocations: 347.6 kB / 458.5 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.7566, allocations: 338.1 kB / 458.8 MB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005995/0.7626, allocations: 1.766 MB / 460.6 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/0.7628, allocations: 155.6 kB / 460.7 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006484/0.7635, allocations: 210.7 kB / 460.9 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007351/0.7708, allocations: 2.611 MB / 463.5 MB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.504e-05/0.7709, allocations: 0 / 463.5 MB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00034/0.7713, allocations: 87.94 kB / 463.6 MB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/0.7715, allocations: 99.98 kB / 463.7 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006056/0.7775, allocations: 2.05 MB / 465.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02354/0.8011, allocations: 8.389 MB / 474.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/0.8058, allocations: 1.581 MB / 475.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002584/0.8084, allocations: 0.9766 MB / 476.7 MB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004387/0.8089, allocations: 142 kB / 476.8 MB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.8089, allocations: 48.12 kB / 476.9 MB, free: 6.844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 3.696e-06/0.8089, allocations: 0 / 476.9 MB, free: 6.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=135): time 0.01626/0.8252, allocations: 5.038 MB / 481.9 MB, free: 1.738 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.8253, allocations: 64.72 kB / 482 MB, free: 1.664 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004596/0.8299, allocations: 1.862 MB / 483.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003395/0.8303, allocations: 45.7 kB / 483.9 MB, free: 15.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.8315, allocations: 1.115 MB / 485 MB, free: 14.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000706/0.8323, allocations: 473.2 kB / 485.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.8324, allocations: 24 kB / 485.5 MB, free: 14.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.8326, allocations: 361.9 kB / 485.9 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.8345, allocations: 0.7107 MB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/0.8366, allocations: 0.959 MB / 487.5 MB, free: 11.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/0.8388, allocations: 0.8733 MB / 488.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.8389, allocations: 0 / 488.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00826/0.8471, allocations: 2.736 MB / 491.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.8472, allocations: 33.7 kB / 491.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/0.8473, allocations: 7.984 kB / 491.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003876/0.8512, allocations: 0.8382 MB / 492 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/0.8535, allocations: 271.6 kB / 492.3 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/0.8737, allocations: 9.277 MB / 0.4898 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.8762, allocations: 104 kB / 0.4899 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/0.8765, allocations: 55.95 kB / 0.49 GB, free: 13.46 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.0004133/0.8769, allocations: 176.7 kB / 0.4901 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005999/0.8775, allocations: 197.6 kB / 0.4903 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007504/0.885, allocations: 2.474 MB / 0.4927 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.162e-05/0.8851, allocations: 16 kB / 0.4927 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.8851, allocations: 4.188 kB / 0.4927 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/0.8851, allocations: 7.969 kB / 0.4928 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.9001, allocations: 5.013 MB / 0.4976 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/0.9002, allocations: 0 / 0.4976 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/0.9023, allocations: 223.9 kB / 0.4979 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003481/0.9058, allocations: 0.7082 MB / 0.4986 GB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003045/0.9061, allocations: 39.97 kB / 0.4986 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/0.9224, allocations: 8.473 MB / 0.5069 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.9225, allocations: 3.984 kB / 0.5069 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009457/0.9319, allocations: 3.597 MB / 0.5104 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/0.9336, allocations: 478.4 kB / 0.5108 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004144/0.934, allocations: 31.98 kB / 0.5109 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/0.9358, allocations: 95.86 kB / 0.511 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/0.9363, allocations: 113.1 kB / 0.5111 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.9364, allocations: 39.98 kB / 0.5111 GB, free: 7.113 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003382/0.9398, allocations: 1.445 MB / 0.5125 GB, free: 5.637 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.182e-06/0.9398, allocations: 0 / 0.5125 GB, free: 5.637 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003233/0.9431, allocations: 0.5976 MB / 0.5131 GB, free: 5.039 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.2591/1.202, allocations: 5.019 MB / 0.518 GB, free: 110.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006602/1.209, allocations: 2.379 MB / 0.5203 GB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.209, allocations: 4.469 kB / 0.5203 GB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003996/1.213, allocations: 1.64 MB / 0.5219 GB, free: 109.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/1.216, allocations: 408 kB / 0.5223 GB, free: 109.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/1.23, allocations: 4.97 MB / 0.5272 GB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002933/1.233, allocations: 2.015 MB / 0.5291 GB, free: 107.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002343/1.235, allocations: 398.5 kB / 0.5295 GB, free: 107.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/1.237, allocations: 0.9488 MB / 0.5304 GB, free: 107.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/1.237, allocations: 1.156 kB / 0.5304 GB, free: 107.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/1.366, allocations: 51.41 MB / 0.5807 GB, free: 90.97 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/1.366, allocations: 250.4 kB / 0.5809 GB, free: 90.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.446/5.811, allocations: 0 / 0.5809 GB, free: 90.64 MB / 410.7 MB