Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz",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.723/1.723, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.276/1.999, allocations: 46.84 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/2.115, allocations: 44.5 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3157/2.431, allocations: 103.9 MB / 397.7 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/2.431, allocations: 83.77 kB / 397.8 MB, free: 0.625 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.3173/2.748, allocations: 82.66 MB / 480.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/2.748, allocations: 8 kB / 480.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00681/2.755, allocations: 0.7373 MB / 481.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/2.769, allocations: 3.316 MB / 484.5 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/2.769, allocations: 104 kB / 484.6 MB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/2.77, allocations: 199.9 kB / 484.8 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01222/2.783, allocations: 3.196 MB / 488 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/2.798, allocations: 3.708 MB / 491.7 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/2.798, allocations: 11.84 kB / 491.8 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005149/2.798, allocations: 0 / 491.8 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/2.799, allocations: 150.4 kB / 491.9 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1746/2.973, allocations: 13.36 MB / 0.4934 GB, free: 112.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/2.976, allocations: 1.155 MB / 0.4945 GB, free: 112.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00339/2.98, allocations: 1.346 MB / 0.4959 GB, free: 112.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009364/2.989, allocations: 3.399 MB / 0.4992 GB, free: 111.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/2.989, allocations: 55 kB / 0.4992 GB, free: 111.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=171): time 5.75e-06/2.989, allocations: 3.938 kB / 0.4992 GB, free: 111.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.01443/3.004, allocations: 4.761 MB / 0.5039 GB, free: 110.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/3.004, allocations: 67.97 kB / 0.504 GB, free: 110.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/3.006, allocations: 1.255 MB / 0.5052 GB, free: 110.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003562/3.007, allocations: 25.7 kB / 0.5052 GB, free: 110.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006454/3.008, allocations: 1.151 MB / 0.5063 GB, free: 109.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006824/3.008, allocations: 0.5615 MB / 0.5069 GB, free: 109.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/3.008, allocations: 5.906 kB / 0.5069 GB, free: 109.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/3.009, allocations: 384 kB / 0.5072 GB, free: 109.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/3.01, allocations: 0.75 MB / 0.508 GB, free: 109.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/3.013, allocations: 1.221 MB / 0.5092 GB, free: 108.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/3.015, allocations: 1.042 MB / 0.5102 GB, free: 108.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/3.015, allocations: 6.5 kB / 0.5102 GB, free: 108.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=252) (initialization): time 0.007327/3.023, allocations: 2.645 MB / 0.5128 GB, free: 108.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/3.023, allocations: 3.781 kB / 0.5128 GB, free: 108.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/3.023, allocations: 14.53 kB / 0.5128 GB, free: 108.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/3.024, allocations: 386.9 kB / 0.5132 GB, free: 108.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003446/3.028, allocations: 424.6 kB / 0.5136 GB, free: 108.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0093/3.037, allocations: 7.412 MB / 0.5208 GB, free: 103.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/3.04, allocations: 40.48 kB / 0.5208 GB, free: 103.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002922/3.04, allocations: 75.47 kB / 0.5209 GB, free: 103.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 214 * 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%) 7,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004595/3.041, allocations: 157.3 kB / 0.5211 GB, free: 103.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004159/3.041, allocations: 184.9 kB / 0.5212 GB, free: 103.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007245/3.048, allocations: 2.531 MB / 0.5237 GB, free: 102.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/3.048, allocations: 14.97 kB / 0.5237 GB, free: 102.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/3.048, allocations: 9.859 kB / 0.5237 GB, free: 102.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.872e-05/3.048, allocations: 7.312 kB / 0.5237 GB, free: 102.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/3.062, allocations: 5.395 MB / 0.529 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/3.062, allocations: 10.78 kB / 0.529 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002227/3.064, allocations: 231.4 kB / 0.5292 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/3.067, allocations: 0.5423 MB / 0.5298 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002605/3.067, allocations: 17.66 kB / 0.5298 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/3.082, allocations: 11.5 MB / 0.541 GB, free: 94.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/3.082, allocations: 0 / 0.541 GB, free: 94.35 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008932/3.091, allocations: 3.71 MB / 0.5446 GB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01133/3.102, allocations: 5.202 MB / 0.5497 GB, free: 90.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/3.104, allocations: 448.3 kB / 0.5502 GB, free: 90.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004834/3.104, allocations: 11.91 kB / 0.5502 GB, free: 90.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/3.106, allocations: 45.78 kB / 0.5502 GB, free: 90.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/3.106, allocations: 97.67 kB / 0.5503 GB, free: 90.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/3.107, allocations: 48.16 kB / 0.5503 GB, free: 90.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002016/3.109, allocations: 0.9445 MB / 0.5513 GB, free: 90.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00429/3.113, allocations: 0.5771 MB / 0.5518 GB, free: 90.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,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,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 115 * 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%) 7,(3,100.0%) 9,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008024/3.114, allocations: 337.3 kB / 0.5522 GB, free: 89.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00549/3.119, allocations: 2.453 MB / 0.5545 GB, free: 88.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/3.119, allocations: 0 / 0.5545 GB, free: 88.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003932/3.123, allocations: 1.691 MB / 0.5562 GB, free: 87.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003487/3.127, allocations: 371.2 kB / 0.5566 GB, free: 87.67 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/3.143, allocations: 4.911 MB / 0.5614 GB, free: 85.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004255/3.147, allocations: 2.516 MB / 0.5638 GB, free: 84.58 MB / 394.7 MB Notification: Performance of SimCode: time 1.883e-06/3.147, allocations: 0 / 0.5638 GB, free: 84.58 MB / 394.7 MB