Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_2_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.897/1.897, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2751/2.172, allocations: 46.84 MB / 249.3 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/2.295, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3997/2.695, allocations: 98.83 MB / 392.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000436/2.695, allocations: 86.12 kB / 392.8 MB, free: 2.98 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.212/2.907, allocations: 42.76 MB / 435.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.61e-05/2.908, allocations: 15.88 kB / 435.5 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002655/2.91, allocations: 273.1 kB / 435.8 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00686/2.917, allocations: 1.373 MB / 437.2 MB, free: 2.402 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002271/2.917, allocations: 64.5 kB / 437.2 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/2.919, allocations: 114.8 kB / 437.4 MB, free: 2.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009734/2.928, allocations: 1.774 MB / 439.1 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/2.939, allocations: 2.121 MB / 441.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/2.94, allocations: 11.89 kB / 441.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005508/2.94, allocations: 12 kB / 441.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/2.94, allocations: 87.61 kB / 441.4 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03019/2.971, allocations: 7.495 MB / 448.9 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/2.973, allocations: 0.8233 MB / 449.7 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003024/2.976, allocations: 0.9104 MB / 450.6 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000446/2.977, allocations: 130.1 kB / 450.7 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.37e-05/2.977, allocations: 59.41 kB / 450.8 MB, free: 4.586 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 3.858e-06/2.977, allocations: 0 / 450.8 MB, free: 4.586 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.01585/2.993, allocations: 4.236 MB / 455 MB, free: 288 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/2.993, allocations: 64.72 kB / 455.1 MB, free: 212 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/2.995, allocations: 0.9054 MB / 456 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003153/2.996, allocations: 29.7 kB / 456 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006504/2.996, allocations: 0.7124 MB / 456.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006257/2.997, allocations: 421.6 kB / 457.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/2.997, allocations: 0 / 457.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002302/2.997, allocations: 361.9 kB / 457.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/2.999, allocations: 0.6404 MB / 458.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/3.001, allocations: 0.9529 MB / 459.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/3.003, allocations: 0.7987 MB / 459.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/3.003, allocations: 4 kB / 459.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006829/3.01, allocations: 2.156 MB / 462 MB, free: 9.043 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/3.01, allocations: 4 kB / 462 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/3.01, allocations: 8 kB / 462 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/3.012, allocations: 0.4962 MB / 462.5 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002877/3.015, allocations: 327.5 kB / 462.9 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/3.028, allocations: 6.146 MB / 469 MB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/3.03, allocations: 43.86 kB / 469.1 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/3.03, allocations: 59.98 kB / 469.1 MB, free: 1.602 MB / 362.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.0004107/3.031, allocations: 133.2 kB / 469.2 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003792/3.031, allocations: 138.3 kB / 469.4 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006347/3.038, allocations: 2.004 MB / 471.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/3.038, allocations: 12.22 kB / 471.4 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/3.038, allocations: 4 kB / 471.4 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/3.038, allocations: 15.91 kB / 471.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/3.05, allocations: 3.984 MB / 475.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/3.05, allocations: 4 kB / 475.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/3.053, allocations: 220 kB / 475.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002865/3.055, allocations: 0.5426 MB / 476.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003034/3.056, allocations: 15.98 kB / 476.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/3.069, allocations: 7.598 MB / 483.8 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/3.069, allocations: 0 / 483.8 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01172/3.081, allocations: 3.105 MB / 486.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01328/3.094, allocations: 4.458 MB / 491.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/3.095, allocations: 359.3 kB / 491.7 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003726/3.096, allocations: 11.91 kB / 491.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/3.097, allocations: 47.95 kB / 491.7 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/3.098, allocations: 68.88 kB / 491.8 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/3.098, allocations: 43.98 kB / 491.9 MB, free: 10.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001725/3.1, allocations: 0.669 MB / 492.5 MB, free: 9.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003777/3.103, allocations: 423.9 kB / 492.9 MB, free: 8.93 MB / 394.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.0009189/3.104, allocations: 272.3 kB / 493.2 MB, free: 8.656 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005793/3.11, allocations: 2.165 MB / 495.4 MB, free: 6.414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/3.11, allocations: 4 kB / 495.4 MB, free: 6.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004071/3.114, allocations: 1.44 MB / 496.8 MB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/3.117, allocations: 301.9 kB / 497.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/3.129, allocations: 3.454 MB / 0.4888 GB, free: 1.086 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1515/3.281, allocations: 1.809 MB / 0.4906 GB, free: 142 MB / 394.7 MB Notification: Performance of SimCode: time 2.164e-06/3.281, allocations: 0 / 0.4906 GB, free: 142 MB / 394.7 MB