Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",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.699/1.699, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1838/1.883, allocations: 41.11 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/1.971, allocations: 38.76 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2939/2.265, allocations: 93.69 MB / 351.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/2.265, allocations: 90 kB / 351.8 MB, free: 10.61 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.2203/2.485, allocations: 45.93 MB / 397.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/2.485, allocations: 12 kB / 397.7 MB, free: 1.465 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/2.487, allocations: 296.8 kB / 398 MB, free: 1.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005257/2.492, allocations: 1.504 MB / 399.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/2.493, allocations: 68 kB / 399.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007354/2.493, allocations: 123.9 kB / 399.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007318/2.501, allocations: 2.05 MB / 401.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00699/2.508, allocations: 2.366 MB / 404.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.252e-05/2.508, allocations: 11.84 kB / 404.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/2.508, allocations: 0 / 404.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/2.508, allocations: 87.89 kB / 404.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02873/2.537, allocations: 8.048 MB / 412.3 MB, free: 2.523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/2.539, allocations: 0.8131 MB / 413.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/2.542, allocations: 0.9416 MB / 414 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004382/2.542, allocations: 130.1 kB / 414.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/2.543, allocations: 43.56 kB / 414.2 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 3.647e-06/2.543, allocations: 4 kB / 414.2 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.1581/2.701, allocations: 4.406 MB / 418.6 MB, free: 124.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/2.701, allocations: 64.22 kB / 418.7 MB, free: 124.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/2.703, allocations: 1.083 MB / 419.8 MB, free: 124.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003022/2.704, allocations: 27.92 kB / 419.8 MB, free: 124.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004899/2.704, allocations: 0.7639 MB / 420.5 MB, free: 124 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004829/2.705, allocations: 410.9 kB / 420.9 MB, free: 123.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/2.705, allocations: 3.844 kB / 420.9 MB, free: 123.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/2.705, allocations: 360.4 kB / 421.3 MB, free: 123.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/2.706, allocations: 0.6973 MB / 422 MB, free: 123.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/2.708, allocations: 0.9875 MB / 423 MB, free: 123.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/2.711, allocations: 0.8512 MB / 423.8 MB, free: 123.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/2.711, allocations: 3.594 kB / 423.8 MB, free: 123.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006069/2.717, allocations: 2.179 MB / 426 MB, free: 123 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/2.717, allocations: 6.438 kB / 426 MB, free: 123 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/2.717, allocations: 10.91 kB / 426 MB, free: 123 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/2.719, allocations: 416 kB / 426.4 MB, free: 122.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/2.721, allocations: 336 kB / 426.8 MB, free: 122.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00635/2.728, allocations: 4.26 MB / 431 MB, free: 120.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/2.73, allocations: 51.22 kB / 431.1 MB, free: 120.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/2.73, allocations: 53.17 kB / 431.1 MB, free: 120.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003907/2.73, allocations: 143.5 kB / 431.3 MB, free: 120.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/2.731, allocations: 150.2 kB / 431.4 MB, free: 120.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005658/2.736, allocations: 2.037 MB / 433.5 MB, free: 120.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/2.736, allocations: 10.56 kB / 433.5 MB, free: 120.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/2.736, allocations: 3.938 kB / 433.5 MB, free: 120.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.97e-05/2.736, allocations: 7.078 kB / 433.5 MB, free: 120.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/2.748, allocations: 4.19 MB / 437.7 MB, free: 119.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/2.748, allocations: 3.219 kB / 437.7 MB, free: 119.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/2.75, allocations: 228.8 kB / 437.9 MB, free: 119.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/2.752, allocations: 459.3 kB / 438.3 MB, free: 119.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/2.753, allocations: 14.66 kB / 438.4 MB, free: 119.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/2.763, allocations: 5.738 MB / 444.1 MB, free: 115.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/2.763, allocations: 3.656 kB / 444.1 MB, free: 115.9 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009956/2.773, allocations: 3.242 MB / 447.3 MB, free: 115.1 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01224/2.785, allocations: 4.691 MB / 452 MB, free: 112.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/2.787, allocations: 389.6 kB / 452.4 MB, free: 112.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/2.787, allocations: 6.547 kB / 452.4 MB, free: 112.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/2.789, allocations: 52.42 kB / 452.5 MB, free: 112.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003722/2.79, allocations: 87.78 kB / 452.6 MB, free: 112.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/2.79, allocations: 37.73 kB / 452.6 MB, free: 112.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.002197/2.792, allocations: 0.8202 MB / 453.4 MB, free: 112.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004183/2.796, allocations: 436.9 kB / 453.8 MB, free: 112.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.0007379/2.797, allocations: 282.2 kB / 454.1 MB, free: 112.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005912/2.803, allocations: 2.136 MB / 456.3 MB, free: 111.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/2.803, allocations: 0 / 456.3 MB, free: 111.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00416/2.807, allocations: 1.385 MB / 457.6 MB, free: 110.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/2.811, allocations: 305 kB / 457.9 MB, free: 110.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/2.825, allocations: 3.659 MB / 461.6 MB, free: 109 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004094/2.829, allocations: 1.981 MB / 463.6 MB, free: 108.1 MB / 346.7 MB Notification: Performance of SimCode: time 1.462e-06/2.829, allocations: 1.5 kB / 463.6 MB, free: 108.1 MB / 346.7 MB