Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_2_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.793/1.793, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.258/2.051, allocations: 46.83 MB / 249.3 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/2.171, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/2.522, allocations: 98.6 MB / 392.4 MB, free: 2.879 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/2.522, allocations: 85.86 kB / 392.5 MB, free: 2.867 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.201/2.723, allocations: 46.05 MB / 438.6 MB, free: 1.125 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/2.723, allocations: 15.94 kB / 438.6 MB, free: 1.109 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/2.725, allocations: 296.8 kB / 438.9 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006428/2.732, allocations: 1.55 MB / 440.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/2.732, allocations: 64 kB / 440.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/2.733, allocations: 127.9 kB / 440.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008061/2.741, allocations: 2.07 MB / 442.7 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009476/2.751, allocations: 2.387 MB / 445.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/2.751, allocations: 11.91 kB / 445.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003359/2.751, allocations: 7.984 kB / 445.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/2.751, allocations: 83.94 kB / 445.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02619/2.778, allocations: 8.107 MB / 453.3 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/2.781, allocations: 0.8083 MB / 454.1 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/2.785, allocations: 0.9455 MB / 455 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006039/2.785, allocations: 130.1 kB / 455.2 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/2.785, allocations: 44.31 kB / 455.2 MB, free: 40 kB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 6.141e-06/2.786, allocations: 4 kB / 455.2 MB, free: 36 kB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.0189/2.804, allocations: 4.414 MB / 459.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/2.805, allocations: 64.41 kB / 459.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003035/2.808, allocations: 1.108 MB / 460.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003323/2.808, allocations: 29.7 kB / 460.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007619/2.809, allocations: 0.7677 MB / 461.6 MB, free: 9.547 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005902/2.809, allocations: 405.9 kB / 462 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/2.81, allocations: 8 kB / 462 MB, free: 9.137 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/2.81, allocations: 357.9 kB / 462.4 MB, free: 8.781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/2.812, allocations: 0.6989 MB / 463 MB, free: 8.082 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/2.814, allocations: 0.9916 MB / 464 MB, free: 6.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002565/2.817, allocations: 0.8455 MB / 464.9 MB, free: 6.121 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-05/2.817, allocations: 0 / 464.9 MB, free: 6.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007165/2.824, allocations: 2.194 MB / 467.1 MB, free: 3.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/2.824, allocations: 4 kB / 467.1 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/2.824, allocations: 8 kB / 467.1 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/2.826, allocations: 419.3 kB / 467.5 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00306/2.829, allocations: 335.5 kB / 467.8 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007938/2.837, allocations: 4.265 MB / 472.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/2.84, allocations: 47.86 kB / 472.1 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000335/2.84, allocations: 59.98 kB / 472.2 MB, free: 14.54 MB / 378.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.0004375/2.84, allocations: 137.2 kB / 472.3 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006511/2.841, allocations: 150.1 kB / 472.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007099/2.848, allocations: 2.025 MB / 474.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/2.848, allocations: 15.91 kB / 474.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/2.848, allocations: 4 kB / 474.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/2.848, allocations: 7.969 kB / 474.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/2.863, allocations: 4.205 MB / 478.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/2.863, allocations: 0 / 478.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002358/2.865, allocations: 232 kB / 479 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/2.868, allocations: 463 kB / 479.4 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002997/2.868, allocations: 15.98 kB / 479.4 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/2.882, allocations: 5.745 MB / 485.2 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/2.882, allocations: 0 / 485.2 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01038/2.892, allocations: 3.241 MB / 488.4 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01162/2.904, allocations: 4.693 MB / 493.1 MB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/2.905, allocations: 379.2 kB / 493.5 MB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006169/2.906, allocations: 15.98 kB / 493.5 MB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001999/2.908, allocations: 59.94 kB / 493.6 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004911/2.909, allocations: 84.78 kB / 493.6 MB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/2.909, allocations: 35.98 kB / 493.7 MB, free: 8.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002296/2.911, allocations: 0.8333 MB / 494.5 MB, free: 7.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003757/2.915, allocations: 440 kB / 494.9 MB, free: 7.098 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: 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.0009411/2.916, allocations: 279.7 kB / 495.2 MB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005914/2.922, allocations: 2.127 MB / 497.3 MB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/2.922, allocations: 0 / 497.3 MB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004606/2.926, allocations: 1.386 MB / 498.7 MB, free: 3.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003377/2.93, allocations: 312.8 kB / 499 MB, free: 2.883 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2295/3.16, allocations: 3.681 MB / 0.4909 GB, free: 95.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005982/3.166, allocations: 1.983 MB / 0.4929 GB, free: 94.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.765e-06/3.166, allocations: 0 / 0.4929 GB, free: 94.77 MB / 394.7 MB