Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD",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.579/1.579, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2249/1.804, allocations: 46.84 MB / 249.3 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/1.892, allocations: 44.5 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3087/2.201, allocations: 104.6 MB / 398.5 MB, free: 264 kB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/2.201, allocations: 81.36 kB / 398.6 MB, free: 252 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.347/2.548, allocations: 90.78 MB / 489.4 MB, free: 13.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.33e-05/2.548, allocations: 12 kB / 489.4 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007061/2.556, allocations: 0.7952 MB / 490.2 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/2.57, allocations: 3.672 MB / 493.8 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/2.57, allocations: 127.9 kB / 494 MB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/2.572, allocations: 211.9 kB / 494.2 MB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01358/2.585, allocations: 3.88 MB / 498 MB, free: 5.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/2.6, allocations: 4.384 MB / 0.4907 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/2.601, allocations: 11.88 kB / 0.4907 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005219/2.601, allocations: 4 kB / 0.4907 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002271/2.601, allocations: 167.2 kB / 0.4908 GB, free: 336 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.168/2.769, allocations: 15.39 MB / 0.5059 GB, free: 110.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/2.773, allocations: 1.346 MB / 0.5072 GB, free: 110.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004112/2.777, allocations: 1.689 MB / 0.5088 GB, free: 110.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/2.788, allocations: 4.144 MB / 0.5129 GB, free: 109.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/2.788, allocations: 58.06 kB / 0.5129 GB, free: 109.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=193): time 5.15e-06/2.788, allocations: 0 / 0.5129 GB, free: 109.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=196): time 0.01726/2.805, allocations: 6.071 MB / 0.5189 GB, free: 108.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/2.805, allocations: 75.12 kB / 0.5189 GB, free: 108.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003541/2.809, allocations: 1.591 MB / 0.5205 GB, free: 108.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004291/2.809, allocations: 29.3 kB / 0.5205 GB, free: 108.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007194/2.81, allocations: 1.266 MB / 0.5217 GB, free: 107.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007392/2.811, allocations: 0.6222 MB / 0.5224 GB, free: 107.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/2.811, allocations: 0 / 0.5224 GB, free: 107.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/2.811, allocations: 392.1 kB / 0.5227 GB, free: 107.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/2.814, allocations: 1.009 MB / 0.5237 GB, free: 107.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002694/2.816, allocations: 1.479 MB / 0.5252 GB, free: 106.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/2.82, allocations: 1.287 MB / 0.5264 GB, free: 106.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/2.82, allocations: 3.812 kB / 0.5264 GB, free: 106.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.009474/2.829, allocations: 3.399 MB / 0.5297 GB, free: 106.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/2.829, allocations: 7.469 kB / 0.5297 GB, free: 106.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.063e-05/2.83, allocations: 14.91 kB / 0.5298 GB, free: 106.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004914/2.834, allocations: 0.7235 MB / 0.5305 GB, free: 106.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005342/2.84, allocations: 420 kB / 0.5309 GB, free: 106.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/2.856, allocations: 9.828 MB / 0.5405 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/2.859, allocations: 55.38 kB / 0.5405 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003029/2.859, allocations: 79.81 kB / 0.5406 GB, free: 100.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 216 * 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: 4 * 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: 4 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005069/2.859, allocations: 159.4 kB / 0.5407 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005156/2.86, allocations: 219.9 kB / 0.541 GB, free: 100.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009311/2.869, allocations: 3.329 MB / 0.5442 GB, free: 98.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/2.869, allocations: 22.53 kB / 0.5442 GB, free: 98.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.33e-05/2.869, allocations: 11.12 kB / 0.5442 GB, free: 98.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.27e-05/2.869, allocations: 9.828 kB / 0.5442 GB, free: 98.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/2.886, allocations: 6.764 MB / 0.5509 GB, free: 95.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/2.887, allocations: 0 / 0.5509 GB, free: 95.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/2.889, allocations: 228.9 kB / 0.5511 GB, free: 95.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00384/2.893, allocations: 0.8978 MB / 0.5519 GB, free: 95.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003333/2.893, allocations: 15.23 kB / 0.552 GB, free: 95.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/2.914, allocations: 13.95 MB / 0.5656 GB, free: 85.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/2.914, allocations: 0 / 0.5656 GB, free: 85.02 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.012/2.926, allocations: 4.949 MB / 0.5704 GB, free: 82.71 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01581/2.941, allocations: 6.921 MB / 0.5772 GB, free: 79.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/2.943, allocations: 0.5295 MB / 0.5777 GB, free: 78.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006973/2.944, allocations: 16.19 kB / 0.5777 GB, free: 78.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/2.946, allocations: 55.11 kB / 0.5778 GB, free: 78.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000426/2.947, allocations: 133.2 kB / 0.5779 GB, free: 78.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/2.947, allocations: 50.16 kB / 0.5779 GB, free: 78.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002869/2.95, allocations: 1.195 MB / 0.5791 GB, free: 78.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00544/2.955, allocations: 0.6855 MB / 0.5798 GB, free: 78.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 120 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(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.0009665/2.956, allocations: 329.5 kB / 0.5801 GB, free: 78.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007137/2.964, allocations: 3.103 MB / 0.5831 GB, free: 75.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/2.964, allocations: 3.781 kB / 0.5831 GB, free: 75.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00502/2.969, allocations: 2.121 MB / 0.5852 GB, free: 73.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004114/2.973, allocations: 457.7 kB / 0.5856 GB, free: 73.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/2.99, allocations: 5.773 MB / 0.5913 GB, free: 68.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007083/2.998, allocations: 2.886 MB / 0.5941 GB, free: 66.14 MB / 394.7 MB Notification: Performance of SimCode: time 2.225e-06/2.998, allocations: 0 / 0.5941 GB, free: 66.14 MB / 394.7 MB