Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",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.642/1.642, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1794/1.821, allocations: 41.11 MB / 219.3 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09592/1.917, allocations: 38.76 MB / 258 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3603/2.278, allocations: 94.74 MB / 352.8 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/2.278, allocations: 87.19 kB / 352.8 MB, free: 9.586 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: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.2227/2.501, allocations: 50.84 MB / 403.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/2.501, allocations: 15.98 kB / 403.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/2.503, allocations: 328.3 kB / 404 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005553/2.508, allocations: 1.701 MB / 405.7 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/2.508, allocations: 72 kB / 405.8 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005847/2.509, allocations: 147.9 kB / 405.9 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008054/2.517, allocations: 2.422 MB / 408.4 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008648/2.526, allocations: 2.773 MB / 411.1 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.722e-05/2.526, allocations: 4 kB / 411.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003109/2.526, allocations: 3.906 kB / 411.1 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/2.526, allocations: 96.41 kB / 411.2 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1671/2.694, allocations: 9.499 MB / 420.7 MB, free: 119 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/2.696, allocations: 0.9918 MB / 421.7 MB, free: 119 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002817/2.699, allocations: 1.167 MB / 422.9 MB, free: 119 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/2.699, allocations: 136.9 kB / 423 MB, free: 118.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/2.699, allocations: 46.22 kB / 423.1 MB, free: 118.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=129): time 3.416e-06/2.699, allocations: 0 / 423.1 MB, free: 118.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.01612/2.715, allocations: 5.425 MB / 428.5 MB, free: 118.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/2.716, allocations: 68.59 kB / 428.6 MB, free: 118.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/2.718, allocations: 1.202 MB / 429.8 MB, free: 117.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003703/2.719, allocations: 25.7 kB / 429.8 MB, free: 117.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005239/2.719, allocations: 0.8402 MB / 430.6 MB, free: 117.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005253/2.72, allocations: 476.2 kB / 431.1 MB, free: 117.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/2.72, allocations: 2.125 kB / 431.1 MB, free: 117.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/2.72, allocations: 365 kB / 431.4 MB, free: 117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/2.722, allocations: 0.8596 MB / 432.3 MB, free: 117 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/2.724, allocations: 1.17 MB / 433.5 MB, free: 116.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/2.726, allocations: 1.011 MB / 434.5 MB, free: 116.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/2.726, allocations: 3.625 kB / 434.5 MB, free: 116.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007346/2.734, allocations: 2.836 MB / 437.3 MB, free: 116.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/2.734, allocations: 3.625 kB / 437.3 MB, free: 116.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/2.734, allocations: 7.531 kB / 437.3 MB, free: 116.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003246/2.737, allocations: 0.8253 MB / 438.2 MB, free: 116.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/2.739, allocations: 311.4 kB / 438.5 MB, free: 116.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/2.754, allocations: 8.45 MB / 446.9 MB, free: 112.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/2.756, allocations: 52.28 kB / 447 MB, free: 112.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003524/2.756, allocations: 62.56 kB / 447 MB, free: 112.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006204/2.757, allocations: 138.4 kB / 447.2 MB, free: 112.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/2.758, allocations: 171.2 kB / 447.3 MB, free: 112.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007664/2.765, allocations: 2.703 MB / 450 MB, free: 111.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/2.765, allocations: 18.78 kB / 450.1 MB, free: 111.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.259e-05/2.765, allocations: 10.56 kB / 450.1 MB, free: 111.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.813e-05/2.765, allocations: 10.84 kB / 450.1 MB, free: 111.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/2.784, allocations: 5.231 MB / 455.3 MB, free: 109.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/2.784, allocations: 3.875 kB / 455.3 MB, free: 109.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/2.786, allocations: 201.8 kB / 455.5 MB, free: 109.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004/2.79, allocations: 0.8805 MB / 456.4 MB, free: 109.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/2.79, allocations: 18.5 kB / 456.4 MB, free: 109.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0162/2.806, allocations: 9.89 MB / 466.3 MB, free: 102.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/2.806, allocations: 2.75 kB / 466.3 MB, free: 102.2 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01172/2.818, allocations: 4.19 MB / 470.5 MB, free: 100.4 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01321/2.831, allocations: 5.946 MB / 476.4 MB, free: 95.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/2.833, allocations: 454.9 kB / 476.9 MB, free: 95.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004442/2.833, allocations: 11.19 kB / 476.9 MB, free: 95.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/2.835, allocations: 54.16 kB / 476.9 MB, free: 94.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003831/2.836, allocations: 105.5 kB / 477 MB, free: 94.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/2.836, allocations: 39.19 kB / 477.1 MB, free: 94.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.002023/2.838, allocations: 0.9124 MB / 478 MB, free: 94.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004024/2.842, allocations: 0.5134 MB / 478.5 MB, free: 93.58 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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008893/2.843, allocations: 284.2 kB / 478.8 MB, free: 93.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006422/2.849, allocations: 2.747 MB / 481.5 MB, free: 90.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/2.849, allocations: 0 / 481.5 MB, free: 90.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005416/2.855, allocations: 1.839 MB / 483.4 MB, free: 89.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/2.858, allocations: 357.3 kB / 483.7 MB, free: 88.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/2.87, allocations: 4.239 MB / 488 MB, free: 85.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00322/2.873, allocations: 2.144 MB / 490.1 MB, free: 83.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.894e-06/2.873, allocations: 0 / 490.1 MB, free: 83.5 MB / 346.7 MB