Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize",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 1.984/1.984, allocations: 194.9 MB / 202.6 MB, free: 6.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2496/2.233, allocations: 46.84 MB / 249.4 MB, free: 5.371 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/2.334, allocations: 44.51 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/2.686, allocations: 102.9 MB / 396.8 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/2.687, allocations: 80.67 kB / 396.9 MB, free: 0.8672 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.3789/3.066, allocations: 82.33 MB / 479.2 MB, free: 7.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/3.066, allocations: 8 kB / 479.2 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01834/3.084, allocations: 0.7256 MB / 480 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01559/3.1, allocations: 3.364 MB / 483.3 MB, free: 3.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/3.1, allocations: 100 kB / 483.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/3.101, allocations: 195.8 kB / 483.6 MB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01336/3.115, allocations: 3.222 MB / 486.8 MB, free: 248 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/3.13, allocations: 3.684 MB / 490.5 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/3.13, allocations: 4 kB / 490.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005154/3.131, allocations: 0 / 490.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002291/3.131, allocations: 142.2 kB / 490.7 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.189/3.32, allocations: 13.04 MB / 0.4919 GB, free: 116.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/3.323, allocations: 1.06 MB / 0.4929 GB, free: 116.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004206/3.327, allocations: 1.383 MB / 0.4943 GB, free: 116.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009772/3.337, allocations: 3.278 MB / 0.4975 GB, free: 115.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/3.337, allocations: 50.02 kB / 0.4975 GB, free: 115.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=153): time 6.502e-06/3.337, allocations: 0 / 0.4975 GB, free: 115.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=173): time 0.02165/3.359, allocations: 5.561 MB / 0.503 GB, free: 114.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/3.359, allocations: 71.19 kB / 0.503 GB, free: 114.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/3.362, allocations: 1.362 MB / 0.5044 GB, free: 114.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003739/3.363, allocations: 25.7 kB / 0.5044 GB, free: 114.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007282/3.364, allocations: 1.138 MB / 0.5055 GB, free: 113.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006807/3.364, allocations: 0.5637 MB / 0.5061 GB, free: 113.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/3.364, allocations: 0 / 0.5061 GB, free: 113.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/3.365, allocations: 381 kB / 0.5064 GB, free: 113.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/3.367, allocations: 0.8198 MB / 0.5072 GB, free: 113.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002664/3.37, allocations: 1.278 MB / 0.5085 GB, free: 112.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/3.373, allocations: 1.106 MB / 0.5095 GB, free: 112.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/3.373, allocations: 3.438 kB / 0.5096 GB, free: 112.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009507/3.383, allocations: 2.743 MB / 0.5122 GB, free: 112.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/3.383, allocations: 7 kB / 0.5122 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.721e-05/3.383, allocations: 17.59 kB / 0.5123 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002801/3.386, allocations: 0.4924 MB / 0.5127 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004333/3.39, allocations: 446.5 kB / 0.5132 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/3.404, allocations: 5.935 MB / 0.519 GB, free: 110 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/3.407, allocations: 44.53 kB / 0.519 GB, free: 110 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/3.408, allocations: 84.97 kB / 0.5191 GB, free: 110 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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): 207 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(8,56.2%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005111/3.408, allocations: 147.4 kB / 0.5192 GB, free: 109.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005144/3.409, allocations: 188.4 kB / 0.5194 GB, free: 109.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008969/3.418, allocations: 2.648 MB / 0.522 GB, free: 109.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/3.418, allocations: 18.81 kB / 0.522 GB, free: 109.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/3.418, allocations: 3.875 kB / 0.522 GB, free: 109.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-05/3.418, allocations: 16.28 kB / 0.522 GB, free: 109.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/3.434, allocations: 5.71 MB / 0.5276 GB, free: 108.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/3.435, allocations: 3.938 kB / 0.5276 GB, free: 108.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003014/3.438, allocations: 257.6 kB / 0.5278 GB, free: 108.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002717/3.44, allocations: 0.4966 MB / 0.5283 GB, free: 108.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003178/3.441, allocations: 19.17 kB / 0.5284 GB, free: 108.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/3.456, allocations: 9.798 MB / 0.5379 GB, free: 102.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/3.456, allocations: 7.188 kB / 0.5379 GB, free: 102.2 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01117/3.467, allocations: 3.961 MB / 0.5418 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01456/3.482, allocations: 5.603 MB / 0.5473 GB, free: 98.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/3.484, allocations: 471.8 kB / 0.5477 GB, free: 97.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007905/3.484, allocations: 11.78 kB / 0.5477 GB, free: 97.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/3.487, allocations: 52 kB / 0.5478 GB, free: 97.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/3.487, allocations: 90.08 kB / 0.5479 GB, free: 97.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/3.488, allocations: 47.89 kB / 0.5479 GB, free: 97.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002667/3.49, allocations: 1.023 MB / 0.5489 GB, free: 97.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004982/3.495, allocations: 0.5818 MB / 0.5495 GB, free: 97.33 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.Phi.im,aimc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 126 * 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 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008803/3.496, allocations: 321.5 kB / 0.5498 GB, free: 97.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007556/3.504, allocations: 2.438 MB / 0.5522 GB, free: 96.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/3.504, allocations: 0 / 0.5522 GB, free: 96.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004563/3.508, allocations: 1.643 MB / 0.5538 GB, free: 95.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00387/3.512, allocations: 353.4 kB / 0.5541 GB, free: 95.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/3.531, allocations: 4.958 MB / 0.5589 GB, free: 93.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004903/3.536, allocations: 2.573 MB / 0.5615 GB, free: 92.12 MB / 394.7 MB Notification: Performance of SimCode: time 1.924e-06/3.536, allocations: 0 / 0.5615 GB, free: 92.12 MB / 394.7 MB