Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",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 2.008/2.008, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2315/2.24, allocations: 46.84 MB / 249.3 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/2.336, allocations: 44.51 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3384/2.675, allocations: 100.1 MB / 394 MB, free: 2.281 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/2.675, allocations: 85.75 kB / 394.1 MB, free: 2.266 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: 550 * Number of variables: 550 Notification: Performance of Generate backend data structure: time 0.246/2.921, allocations: 47.4 MB / 441.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.009e-05/2.921, allocations: 12 kB / 441.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/2.924, allocations: 292.7 kB / 441.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007045/2.931, allocations: 1.588 MB / 443.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/2.931, allocations: 68 kB / 443.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/2.932, allocations: 123.9 kB / 443.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009534/2.942, allocations: 2.035 MB / 445.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/2.952, allocations: 2.417 MB / 448 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/2.952, allocations: 7.906 kB / 448 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006436/2.953, allocations: 7.984 kB / 448 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/2.953, allocations: 96.16 kB / 448.1 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02832/2.981, allocations: 8.206 MB / 456.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/2.984, allocations: 0.8419 MB / 457.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002722/2.987, allocations: 0.8355 MB / 458 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005764/2.988, allocations: 219.1 kB / 458.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/2.988, allocations: 51.47 kB / 458.2 MB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=105): time 3.888e-06/2.988, allocations: 0 / 458.2 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.01956/3.008, allocations: 4.769 MB / 463 MB, free: 8.172 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/3.008, allocations: 64.41 kB / 463.1 MB, free: 8.098 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003131/3.011, allocations: 1.032 MB / 464.1 MB, free: 7.059 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004056/3.011, allocations: 25.7 kB / 464.1 MB, free: 7.027 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009164/3.012, allocations: 0.8176 MB / 464.9 MB, free: 6.195 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007824/3.013, allocations: 425.6 kB / 465.4 MB, free: 5.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/3.013, allocations: 0 / 465.4 MB, free: 5.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002777/3.013, allocations: 361.9 kB / 465.7 MB, free: 5.414 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/3.016, allocations: 0.699 MB / 466.4 MB, free: 4.715 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002641/3.018, allocations: 1.057 MB / 467.5 MB, free: 3.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/3.021, allocations: 0.8768 MB / 468.3 MB, free: 2.617 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-05/3.021, allocations: 0 / 468.3 MB, free: 2.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.01003/3.031, allocations: 2.386 MB / 470.7 MB, free: 220 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/3.031, allocations: 4 kB / 470.7 MB, free: 216 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.809e-05/3.032, allocations: 15.98 kB / 470.8 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00512/3.037, allocations: 0.5765 MB / 471.3 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004511/3.041, allocations: 327.5 kB / 471.6 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/3.056, allocations: 5.794 MB / 477.4 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/3.058, allocations: 63.84 kB / 477.5 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004776/3.059, allocations: 59.98 kB / 477.6 MB, free: 9.133 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 155 * 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: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004642/3.059, allocations: 148.8 kB / 477.7 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006264/3.06, allocations: 150.1 kB / 477.9 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008248/3.068, allocations: 2.199 MB / 480.1 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.298e-05/3.068, allocations: 12 kB / 480.1 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/3.068, allocations: 4 kB / 480.1 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-05/3.068, allocations: 7.984 kB / 480.1 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/3.085, allocations: 4.325 MB / 484.4 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/3.085, allocations: 0 / 484.4 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/3.087, allocations: 208 kB / 484.6 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003569/3.091, allocations: 0.6276 MB / 485.2 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003434/3.091, allocations: 16.11 kB / 485.2 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02467/3.116, allocations: 7.422 MB / 492.7 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-05/3.116, allocations: 4 kB / 492.7 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01236/3.128, allocations: 3.376 MB / 496.1 MB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01571/3.144, allocations: 4.822 MB / 0.4891 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/3.146, allocations: 379.1 kB / 0.4895 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007035/3.147, allocations: 15.98 kB / 0.4895 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002208/3.149, allocations: 59.94 kB / 0.4896 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000633/3.15, allocations: 76.72 kB / 0.4896 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/3.15, allocations: 36.12 kB / 0.4897 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.151/3.301, allocations: 0.7675 MB / 0.4904 GB, free: 140.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00578/3.307, allocations: 458.8 kB / 0.4909 GB, free: 140.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * 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): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/3.308, allocations: 283.8 kB / 0.4911 GB, free: 140.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009085/3.317, allocations: 2.146 MB / 0.4932 GB, free: 139.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/3.317, allocations: 0 / 0.4932 GB, free: 139.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006441/3.324, allocations: 1.351 MB / 0.4945 GB, free: 139.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004788/3.329, allocations: 280.4 kB / 0.4948 GB, free: 139.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/3.348, allocations: 3.673 MB / 0.4984 GB, free: 138.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005601/3.354, allocations: 1.962 MB / 0.5003 GB, free: 137.9 MB / 394.7 MB Notification: Performance of SimCode: time 2.665e-06/3.354, allocations: 0 / 0.5003 GB, free: 137.9 MB / 394.7 MB