Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_1_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 1.544/1.544, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1997/1.744, allocations: 41.11 MB / 219.2 MB, free: 11.17 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08269/1.827, allocations: 38.76 MB / 258 MB, free: 4.344 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.308/2.135, allocations: 92.29 MB / 350.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/2.135, allocations: 86.33 kB / 350.4 MB, free: 12.02 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.1903/2.325, allocations: 41.56 MB / 391.9 MB, free: 7.262 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/2.325, allocations: 11.98 kB / 392 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/2.327, allocations: 253.2 kB / 392.2 MB, free: 7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005547/2.333, allocations: 1.301 MB / 393.5 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/2.333, allocations: 60 kB / 393.6 MB, free: 5.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009851/2.334, allocations: 107.9 kB / 393.7 MB, free: 5.492 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00678/2.341, allocations: 1.721 MB / 395.4 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006545/2.347, allocations: 2.045 MB / 397.4 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.548e-05/2.348, allocations: 11.84 kB / 397.4 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/2.348, allocations: 4 kB / 397.5 MB, free: 1.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/2.348, allocations: 87.48 kB / 397.5 MB, free: 1.539 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01997/2.368, allocations: 6.797 MB / 404.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/2.37, allocations: 0.6907 MB / 405 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/2.372, allocations: 0.7245 MB / 405.7 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003769/2.372, allocations: 133.8 kB / 405.9 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/2.372, allocations: 47.33 kB / 405.9 MB, free: 8.938 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.146e-06/2.372, allocations: 0 / 405.9 MB, free: 8.938 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.01783/2.39, allocations: 4.595 MB / 410.5 MB, free: 4.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/2.39, allocations: 64.41 kB / 410.6 MB, free: 4.195 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/2.393, allocations: 0.8311 MB / 411.4 MB, free: 3.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002886/2.393, allocations: 25.7 kB / 411.4 MB, free: 3.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006093/2.394, allocations: 0.7043 MB / 412.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005893/2.394, allocations: 378.3 kB / 412.5 MB, free: 2.223 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/2.394, allocations: 0 / 412.5 MB, free: 2.223 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/2.395, allocations: 357.9 kB / 412.9 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/2.397, allocations: 0.6273 MB / 413.5 MB, free: 1.238 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/2.399, allocations: 0.9203 MB / 414.4 MB, free: 192 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1423/2.541, allocations: 0.7714 MB / 415.2 MB, free: 127.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-05/2.541, allocations: 2 kB / 415.2 MB, free: 127.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.009559/2.551, allocations: 2.22 MB / 417.4 MB, free: 127.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/2.551, allocations: 3.344 kB / 417.4 MB, free: 127.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-05/2.551, allocations: 12.25 kB / 417.4 MB, free: 127.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004822/2.556, allocations: 0.6248 MB / 418 MB, free: 127.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003712/2.56, allocations: 280.6 kB / 418.3 MB, free: 127.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/2.573, allocations: 5.743 MB / 424.1 MB, free: 125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/2.575, allocations: 52.7 kB / 424.1 MB, free: 125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/2.575, allocations: 56.45 kB / 424.2 MB, free: 125 MB / 346.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.0003508/2.576, allocations: 139.3 kB / 424.3 MB, free: 124.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/2.576, allocations: 124.8 kB / 424.4 MB, free: 124.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006272/2.582, allocations: 2.087 MB / 426.5 MB, free: 124.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/2.582, allocations: 9.75 kB / 426.5 MB, free: 124.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/2.582, allocations: 7.453 kB / 426.5 MB, free: 124.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.663e-05/2.582, allocations: 3.891 kB / 426.5 MB, free: 124.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/2.594, allocations: 4.027 MB / 430.6 MB, free: 124.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/2.594, allocations: 3.469 kB / 430.6 MB, free: 124.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/2.596, allocations: 171.8 kB / 430.7 MB, free: 124.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003572/2.6, allocations: 0.7256 MB / 431.5 MB, free: 124.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002978/2.6, allocations: 18.06 kB / 431.5 MB, free: 124.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/2.613, allocations: 7.389 MB / 438.9 MB, free: 120.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/2.613, allocations: 11.22 kB / 438.9 MB, free: 120.6 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007779/2.621, allocations: 3.187 MB / 442.1 MB, free: 120.1 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01008/2.631, allocations: 4.549 MB / 446.6 MB, free: 117.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/2.632, allocations: 343.2 kB / 446.9 MB, free: 117.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003738/2.633, allocations: 7.406 kB / 447 MB, free: 117.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/2.634, allocations: 60.59 kB / 447 MB, free: 117.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/2.634, allocations: 69.05 kB / 447.1 MB, free: 117.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/2.635, allocations: 35.05 kB / 447.1 MB, free: 117.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001313/2.636, allocations: 0.6252 MB / 447.7 MB, free: 117.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002985/2.639, allocations: 403.1 kB / 448.1 MB, free: 117.4 MB / 346.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.0006613/2.64, allocations: 282.4 kB / 448.4 MB, free: 117.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004983/2.645, allocations: 2.081 MB / 450.5 MB, free: 116.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/2.645, allocations: 3.156 kB / 450.5 MB, free: 116.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003745/2.648, allocations: 1.396 MB / 451.9 MB, free: 115.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/2.651, allocations: 260.2 kB / 452.1 MB, free: 115.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009849/2.661, allocations: 3.224 MB / 455.4 MB, free: 114.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002613/2.663, allocations: 1.764 MB / 457.1 MB, free: 113.4 MB / 346.7 MB Notification: Performance of SimCode: time 1.482e-06/2.663, allocations: 0 / 457.1 MB, free: 113.4 MB / 346.7 MB