Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 194.9 MB / 202.5 MB, free: 6.941 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2127/2.219, allocations: 46.84 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/2.315, allocations: 44.51 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3075/2.623, allocations: 97.05 MB / 390.9 MB, free: 3.426 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/2.623, allocations: 83.11 kB / 391 MB, free: 3.414 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.1872/2.81, allocations: 41.5 MB / 432.5 MB, free: 6.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/2.81, allocations: 15.94 kB / 432.5 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/2.812, allocations: 257.2 kB / 432.8 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005042/2.817, allocations: 1.336 MB / 434.1 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/2.817, allocations: 60 kB / 434.1 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006114/2.818, allocations: 111.5 kB / 434.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007561/2.826, allocations: 1.722 MB / 436 MB, free: 3.723 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007411/2.833, allocations: 2.053 MB / 438 MB, free: 1.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.962e-05/2.833, allocations: 7.906 kB / 438 MB, free: 1.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/2.834, allocations: 7.938 kB / 438 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/2.834, allocations: 87.52 kB / 438.1 MB, free: 1.488 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/2.855, allocations: 6.848 MB / 445 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/2.857, allocations: 0.6956 MB / 445.7 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002226/2.859, allocations: 0.7326 MB / 446.4 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000484/2.86, allocations: 141.7 kB / 446.5 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/2.86, allocations: 39.34 kB / 446.6 MB, free: 8.816 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.928e-06/2.86, allocations: 0 / 446.6 MB, free: 8.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.01797/2.878, allocations: 4.578 MB / 451.2 MB, free: 4.168 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/2.878, allocations: 60.41 kB / 451.2 MB, free: 4.098 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/2.88, allocations: 0.8547 MB / 452.1 MB, free: 3.227 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002944/2.881, allocations: 29.7 kB / 452.1 MB, free: 3.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/2.881, allocations: 0.6966 MB / 452.8 MB, free: 2.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005918/2.882, allocations: 386.2 kB / 453.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/2.882, allocations: 0 / 453.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/2.882, allocations: 357.9 kB / 453.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/2.884, allocations: 0.6195 MB / 454.1 MB, free: 1.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/2.886, allocations: 0.9279 MB / 455.1 MB, free: 76 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/2.888, allocations: 0.7798 MB / 455.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/2.888, allocations: 4 kB / 455.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00729/2.896, allocations: 2.216 MB / 458.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/2.896, allocations: 10.03 kB / 458.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.108e-05/2.896, allocations: 8 kB / 458.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00309/2.899, allocations: 0.6301 MB / 458.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/2.901, allocations: 279.5 kB / 459 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/2.915, allocations: 5.751 MB / 464.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/2.918, allocations: 59.84 kB / 464.8 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004515/2.918, allocations: 48 kB / 464.9 MB, free: 6.023 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006826/2.919, allocations: 132.9 kB / 465 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/2.92, allocations: 122.5 kB / 465.1 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007634/2.928, allocations: 2.092 MB / 467.2 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.072e-05/2.928, allocations: 12 kB / 467.2 MB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/2.928, allocations: 7.906 kB / 467.2 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.069e-05/2.928, allocations: 7.969 kB / 467.2 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/2.941, allocations: 4.047 MB / 471.3 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/2.941, allocations: 0 / 471.3 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/2.943, allocations: 180 kB / 471.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003845/2.947, allocations: 0.7058 MB / 472.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/2.947, allocations: 19.98 kB / 472.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/2.962, allocations: 7.386 MB / 479.6 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/2.962, allocations: 4 kB / 479.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008926/2.971, allocations: 3.204 MB / 482.8 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01146/2.983, allocations: 4.543 MB / 487.3 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/2.984, allocations: 343.4 kB / 487.6 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003865/2.984, allocations: 15.98 kB / 487.7 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/2.986, allocations: 55.89 kB / 487.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/2.986, allocations: 72.8 kB / 487.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/2.986, allocations: 35.98 kB / 487.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001662/2.988, allocations: 0.6434 MB / 488.5 MB, free: 13.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003348/2.992, allocations: 412 kB / 488.9 MB, free: 13.24 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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: 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008268/2.992, allocations: 275.5 kB / 489.1 MB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005747/2.998, allocations: 2.075 MB / 491.2 MB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/2.998, allocations: 0 / 491.2 MB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004498/3.003, allocations: 1.392 MB / 492.6 MB, free: 9.391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/3.005, allocations: 262.8 kB / 492.9 MB, free: 9.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/3.016, allocations: 3.269 MB / 496.1 MB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003088/3.019, allocations: 1.769 MB / 497.9 MB, free: 3.984 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/3.019, allocations: 3.938 kB / 497.9 MB, free: 3.98 MB / 394.7 MB