Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",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.058/2.058, allocations: 194.9 MB / 202.5 MB, free: 14.29 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2232/2.281, allocations: 46.83 MB / 249.4 MB, free: 14.21 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/2.393, allocations: 44.5 MB / 293.9 MB, free: 1.641 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3436/2.737, allocations: 97.55 MB / 391.4 MB, free: 9.676 MB / 306.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/2.737, allocations: 79.08 kB / 391.5 MB, free: 9.637 MB / 306.8 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.2071/2.945, allocations: 42.36 MB / 433.8 MB, free: 6.277 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 8.43e-05/2.945, allocations: 15.94 kB / 433.9 MB, free: 6.262 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/2.948, allocations: 265.2 kB / 434.1 MB, free: 6 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009551/2.957, allocations: 1.423 MB / 435.5 MB, free: 4.52 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/2.958, allocations: 59.91 kB / 435.6 MB, free: 4.461 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00121/2.959, allocations: 104 kB / 435.7 MB, free: 4.359 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01021/2.969, allocations: 1.795 MB / 437.5 MB, free: 2.562 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008645/2.978, allocations: 2.1 MB / 439.6 MB, free: 388 kB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.739e-05/2.978, allocations: 4 kB / 439.6 MB, free: 384 kB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/2.978, allocations: 0 / 439.6 MB, free: 384 kB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/2.978, allocations: 91.48 kB / 439.7 MB, free: 292 kB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01983/2.998, allocations: 7.167 MB / 446.9 MB, free: 8.918 MB / 354.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/3.001, allocations: 0.7192 MB / 447.6 MB, free: 8.184 MB / 354.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/3.003, allocations: 0.7437 MB / 448.3 MB, free: 7.438 MB / 354.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004083/3.003, allocations: 129.8 kB / 448.4 MB, free: 7.293 MB / 354.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/3.003, allocations: 44 kB / 448.5 MB, free: 7.242 MB / 354.8 MB Notification: Performance of pre-optimization done (n=87): time 3.827e-06/3.003, allocations: 0 / 448.5 MB, free: 7.242 MB / 354.8 MB Notification: Performance of matching and sorting (n=103): time 0.01408/3.017, allocations: 3.974 MB / 452.5 MB, free: 3.207 MB / 354.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/3.018, allocations: 64.34 kB / 452.5 MB, free: 3.129 MB / 354.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/3.02, allocations: 1.008 MB / 453.5 MB, free: 2.109 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000268/3.02, allocations: 25.7 kB / 453.6 MB, free: 2.078 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006629/3.021, allocations: 0.7086 MB / 454.3 MB, free: 1.355 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004603/3.022, allocations: 342.9 kB / 454.6 MB, free: 1.016 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/3.022, allocations: 0 / 454.6 MB, free: 1.016 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 0.0001777/3.022, allocations: 353.9 kB / 454.9 MB, free: 0.6641 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/3.023, allocations: 0.6078 MB / 455.6 MB, free: 52 kB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/3.025, allocations: 0.8844 MB / 456.4 MB, free: 15.05 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/3.027, allocations: 0.7407 MB / 457.2 MB, free: 14.31 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/3.027, allocations: 3.906 kB / 457.2 MB, free: 14.31 MB / 370.8 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007413/3.035, allocations: 2.276 MB / 459.5 MB, free: 12.02 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/3.035, allocations: 4 kB / 459.5 MB, free: 12.01 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/3.035, allocations: 11.94 kB / 459.5 MB, free: 12 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003899/3.039, allocations: 0.7743 MB / 460.2 MB, free: 11.22 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/3.041, allocations: 227.6 kB / 460.5 MB, free: 11 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/3.059, allocations: 7.786 MB / 468.3 MB, free: 2.973 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/3.061, allocations: 48.05 kB / 468.3 MB, free: 2.926 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/3.062, allocations: 51.98 kB / 468.4 MB, free: 2.875 MB / 370.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003318/3.062, allocations: 132.6 kB / 468.5 MB, free: 2.738 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/3.062, allocations: 130.4 kB / 468.6 MB, free: 2.609 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005604/3.068, allocations: 1.816 MB / 470.4 MB, free: 0.7734 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/3.068, allocations: 8 kB / 470.4 MB, free: 0.7656 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/3.068, allocations: 7.938 kB / 470.4 MB, free: 0.7578 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/3.068, allocations: 7.969 kB / 470.5 MB, free: 0.75 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/3.08, allocations: 3.671 MB / 474.1 MB, free: 13 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/3.08, allocations: 4 kB / 474.1 MB, free: 13 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/3.082, allocations: 192 kB / 474.3 MB, free: 12.81 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/3.085, allocations: 458.9 kB / 474.8 MB, free: 12.35 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002603/3.085, allocations: 19.97 kB / 474.8 MB, free: 12.33 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00977/3.095, allocations: 5.734 MB / 480.5 MB, free: 6.242 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/3.095, allocations: 0 / 480.5 MB, free: 6.242 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007461/3.102, allocations: 2.801 MB / 483.3 MB, free: 3.355 MB / 386.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009736/3.112, allocations: 4.108 MB / 487.4 MB, free: 15.16 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/3.113, allocations: 339.4 kB / 487.8 MB, free: 14.81 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004136/3.114, allocations: 15.98 kB / 487.8 MB, free: 14.79 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/3.116, allocations: 55.88 kB / 487.8 MB, free: 14.74 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/3.116, allocations: 64.53 kB / 487.9 MB, free: 14.68 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/3.116, allocations: 31.98 kB / 487.9 MB, free: 14.64 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.001914/3.118, allocations: 0.7597 MB / 488.7 MB, free: 13.88 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.003302/3.121, allocations: 408 kB / 489.1 MB, free: 13.48 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008607/3.122, allocations: 288.6 kB / 489.4 MB, free: 13.19 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.005335/3.128, allocations: 1.839 MB / 491.2 MB, free: 11.33 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/3.128, allocations: 1.875 kB / 491.2 MB, free: 11.33 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003253/3.131, allocations: 1.252 MB / 492.5 MB, free: 10.02 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/3.133, allocations: 256.3 kB / 492.7 MB, free: 9.773 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/3.144, allocations: 3.271 MB / 496 MB, free: 6.438 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003139/3.147, allocations: 1.82 MB / 497.8 MB, free: 4.582 MB / 402.8 MB Notification: Performance of SimCode: time 1.734e-06/3.148, allocations: 0 / 497.8 MB, free: 4.582 MB / 402.8 MB