Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_1_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 1.764/1.764, allocations: 171.2 MB / 178.1 MB, free: 8.266 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1794/1.943, allocations: 41.1 MB / 219.3 MB, free: 11.17 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/2.033, allocations: 38.76 MB / 258 MB, free: 4.344 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3255/2.359, allocations: 92.73 MB / 350.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/2.359, allocations: 90.06 kB / 350.8 MB, free: 11.57 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.1971/2.557, allocations: 42.45 MB / 393.3 MB, free: 5.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/2.557, allocations: 8 kB / 393.3 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/2.558, allocations: 265.1 kB / 393.5 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005154/2.563, allocations: 1.373 MB / 394.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/2.564, allocations: 64 kB / 395 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007687/2.564, allocations: 107.9 kB / 395.1 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006513/2.571, allocations: 1.78 MB / 396.9 MB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007395/2.578, allocations: 2.096 MB / 399 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.882e-05/2.578, allocations: 7.984 kB / 399 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004367/2.579, allocations: 4 kB / 399 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/2.579, allocations: 83.52 kB / 399.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02441/2.604, allocations: 7.135 MB / 406.2 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003909/2.608, allocations: 0.7275 MB / 406.9 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003443/2.611, allocations: 0.7514 MB / 407.7 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006843/2.612, allocations: 129.8 kB / 407.8 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.008e-05/2.612, allocations: 39.34 kB / 407.8 MB, free: 6.965 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 6.863e-06/2.612, allocations: 0 / 407.8 MB, free: 6.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01581/2.628, allocations: 3.966 MB / 411.8 MB, free: 2.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/2.628, allocations: 64.41 kB / 411.9 MB, free: 2.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/2.63, allocations: 0.9812 MB / 412.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002648/2.631, allocations: 25.7 kB / 412.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007029/2.631, allocations: 0.7085 MB / 413.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005106/2.632, allocations: 350.8 kB / 413.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/2.632, allocations: 0 / 413.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/2.632, allocations: 353.9 kB / 414.3 MB, free: 416 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1259/2.758, allocations: 0.6053 MB / 414.9 MB, free: 126.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/2.761, allocations: 0.8869 MB / 415.8 MB, free: 126.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/2.763, allocations: 0.7375 MB / 416.5 MB, free: 126.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/2.763, allocations: 3.906 kB / 416.5 MB, free: 126.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006823/2.77, allocations: 2.271 MB / 418.8 MB, free: 126.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/2.77, allocations: 6.719 kB / 418.8 MB, free: 126.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/2.77, allocations: 11.19 kB / 418.8 MB, free: 126.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004533/2.775, allocations: 0.7777 MB / 419.6 MB, free: 126.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/2.777, allocations: 237.5 kB / 419.8 MB, free: 126.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02115/2.799, allocations: 7.771 MB / 427.6 MB, free: 123.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/2.801, allocations: 44.66 kB / 427.6 MB, free: 123.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/2.801, allocations: 54.44 kB / 427.7 MB, free: 123.8 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: 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.0003408/2.801, allocations: 133.8 kB / 427.8 MB, free: 123.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/2.802, allocations: 128.5 kB / 427.9 MB, free: 123.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005256/2.807, allocations: 1.811 MB / 429.7 MB, free: 123.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/2.807, allocations: 10.19 kB / 429.7 MB, free: 123.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/2.807, allocations: 3.75 kB / 429.7 MB, free: 123.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/2.807, allocations: 5.844 kB / 429.8 MB, free: 123.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/2.817, allocations: 3.671 MB / 433.4 MB, free: 123.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/2.817, allocations: 0 / 433.4 MB, free: 123.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/2.819, allocations: 192.3 kB / 433.6 MB, free: 123.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002188/2.821, allocations: 462 kB / 434.1 MB, free: 123.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/2.821, allocations: 18.72 kB / 434.1 MB, free: 123.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007998/2.829, allocations: 5.734 MB / 439.8 MB, free: 119.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/2.83, allocations: 3.594 kB / 439.8 MB, free: 119.5 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00674/2.836, allocations: 2.809 MB / 442.6 MB, free: 119 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01331/2.85, allocations: 4.09 MB / 446.7 MB, free: 117.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/2.851, allocations: 352.8 kB / 447.1 MB, free: 116.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006827/2.852, allocations: 7.688 kB / 447.1 MB, free: 116.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00292/2.855, allocations: 55.73 kB / 447.1 MB, free: 116.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004512/2.856, allocations: 60.11 kB / 447.2 MB, free: 116.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/2.856, allocations: 31.25 kB / 447.2 MB, free: 116.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.003535/2.859, allocations: 0.7482 MB / 448 MB, free: 116.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005354/2.865, allocations: 410.8 kB / 448.4 MB, free: 116.5 MB / 346.7 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.001046/2.866, allocations: 281.8 kB / 448.6 MB, free: 116.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008036/2.874, allocations: 1.853 MB / 450.5 MB, free: 115.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/2.874, allocations: 0 / 450.5 MB, free: 115.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003146/2.877, allocations: 1.242 MB / 451.7 MB, free: 115 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/2.88, allocations: 257.6 kB / 452 MB, free: 114.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/2.894, allocations: 3.254 MB / 455.2 MB, free: 113.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003882/2.898, allocations: 1.813 MB / 457 MB, free: 112.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.763e-06/2.898, allocations: 0 / 457 MB, free: 112.7 MB / 346.7 MB