Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_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 1.665/1.665, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.27/1.935, allocations: 46.84 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09399/2.029, allocations: 44.49 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3166/2.346, allocations: 102.3 MB / 396.2 MB, free: 1.273 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/2.346, allocations: 85.94 kB / 396.3 MB, free: 1.258 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.3125/2.659, allocations: 81.48 MB / 477.7 MB, free: 9.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/2.659, allocations: 8 kB / 477.7 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006665/2.666, allocations: 0.718 MB / 478.5 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/2.679, allocations: 3.264 MB / 481.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/2.679, allocations: 100 kB / 481.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/2.68, allocations: 187.9 kB / 482 MB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01157/2.692, allocations: 3.16 MB / 485.2 MB, free: 2.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/2.705, allocations: 3.648 MB / 488.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/2.706, allocations: 0 / 488.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004333/2.706, allocations: 11.92 kB / 488.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002111/2.706, allocations: 146.3 kB / 489 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03701/2.743, allocations: 12.71 MB / 0.4899 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/2.746, allocations: 1.06 MB / 0.491 GB, free: 16 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1361/2.883, allocations: 1.335 MB / 0.4923 GB, free: 117.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/2.893, allocations: 3.979 MB / 0.4961 GB, free: 117.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/2.893, allocations: 54.34 kB / 0.4962 GB, free: 117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=148): time 5.15e-06/2.893, allocations: 0 / 0.4962 GB, free: 117 MB / 394.7 MB Notification: Performance of matching and sorting (n=151): time 0.0123/2.905, allocations: 4.332 MB / 0.5004 GB, free: 116.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/2.905, allocations: 70.75 kB / 0.5005 GB, free: 116.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/2.908, allocations: 1.213 MB / 0.5017 GB, free: 116 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000277/2.908, allocations: 32.86 kB / 0.5017 GB, free: 116 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006289/2.909, allocations: 1.149 MB / 0.5028 GB, free: 115.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005042/2.909, allocations: 0.4896 MB / 0.5033 GB, free: 115.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/2.909, allocations: 0 / 0.5033 GB, free: 115.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/2.91, allocations: 376.5 kB / 0.5037 GB, free: 114.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/2.911, allocations: 0.708 MB / 0.5044 GB, free: 114.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/2.913, allocations: 1.169 MB / 0.5055 GB, free: 114.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/2.916, allocations: 0.9696 MB / 0.5064 GB, free: 114.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/2.916, allocations: 3.625 kB / 0.5065 GB, free: 114.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.00633/2.922, allocations: 2.401 MB / 0.5088 GB, free: 114.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/2.922, allocations: 3.469 kB / 0.5088 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/2.922, allocations: 15.03 kB / 0.5088 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/2.923, allocations: 272.9 kB / 0.5091 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/2.927, allocations: 411.3 kB / 0.5095 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006371/2.933, allocations: 5.372 MB / 0.5147 GB, free: 110.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/2.935, allocations: 47.42 kB / 0.5148 GB, free: 110.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/2.936, allocations: 75.06 kB / 0.5148 GB, free: 110.3 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.0004003/2.936, allocations: 151.5 kB / 0.515 GB, free: 110.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/2.936, allocations: 176.6 kB / 0.5151 GB, free: 110.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006359/2.943, allocations: 2.275 MB / 0.5174 GB, free: 109.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/2.943, allocations: 17.56 kB / 0.5174 GB, free: 109.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/2.943, allocations: 3.625 kB / 0.5174 GB, free: 109.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/2.943, allocations: 6.609 kB / 0.5174 GB, free: 109.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/2.955, allocations: 5.022 MB / 0.5223 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/2.955, allocations: 0 / 0.5223 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/2.957, allocations: 215.2 kB / 0.5225 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001972/2.959, allocations: 442.2 kB / 0.5229 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/2.959, allocations: 19.94 kB / 0.5229 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/2.971, allocations: 9.471 MB / 0.5322 GB, free: 102.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/2.971, allocations: 3.375 kB / 0.5322 GB, free: 102.6 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007818/2.979, allocations: 3.364 MB / 0.5355 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009855/2.989, allocations: 4.769 MB / 0.5401 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/2.991, allocations: 420.4 kB / 0.5405 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/2.991, allocations: 15.56 kB / 0.5406 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/2.993, allocations: 52.38 kB / 0.5406 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/2.993, allocations: 79.58 kB / 0.5407 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/2.993, allocations: 47.16 kB / 0.5407 GB, free: 100.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001949/2.995, allocations: 0.9106 MB / 0.5416 GB, free: 99.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003999/2.999, allocations: 0.5475 MB / 0.5421 GB, free: 99.95 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.0007273/3, allocations: 332.9 kB / 0.5425 GB, free: 99.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004726/3.005, allocations: 2.152 MB / 0.5446 GB, free: 98.81 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/3.005, allocations: 0 / 0.5446 GB, free: 98.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003296/3.008, allocations: 1.461 MB / 0.546 GB, free: 97.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/3.011, allocations: 339.6 kB / 0.5463 GB, free: 97.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/3.025, allocations: 4.558 MB / 0.5508 GB, free: 96.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00374/3.028, allocations: 2.479 MB / 0.5532 GB, free: 94.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/3.028, allocations: 0 / 0.5532 GB, free: 94.98 MB / 394.7 MB