Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",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.612/1.612, allocations: 171.2 MB / 178.1 MB, free: 8.297 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1765/1.788, allocations: 41.12 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/1.901, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4199/2.321, allocations: 103.2 MB / 361.2 MB, free: 1.305 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/2.321, allocations: 85.06 kB / 361.3 MB, free: 1.262 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: 655 * Number of variables: 655 Notification: Performance of Generate backend data structure: time 0.5661/2.887, allocations: 83.97 MB / 445.3 MB, free: 54.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/2.887, allocations: 15.53 kB / 445.3 MB, free: 54.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/2.891, allocations: 425.7 kB / 445.7 MB, free: 54.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008167/2.9, allocations: 1.761 MB / 447.5 MB, free: 53.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/2.9, allocations: 83.8 kB / 447.6 MB, free: 53.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/2.901, allocations: 148.7 kB / 447.7 MB, free: 53.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01094/2.912, allocations: 2.346 MB / 450.1 MB, free: 53.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/2.923, allocations: 2.818 MB / 452.9 MB, free: 53.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/2.924, allocations: 10.47 kB / 452.9 MB, free: 53.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003836/2.924, allocations: 3.938 kB / 452.9 MB, free: 53.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/2.924, allocations: 106.2 kB / 453 MB, free: 53.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03022/2.954, allocations: 9.965 MB / 463 MB, free: 50.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004383/2.959, allocations: 0.9224 MB / 463.9 MB, free: 50.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003848/2.963, allocations: 0.9159 MB / 464.8 MB, free: 49.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005591/2.963, allocations: 135.8 kB / 464.9 MB, free: 49.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/2.963, allocations: 51.47 kB / 465 MB, free: 49.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 5.541e-06/2.963, allocations: 0 / 465 MB, free: 49.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=143): time 0.02386/2.987, allocations: 5.454 MB / 470.4 MB, free: 47.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/2.987, allocations: 72.34 kB / 470.5 MB, free: 47.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/2.991, allocations: 1.331 MB / 471.8 MB, free: 46.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004685/2.992, allocations: 25.7 kB / 471.9 MB, free: 46.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007301/2.993, allocations: 0.983 MB / 472.9 MB, free: 46.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007219/2.993, allocations: 474.8 kB / 473.3 MB, free: 45.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/2.994, allocations: 3.938 kB / 473.3 MB, free: 45.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/2.994, allocations: 372.6 kB / 473.7 MB, free: 45.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/2.996, allocations: 0.7965 MB / 474.5 MB, free: 45.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00249/2.999, allocations: 1.283 MB / 475.8 MB, free: 44.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/3.002, allocations: 1.017 MB / 476.8 MB, free: 43.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.579e-05/3.002, allocations: 7.844 kB / 476.8 MB, free: 43.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.01386/3.016, allocations: 2.693 MB / 479.5 MB, free: 42.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/3.016, allocations: 5.062 kB / 479.5 MB, free: 42.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.578e-05/3.016, allocations: 20.03 kB / 479.5 MB, free: 42.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002871/3.019, allocations: 0.5832 MB / 480.1 MB, free: 42.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003469/3.022, allocations: 400 kB / 480.5 MB, free: 42.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/3.035, allocations: 4.891 MB / 485.4 MB, free: 40.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/3.038, allocations: 83.09 kB / 485.5 MB, free: 40.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004059/3.038, allocations: 70.19 kB / 485.5 MB, free: 40.06 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004482/3.038, allocations: 164.3 kB / 485.7 MB, free: 39.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007399/3.039, allocations: 183.2 kB / 485.9 MB, free: 39.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008196/3.047, allocations: 2.42 MB / 488.3 MB, free: 38.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.181e-05/3.048, allocations: 17.89 kB / 488.3 MB, free: 38.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/3.048, allocations: 5.25 kB / 488.3 MB, free: 38.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.231e-05/3.048, allocations: 5.062 kB / 488.3 MB, free: 38.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/3.063, allocations: 4.947 MB / 493.3 MB, free: 36.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/3.063, allocations: 3.906 kB / 493.3 MB, free: 36.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002893/3.066, allocations: 249.7 kB / 493.5 MB, free: 36.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003393/3.069, allocations: 0.6443 MB / 494.1 MB, free: 36.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005078/3.07, allocations: 20.38 kB / 494.2 MB, free: 36.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/3.085, allocations: 6.49 MB / 0.4889 GB, free: 32.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.03e-05/3.085, allocations: 4.406 kB / 0.4889 GB, free: 32.73 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01124/3.096, allocations: 3.878 MB / 0.4927 GB, free: 29.62 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01444/3.111, allocations: 5.466 MB / 0.498 GB, free: 24.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/3.112, allocations: 445.7 kB / 0.4985 GB, free: 24.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006797/3.113, allocations: 17.91 kB / 0.4985 GB, free: 24.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00255/3.116, allocations: 78.12 kB / 0.4986 GB, free: 24.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004568/3.116, allocations: 89.83 kB / 0.4987 GB, free: 24.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/3.116, allocations: 43.8 kB / 0.4987 GB, free: 23.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.00269/3.119, allocations: 1.001 MB / 0.4997 GB, free: 23.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004706/3.124, allocations: 0.5254 MB / 0.5002 GB, free: 22.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/3.125, allocations: 303.6 kB / 0.5005 GB, free: 22.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007343/3.132, allocations: 2.371 MB / 0.5028 GB, free: 20.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/3.132, allocations: 0 / 0.5028 GB, free: 20.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004783/3.137, allocations: 1.453 MB / 0.5042 GB, free: 18.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/3.141, allocations: 297.4 kB / 0.5045 GB, free: 18.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/3.16, allocations: 4.122 MB / 0.5085 GB, free: 14.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004786/3.165, allocations: 2.191 MB / 0.5107 GB, free: 12.87 MB / 346.7 MB Notification: Performance of SimCode: time 1.763e-06/3.165, allocations: 0 / 0.5107 GB, free: 12.87 MB / 346.7 MB