Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier",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.861/1.861, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2154/2.077, allocations: 46.84 MB / 249.4 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/2.172, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3893/2.562, allocations: 124.5 MB / 418.4 MB, free: 14.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/2.562, allocations: 85.64 kB / 418.5 MB, free: 14.02 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.6165/3.179, allocations: 97.89 MB / 0.5043 GB, free: 69.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/3.179, allocations: 7.656 kB / 0.5043 GB, free: 69.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009554/3.188, allocations: 0.9202 MB / 0.5052 GB, free: 68.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/3.204, allocations: 3.598 MB / 0.5087 GB, free: 68.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/3.204, allocations: 121.9 kB / 0.5088 GB, free: 68.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/3.206, allocations: 221.4 kB / 0.509 GB, free: 68.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01299/3.219, allocations: 3.524 MB / 0.5125 GB, free: 68.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01446/3.233, allocations: 4.046 MB / 0.5164 GB, free: 67.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/3.233, allocations: 11.3 kB / 0.5164 GB, free: 67.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005791/3.234, allocations: 3.656 kB / 0.5164 GB, free: 67.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001876/3.234, allocations: 153.8 kB / 0.5166 GB, free: 67.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04443/3.279, allocations: 15.18 MB / 0.5314 GB, free: 64.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/3.283, allocations: 1.432 MB / 0.5328 GB, free: 64.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004897/3.288, allocations: 1.729 MB / 0.5345 GB, free: 64.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01641/3.304, allocations: 5.289 MB / 0.5397 GB, free: 62.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/3.304, allocations: 51.97 kB / 0.5397 GB, free: 62.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=209): time 6.352e-06/3.304, allocations: 0 / 0.5397 GB, free: 62.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=212): time 0.01911/3.323, allocations: 5.571 MB / 0.5451 GB, free: 60.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/3.323, allocations: 182.6 kB / 0.5453 GB, free: 59.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004029/3.328, allocations: 1.56 MB / 0.5468 GB, free: 59.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004534/3.328, allocations: 29.11 kB / 0.5469 GB, free: 59.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008063/3.329, allocations: 1.301 MB / 0.5481 GB, free: 58.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008898/3.33, allocations: 0.6886 MB / 0.5488 GB, free: 57.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/3.33, allocations: 4.781 kB / 0.5488 GB, free: 57.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/3.33, allocations: 401.6 kB / 0.5492 GB, free: 57.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002742/3.333, allocations: 0.9277 MB / 0.5501 GB, free: 56.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00316/3.336, allocations: 1.544 MB / 0.5516 GB, free: 55.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004267/3.34, allocations: 1.229 MB / 0.5528 GB, free: 55.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.669e-05/3.341, allocations: 6.75 kB / 0.5528 GB, free: 55.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.01009/3.351, allocations: 3.111 MB / 0.5559 GB, free: 54.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001524/3.352, allocations: 7.439 MB / 0.5631 GB, free: 46.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.933e-05/3.352, allocations: 18.19 kB / 0.5631 GB, free: 46.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/3.355, allocations: 477.7 kB / 0.5636 GB, free: 46.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005273/3.36, allocations: 0.5231 MB / 0.5641 GB, free: 46.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/3.371, allocations: 7.611 MB / 0.5715 GB, free: 39.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003667/3.375, allocations: 49.8 kB / 0.5716 GB, free: 39.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004312/3.375, allocations: 101.6 kB / 0.5717 GB, free: 39.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/3.375, allocations: 3.906 kB / 0.5717 GB, free: 39.9 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009469/3.385, allocations: 2.837 MB / 0.5745 GB, free: 38.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/3.385, allocations: 19.12 kB / 0.5745 GB, free: 38.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/3.387, allocations: 476.5 kB / 0.5749 GB, free: 38.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005206/3.392, allocations: 0.5212 MB / 0.5754 GB, free: 38.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/3.404, allocations: 7.609 MB / 0.5829 GB, free: 32.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003493/3.407, allocations: 43.5 kB / 0.5829 GB, free: 32.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004432/3.408, allocations: 100.9 kB / 0.583 GB, free: 32.6 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.0007148/3.408, allocations: 172.3 kB / 0.5832 GB, free: 32.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007451/3.409, allocations: 243.3 kB / 0.5834 GB, free: 32.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/3.42, allocations: 2.975 MB / 0.5863 GB, free: 31.08 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.75e-05/3.42, allocations: 23.62 kB / 0.5863 GB, free: 31.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/3.42, allocations: 4.094 kB / 0.5863 GB, free: 31.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-05/3.42, allocations: 11.42 kB / 0.5863 GB, free: 31.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/3.439, allocations: 6.13 MB / 0.5923 GB, free: 27.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/3.439, allocations: 4.125 kB / 0.5923 GB, free: 27.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003424/3.443, allocations: 301.7 kB / 0.5926 GB, free: 26.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003207/3.446, allocations: 0.6556 MB / 0.5933 GB, free: 26.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000329/3.446, allocations: 19.66 kB / 0.5933 GB, free: 26.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/3.465, allocations: 11.88 MB / 0.6049 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.916e-06/3.465, allocations: 7.938 kB / 0.6049 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01194/3.477, allocations: 4.391 MB / 0.6092 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01563/3.492, allocations: 6.17 MB / 0.6152 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/3.494, allocations: 0.5139 MB / 0.6157 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007137/3.495, allocations: 15.23 kB / 0.6157 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/3.498, allocations: 52.98 kB / 0.6158 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003945/3.498, allocations: 118.6 kB / 0.6159 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/3.498, allocations: 55.75 kB / 0.6159 GB, free: 3.934 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002896/3.501, allocations: 1.164 MB / 0.6171 GB, free: 2.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01034/3.512, allocations: 1.242 MB / 0.6183 GB, free: 1.625 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.001211/3.513, allocations: 448.6 kB / 0.6187 GB, free: 1.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01737/3.53, allocations: 5.093 MB / 0.6237 GB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/3.53, allocations: 4 kB / 0.6237 GB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005972/3.536, allocations: 1.915 MB / 0.6256 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004975/3.541, allocations: 463.6 kB / 0.626 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0236/3.565, allocations: 5.779 MB / 0.6316 GB, free: 5.613 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006157/3.571, allocations: 2.748 MB / 0.6343 GB, free: 3.438 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/3.571, allocations: 0 / 0.6343 GB, free: 3.438 MB / 410.7 MB