Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier",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.592/1.592, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.21/1.802, allocations: 46.84 MB / 249.3 MB, free: 5.309 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08559/1.888, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3346/2.222, allocations: 124.5 MB / 418.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/2.223, allocations: 85.27 kB / 418.4 MB, free: 14.05 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.5223/2.745, allocations: 97.89 MB / 0.5042 GB, free: 69.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/2.745, allocations: 10.22 kB / 0.5042 GB, free: 69.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008373/2.754, allocations: 0.9195 MB / 0.5051 GB, free: 68.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/2.768, allocations: 3.596 MB / 0.5086 GB, free: 68.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002536/2.769, allocations: 116.6 kB / 0.5087 GB, free: 68.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001444/2.77, allocations: 224.4 kB / 0.5089 GB, free: 68.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01259/2.783, allocations: 3.522 MB / 0.5124 GB, free: 68.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/2.798, allocations: 4.052 MB / 0.5163 GB, free: 67.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002122/2.798, allocations: 5.594 kB / 0.5164 GB, free: 67.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001188/2.8, allocations: 3.594 kB / 0.5164 GB, free: 67.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001789/2.8, allocations: 158 kB / 0.5165 GB, free: 67.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0421/2.842, allocations: 15.19 MB / 0.5313 GB, free: 64.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/2.846, allocations: 1.428 MB / 0.5327 GB, free: 64.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00458/2.85, allocations: 1.723 MB / 0.5344 GB, free: 64.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01666/2.867, allocations: 5.3 MB / 0.5396 GB, free: 62.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.23e-05/2.867, allocations: 60.75 kB / 0.5396 GB, free: 62.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=209): time 5.881e-06/2.867, allocations: 0 / 0.5396 GB, free: 62.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=212): time 0.01856/2.886, allocations: 5.566 MB / 0.5451 GB, free: 60.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/2.886, allocations: 178.9 kB / 0.5453 GB, free: 59.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/2.89, allocations: 1.56 MB / 0.5468 GB, free: 59.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00047/2.891, allocations: 29.67 kB / 0.5468 GB, free: 59.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/2.892, allocations: 1.298 MB / 0.5481 GB, free: 58.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009921/2.893, allocations: 0.6913 MB / 0.5488 GB, free: 57.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/2.893, allocations: 0.9375 kB / 0.5488 GB, free: 57.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002197/2.893, allocations: 402.1 kB / 0.5491 GB, free: 57.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/2.896, allocations: 0.9249 MB / 0.55 GB, free: 56.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003296/2.899, allocations: 1.55 MB / 0.5516 GB, free: 55.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/2.903, allocations: 1.226 MB / 0.5527 GB, free: 55.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.22e-05/2.903, allocations: 3.812 kB / 0.5528 GB, free: 55.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.009756/2.913, allocations: 3.118 MB / 0.5558 GB, free: 54.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001456/2.915, allocations: 7.431 MB / 0.5631 GB, free: 46.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/2.915, allocations: 21.97 kB / 0.5631 GB, free: 46.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/2.917, allocations: 477.1 kB / 0.5635 GB, free: 46.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004269/2.921, allocations: 0.5261 MB / 0.564 GB, free: 46.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009729/2.931, allocations: 7.605 MB / 0.5715 GB, free: 39.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00326/2.934, allocations: 48.52 kB / 0.5715 GB, free: 39.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005748/2.935, allocations: 101.6 kB / 0.5716 GB, free: 39.92 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/2.935, allocations: 3.906 kB / 0.5716 GB, free: 39.92 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008809/2.944, allocations: 2.841 MB / 0.5744 GB, free: 38.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.644e-05/2.944, allocations: 23 kB / 0.5744 GB, free: 38.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/2.946, allocations: 477.7 kB / 0.5749 GB, free: 38.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004386/2.95, allocations: 0.5177 MB / 0.5754 GB, free: 38.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/2.96, allocations: 7.6 MB / 0.5828 GB, free: 32.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/2.964, allocations: 47.23 kB / 0.5828 GB, free: 32.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006453/2.964, allocations: 101.7 kB / 0.5829 GB, free: 32.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 277 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009206/2.965, allocations: 174 kB / 0.5831 GB, free: 32.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008218/2.966, allocations: 243.8 kB / 0.5833 GB, free: 32.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/2.977, allocations: 2.974 MB / 0.5862 GB, free: 31.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.114e-05/2.977, allocations: 20.12 kB / 0.5863 GB, free: 31.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.94e-05/2.977, allocations: 8.531 kB / 0.5863 GB, free: 31.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.719e-05/2.977, allocations: 11.77 kB / 0.5863 GB, free: 31.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01902/2.996, allocations: 6.127 MB / 0.5923 GB, free: 27.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/2.996, allocations: 6.531 kB / 0.5923 GB, free: 27.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002971/2.999, allocations: 296 kB / 0.5926 GB, free: 26.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/3.002, allocations: 0.6664 MB / 0.5932 GB, free: 26.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004304/3.003, allocations: 15.61 kB / 0.5932 GB, free: 26.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/3.019, allocations: 11.88 MB / 0.6048 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/3.019, allocations: 0 / 0.6048 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01155/3.031, allocations: 4.4 MB / 0.6091 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01479/3.046, allocations: 6.164 MB / 0.6151 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/3.048, allocations: 0.5166 MB / 0.6156 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/3.049, allocations: 15.7 kB / 0.6157 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002977/3.052, allocations: 53.36 kB / 0.6157 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006147/3.052, allocations: 118.4 kB / 0.6158 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002122/3.053, allocations: 55.47 kB / 0.6159 GB, free: 4.098 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.003163/3.056, allocations: 1.157 MB / 0.617 GB, free: 3.031 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01005/3.066, allocations: 1.249 MB / 0.6182 GB, free: 1.789 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 152 * 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: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 16} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001258/3.067, allocations: 439.3 kB / 0.6186 GB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01509/3.082, allocations: 5.035 MB / 0.6236 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/3.082, allocations: 4 kB / 0.6236 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005509/3.088, allocations: 1.912 MB / 0.6254 GB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004768/3.093, allocations: 461.8 kB / 0.6259 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02276/3.116, allocations: 5.791 MB / 0.6315 GB, free: 5.602 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006423/3.122, allocations: 2.746 MB / 0.6342 GB, free: 3.426 MB / 410.7 MB Notification: Performance of SimCode: time 2.805e-06/3.122, allocations: 0 / 0.6342 GB, free: 3.426 MB / 410.7 MB