Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",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.499/1.499, allocations: 171.2 MB / 178.1 MB, free: 8.324 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1815/1.68, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0883/1.769, allocations: 38.77 MB / 258 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3435/2.112, allocations: 93.83 MB / 351.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004435/2.113, allocations: 82.5 kB / 351.9 MB, free: 10.44 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.226/2.339, allocations: 41.85 MB / 393.8 MB, free: 5.473 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/2.339, allocations: 8 kB / 393.8 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/2.341, allocations: 265.2 kB / 394 MB, free: 5.203 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00474/2.345, allocations: 1.333 MB / 395.4 MB, free: 3.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/2.346, allocations: 60 kB / 395.4 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000687/2.346, allocations: 123.9 kB / 395.6 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006722/2.353, allocations: 1.757 MB / 397.3 MB, free: 1.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007825/2.361, allocations: 2.105 MB / 399.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/2.361, allocations: 11.84 kB / 399.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/2.361, allocations: 0 / 399.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/2.362, allocations: 83.64 kB / 399.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/2.386, allocations: 7.46 MB / 407 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/2.388, allocations: 0.8342 MB / 407.8 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002897/2.391, allocations: 0.9074 MB / 408.7 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004278/2.391, allocations: 130.1 kB / 408.8 MB, free: 6.023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/2.392, allocations: 47.5 kB / 408.9 MB, free: 5.965 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 3.527e-06/2.392, allocations: 0 / 408.9 MB, free: 5.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.01762/2.409, allocations: 4.248 MB / 413.1 MB, free: 1.652 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/2.409, allocations: 64.72 kB / 413.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/2.413, allocations: 0.8699 MB / 414.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004041/2.414, allocations: 25.7 kB / 414.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1239/2.537, allocations: 0.7026 MB / 414.8 MB, free: 126.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006124/2.538, allocations: 428.7 kB / 415.2 MB, free: 126.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/2.538, allocations: 3.719 kB / 415.2 MB, free: 126.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/2.538, allocations: 366.2 kB / 415.6 MB, free: 126.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/2.54, allocations: 0.64 MB / 416.2 MB, free: 126.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/2.542, allocations: 0.9457 MB / 417.2 MB, free: 126.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/2.544, allocations: 0.8013 MB / 418 MB, free: 126.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/2.544, allocations: 0 / 418 MB, free: 126.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006367/2.55, allocations: 2.156 MB / 420.1 MB, free: 126 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/2.55, allocations: 3.312 kB / 420.1 MB, free: 126 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/2.55, allocations: 9.781 kB / 420.1 MB, free: 126 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/2.553, allocations: 0.5058 MB / 420.6 MB, free: 126 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/2.555, allocations: 318 kB / 420.9 MB, free: 126 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009305/2.565, allocations: 6.148 MB / 427.1 MB, free: 122.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/2.567, allocations: 39.05 kB / 427.1 MB, free: 122.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/2.567, allocations: 56.12 kB / 427.2 MB, free: 122.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003674/2.567, allocations: 142 kB / 427.3 MB, free: 122.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/2.567, allocations: 133.5 kB / 427.5 MB, free: 122.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006178/2.574, allocations: 1.998 MB / 429.5 MB, free: 122 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/2.574, allocations: 15.28 kB / 429.5 MB, free: 122 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/2.574, allocations: 3.281 kB / 429.5 MB, free: 122 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/2.574, allocations: 7.594 kB / 429.5 MB, free: 122 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/2.587, allocations: 3.973 MB / 433.5 MB, free: 121.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/2.587, allocations: 3.969 kB / 433.5 MB, free: 121.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003245/2.59, allocations: 214.1 kB / 433.7 MB, free: 121.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00415/2.594, allocations: 0.546 MB / 434.2 MB, free: 121.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003966/2.595, allocations: 10.77 kB / 434.2 MB, free: 121.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/2.606, allocations: 7.611 MB / 441.8 MB, free: 116.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/2.606, allocations: 3.906 kB / 441.8 MB, free: 116.6 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007668/2.614, allocations: 3.113 MB / 445 MB, free: 116 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009605/2.623, allocations: 4.446 MB / 449.4 MB, free: 113.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/2.625, allocations: 357.4 kB / 449.7 MB, free: 113.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009115/2.626, allocations: 10.94 kB / 449.8 MB, free: 113.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/2.628, allocations: 44.86 kB / 449.8 MB, free: 113.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004333/2.629, allocations: 75.39 kB / 449.9 MB, free: 113.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/2.629, allocations: 37.53 kB / 449.9 MB, free: 113.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001548/2.63, allocations: 0.6534 MB / 450.6 MB, free: 113.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003319/2.634, allocations: 423.5 kB / 451 MB, free: 113.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007751/2.635, allocations: 280.8 kB / 451.3 MB, free: 113.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00696/2.641, allocations: 2.164 MB / 453.4 MB, free: 112.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/2.642, allocations: 0 / 453.4 MB, free: 112.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004897/2.646, allocations: 1.432 MB / 454.8 MB, free: 111.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004008/2.651, allocations: 290.5 kB / 455.1 MB, free: 111.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/2.665, allocations: 3.414 MB / 458.5 MB, free: 109.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003636/2.668, allocations: 1.803 MB / 460.3 MB, free: 108.9 MB / 346.7 MB Notification: Performance of SimCode: time 1.844e-06/2.669, allocations: 0 / 460.3 MB, free: 108.9 MB / 346.7 MB