Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_2_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.861/1.861, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2596/2.121, allocations: 46.84 MB / 249.3 MB, free: 5.375 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/2.226, allocations: 44.5 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3492/2.575, allocations: 99.63 MB / 393.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/2.575, allocations: 81.7 kB / 393.6 MB, free: 2.43 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.3047/2.88, allocations: 50.89 MB / 444.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/2.88, allocations: 11.94 kB / 444.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/2.883, allocations: 328.4 kB / 444.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007268/2.89, allocations: 1.744 MB / 446.5 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/2.89, allocations: 76 kB / 446.6 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/2.891, allocations: 139.9 kB / 446.7 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009647/2.901, allocations: 2.442 MB / 449.2 MB, free: 6.434 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/2.916, allocations: 2.801 MB / 452 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002665/2.916, allocations: 7.938 kB / 452 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/2.917, allocations: 4 kB / 452 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/2.917, allocations: 100.3 kB / 452.1 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03322/2.951, allocations: 9.557 MB / 461.6 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/2.954, allocations: 0.9971 MB / 462.6 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003702/2.958, allocations: 1.16 MB / 463.8 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005561/2.958, allocations: 138.3 kB / 463.9 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/2.958, allocations: 55.81 kB / 464 MB, free: 7.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 4.649e-06/2.958, allocations: 0 / 464 MB, free: 7.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.02173/2.98, allocations: 5.424 MB / 469.4 MB, free: 1.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/2.98, allocations: 64.72 kB / 469.5 MB, free: 1.613 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004615/2.985, allocations: 1.24 MB / 470.7 MB, free: 376 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004306/2.985, allocations: 25.7 kB / 470.7 MB, free: 344 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/2.986, allocations: 0.8386 MB / 471.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009332/2.987, allocations: 469 kB / 472 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/2.988, allocations: 0 / 472 MB, free: 15.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002528/2.988, allocations: 373.8 kB / 472.4 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002695/2.991, allocations: 0.859 MB / 473.3 MB, free: 13.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/2.994, allocations: 1.172 MB / 474.4 MB, free: 12.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/2.997, allocations: 1.006 MB / 475.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-05/2.997, allocations: 4 kB / 475.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.01041/3.008, allocations: 2.832 MB / 478.3 MB, free: 8.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/3.008, allocations: 4 kB / 478.3 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/3.008, allocations: 12 kB / 478.3 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00413/3.012, allocations: 0.8383 MB / 479.1 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/3.015, allocations: 299.5 kB / 479.4 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/3.034, allocations: 8.45 MB / 487.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/3.037, allocations: 51.94 kB / 487.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006074/3.038, allocations: 60 kB / 488 MB, free: 14.55 MB / 394.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.0006018/3.038, allocations: 149 kB / 488.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007075/3.039, allocations: 173.8 kB / 488.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/3.049, allocations: 2.698 MB / 491 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.936e-05/3.049, allocations: 16 kB / 491 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.09e-05/3.049, allocations: 11.98 kB / 491 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-05/3.05, allocations: 7.969 kB / 491 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01968/3.069, allocations: 5.248 MB / 496.3 MB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.683e-05/3.069, allocations: 4 kB / 496.3 MB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/3.071, allocations: 199.8 kB / 496.5 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004778/3.076, allocations: 0.8831 MB / 497.4 MB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004257/3.077, allocations: 15.98 kB / 497.4 MB, free: 5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1748/3.252, allocations: 9.891 MB / 0.4954 GB, free: 133.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/3.252, allocations: 3.969 kB / 0.4954 GB, free: 133.6 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01139/3.263, allocations: 4.186 MB / 0.4995 GB, free: 133.1 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01413/3.277, allocations: 5.95 MB / 0.5053 GB, free: 132.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/3.279, allocations: 449 kB / 0.5057 GB, free: 132.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000944/3.28, allocations: 7.594 kB / 0.5057 GB, free: 132.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/3.283, allocations: 57.89 kB / 0.5058 GB, free: 132.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006736/3.283, allocations: 101.2 kB / 0.5059 GB, free: 132.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002675/3.284, allocations: 44.19 kB / 0.5059 GB, free: 132.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002664/3.286, allocations: 0.9339 MB / 0.5068 GB, free: 132.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004456/3.291, allocations: 0.5106 MB / 0.5073 GB, free: 132.1 MB / 394.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.001014/3.292, allocations: 280.3 kB / 0.5076 GB, free: 132 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007364/3.299, allocations: 2.74 MB / 0.5103 GB, free: 131.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/3.299, allocations: 0 / 0.5103 GB, free: 131.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00518/3.305, allocations: 1.839 MB / 0.5121 GB, free: 130.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004019/3.309, allocations: 362.7 kB / 0.5124 GB, free: 130.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/3.325, allocations: 4.265 MB / 0.5166 GB, free: 130.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004826/3.33, allocations: 2.153 MB / 0.5187 GB, free: 129.3 MB / 394.7 MB Notification: Performance of SimCode: time 2.845e-06/3.33, allocations: 3.656 kB / 0.5187 GB, free: 129.3 MB / 394.7 MB