Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.1/2.1, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2323/2.332, allocations: 46.83 MB / 249.4 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/2.426, allocations: 44.51 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/2.8, allocations: 102.3 MB / 396.2 MB, free: 1.227 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/2.8, allocations: 83.23 kB / 396.3 MB, free: 1.215 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.3728/3.173, allocations: 81.47 MB / 477.8 MB, free: 9.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/3.173, allocations: 8 kB / 477.8 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008021/3.181, allocations: 0.7219 MB / 478.5 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/3.196, allocations: 3.272 MB / 481.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/3.197, allocations: 100 kB / 481.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/3.198, allocations: 187.9 kB / 482.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01307/3.211, allocations: 3.156 MB / 485.2 MB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/3.226, allocations: 3.652 MB / 488.9 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/3.226, allocations: 4 kB / 488.9 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005132/3.226, allocations: 0 / 488.9 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002339/3.227, allocations: 146.3 kB / 489 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04275/3.27, allocations: 12.73 MB / 0.49 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1514/3.421, allocations: 1.051 MB / 0.491 GB, free: 117.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004146/3.425, allocations: 1.33 MB / 0.4923 GB, free: 117.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/3.437, allocations: 3.986 MB / 0.4962 GB, free: 116.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/3.437, allocations: 52.94 kB / 0.4963 GB, free: 116.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=148): time 5.109e-06/3.437, allocations: 3.969 kB / 0.4963 GB, free: 116.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=151): time 0.01473/3.452, allocations: 4.33 MB / 0.5005 GB, free: 116.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/3.452, allocations: 69.06 kB / 0.5006 GB, free: 116.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/3.455, allocations: 1.215 MB / 0.5017 GB, free: 115.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003282/3.456, allocations: 25.7 kB / 0.5018 GB, free: 115.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007867/3.456, allocations: 1.149 MB / 0.5029 GB, free: 115.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006212/3.457, allocations: 0.4958 MB / 0.5034 GB, free: 115.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/3.457, allocations: 0 / 0.5034 GB, free: 115.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/3.457, allocations: 380.6 kB / 0.5037 GB, free: 114.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/3.459, allocations: 0.7003 MB / 0.5044 GB, free: 114.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/3.462, allocations: 1.171 MB / 0.5056 GB, free: 114.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/3.465, allocations: 0.972 MB / 0.5065 GB, free: 114.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/3.465, allocations: 3.656 kB / 0.5065 GB, free: 114.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.00761/3.473, allocations: 2.397 MB / 0.5089 GB, free: 114 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/3.473, allocations: 7.438 kB / 0.5089 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/3.473, allocations: 13.38 kB / 0.5089 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/3.474, allocations: 272 kB / 0.5091 GB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003891/3.478, allocations: 410.2 kB / 0.5095 GB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007668/3.486, allocations: 5.371 MB / 0.5148 GB, free: 110.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/3.489, allocations: 46.3 kB / 0.5148 GB, free: 110.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/3.489, allocations: 74.11 kB / 0.5149 GB, free: 110.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 205 * 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 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004688/3.489, allocations: 150.1 kB / 0.515 GB, free: 110.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000444/3.49, allocations: 171.8 kB / 0.5152 GB, free: 110 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007711/3.497, allocations: 2.273 MB / 0.5174 GB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/3.498, allocations: 15.77 kB / 0.5174 GB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/3.498, allocations: 7.531 kB / 0.5174 GB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/3.498, allocations: 7.828 kB / 0.5175 GB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/3.512, allocations: 5.022 MB / 0.5224 GB, free: 108.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/3.512, allocations: 3.281 kB / 0.5224 GB, free: 108.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002412/3.514, allocations: 218 kB / 0.5226 GB, free: 108.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/3.517, allocations: 447.9 kB / 0.523 GB, free: 108.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000246/3.517, allocations: 19.98 kB / 0.523 GB, free: 108.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/3.532, allocations: 9.464 MB / 0.5323 GB, free: 102.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/3.532, allocations: 5.906 kB / 0.5323 GB, free: 102.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009262/3.541, allocations: 3.358 MB / 0.5355 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01181/3.553, allocations: 4.766 MB / 0.5402 GB, free: 100.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/3.554, allocations: 421.7 kB / 0.5406 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004913/3.555, allocations: 15.36 kB / 0.5406 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/3.557, allocations: 51.08 kB / 0.5407 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/3.558, allocations: 80.75 kB / 0.5407 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/3.558, allocations: 44.72 kB / 0.5408 GB, free: 100.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002231/3.56, allocations: 0.9168 MB / 0.5417 GB, free: 99.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004813/3.565, allocations: 0.5457 MB / 0.5422 GB, free: 99.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008496/3.566, allocations: 331.1 kB / 0.5425 GB, free: 99.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005537/3.571, allocations: 2.156 MB / 0.5446 GB, free: 98.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/3.571, allocations: 0 / 0.5446 GB, free: 98.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003978/3.575, allocations: 1.467 MB / 0.5461 GB, free: 97.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/3.579, allocations: 337.5 kB / 0.5464 GB, free: 97.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/3.595, allocations: 4.554 MB / 0.5508 GB, free: 95.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004377/3.599, allocations: 2.476 MB / 0.5533 GB, free: 94.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.373e-06/3.6, allocations: 0 / 0.5533 GB, free: 94.8 MB / 394.7 MB