Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.415/2.415, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.878e-05, allocations: 2.219 kB / 249.8 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5269/0.6273, allocations: 103.5 MB / 397.7 MB, free: 108 kB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004461/0.6279, allocations: 88.19 kB / 397.8 MB, free: 92 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2858/0.9137, allocations: 51.01 MB / 448.8 MB, free: 6.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.9138, allocations: 0 / 448.8 MB, free: 6.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002963/0.9141, allocations: 59.94 kB / 448.9 MB, free: 6.809 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.009071/0.9231, allocations: 2.437 MB / 451.3 MB, free: 4.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.9232, allocations: 12.03 kB / 451.3 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001119/0.9244, allocations: 263.2 kB / 451.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.9259, allocations: 348.1 kB / 451.9 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006494/0.9324, allocations: 1.767 MB / 453.7 MB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.9327, allocations: 84.12 kB / 453.8 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007333/0.9334, allocations: 127.9 kB / 453.9 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006999/0.9404, allocations: 1.961 MB / 455.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007305/0.9478, allocations: 2.332 MB / 458.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.678e-05/0.9479, allocations: 0 / 458.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/0.9483, allocations: 4 kB / 458.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/0.9485, allocations: 103.9 kB / 458.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02476/0.9732, allocations: 7.989 MB / 466.3 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004714/0.978, allocations: 1.539 MB / 467.8 MB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.9803, allocations: 0.8683 MB / 468.7 MB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004814/0.9808, allocations: 146.3 kB / 468.8 MB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.9809, allocations: 43.88 kB / 468.9 MB, free: 2.238 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 4.589e-06/0.9809, allocations: 3.938 kB / 468.9 MB, free: 2.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=135): time 0.01717/0.9981, allocations: 4.814 MB / 473.7 MB, free: 13.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.9982, allocations: 72.66 kB / 473.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004411/1.003, allocations: 1.637 MB / 475.4 MB, free: 11.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000335/1.003, allocations: 29.7 kB / 475.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/1.004, allocations: 1.122 MB / 476.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006985/1.005, allocations: 453.2 kB / 477 MB, free: 10.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/1.005, allocations: 0 / 477 MB, free: 10.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002276/1.006, allocations: 365.9 kB / 477.4 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/1.007, allocations: 0.6872 MB / 478.1 MB, free: 8.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/1.01, allocations: 0.9355 MB / 479 MB, free: 7.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/1.012, allocations: 0.8222 MB / 479.8 MB, free: 7.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/1.012, allocations: 0 / 479.8 MB, free: 7.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.009248/1.021, allocations: 2.578 MB / 482.4 MB, free: 4.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.36e-05/1.022, allocations: 39.88 kB / 482.4 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.205e-05/1.022, allocations: 8.25 kB / 482.4 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004354/1.026, allocations: 0.834 MB / 483.3 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/1.029, allocations: 275.6 kB / 483.5 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02233/1.051, allocations: 8.897 MB / 492.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/1.054, allocations: 71.89 kB / 492.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/1.054, allocations: 55.98 kB / 492.6 MB, free: 10.09 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.0004348/1.054, allocations: 136.5 kB / 492.7 MB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006541/1.055, allocations: 189.6 kB / 492.9 MB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009642/1.065, allocations: 2.336 MB / 495.2 MB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/1.065, allocations: 16 kB / 495.2 MB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-05/1.065, allocations: 19.83 kB / 495.3 MB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.323e-05/1.065, allocations: 3.984 kB / 495.3 MB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/1.083, allocations: 4.614 MB / 499.9 MB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.807e-05/1.083, allocations: 11.97 kB / 499.9 MB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/1.086, allocations: 211.7 kB / 0.4884 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004167/1.09, allocations: 0.695 MB / 0.489 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003482/1.091, allocations: 19.97 kB / 0.4891 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.329/1.42, allocations: 8.12 MB / 0.497 GB, free: 94.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/1.42, allocations: 7.406 kB / 0.497 GB, free: 94.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/1.431, allocations: 3.43 MB / 0.5004 GB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/1.433, allocations: 453.4 kB / 0.5008 GB, free: 94.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006092/1.433, allocations: 10.36 kB / 0.5008 GB, free: 94.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/1.436, allocations: 79.78 kB / 0.5009 GB, free: 94.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005766/1.436, allocations: 107.4 kB / 0.501 GB, free: 94.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/1.437, allocations: 45.12 kB / 0.501 GB, free: 94.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003758/1.44, allocations: 1.257 MB / 0.5022 GB, free: 94.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.263e-06/1.44, allocations: 0 / 0.5022 GB, free: 94.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003846/1.444, allocations: 0.5149 MB / 0.5027 GB, free: 94.23 MB / 394.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.01261/1.457, allocations: 4.699 MB / 0.5073 GB, free: 92.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007236/1.464, allocations: 2.347 MB / 0.5096 GB, free: 92.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.464, allocations: 0.7031 kB / 0.5096 GB, free: 92.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004728/1.469, allocations: 1.611 MB / 0.5112 GB, free: 92.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/1.473, allocations: 325.7 kB / 0.5115 GB, free: 92.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/1.488, allocations: 4.832 MB / 0.5162 GB, free: 91.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002801/1.491, allocations: 2.013 MB / 0.5182 GB, free: 90.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002641/1.494, allocations: 381.1 kB / 0.5186 GB, free: 90.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002509/1.496, allocations: 0.96 MB / 0.5195 GB, free: 90.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/1.496, allocations: 0 / 0.5195 GB, free: 90.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2179/1.714, allocations: 46.1 MB / 0.5645 GB, free: 70.66 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003271/1.715, allocations: 217.5 kB / 0.5647 GB, free: 70.37 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.645/7.36, allocations: 0 / 0.5647 GB, free: 70.37 MB / 394.7 MB