Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_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.721/1.721, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2737/1.995, allocations: 46.84 MB / 249.3 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0952/2.09, allocations: 44.51 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3758/2.466, allocations: 119.9 MB / 413.8 MB, free: 2.516 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/2.466, allocations: 85.52 kB / 413.9 MB, free: 2.473 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.2752/2.742, allocations: 56.93 MB / 470.8 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/2.742, allocations: 8 kB / 470.8 MB, free: 0.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003429/2.745, allocations: 440 kB / 471.3 MB, free: 368 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007477/2.753, allocations: 1.722 MB / 473 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/2.753, allocations: 76 kB / 473 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/2.754, allocations: 143.9 kB / 473.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009354/2.763, allocations: 2.266 MB / 475.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/2.777, allocations: 2.63 MB / 478.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/2.778, allocations: 7.906 kB / 478.1 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/2.779, allocations: 4 kB / 478.1 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002454/2.779, allocations: 96.55 kB / 478.2 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04279/2.822, allocations: 9.694 MB / 487.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005085/2.827, allocations: 1.098 MB / 489 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004854/2.832, allocations: 1.178 MB / 490.2 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007068/2.833, allocations: 138.4 kB / 490.3 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.948e-05/2.833, allocations: 59.78 kB / 490.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 6.282e-06/2.833, allocations: 0 / 490.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.03421/2.867, allocations: 5.833 MB / 496.2 MB, free: 6.832 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001891/2.867, allocations: 172.2 kB / 496.4 MB, free: 6.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006485/2.874, allocations: 1.326 MB / 497.7 MB, free: 5.301 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005562/2.875, allocations: 25.7 kB / 497.7 MB, free: 5.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001638/2.876, allocations: 0.8783 MB / 498.6 MB, free: 4.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001506/2.878, allocations: 0.5619 MB / 499.1 MB, free: 3.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/2.878, allocations: 4 kB / 499.2 MB, free: 3.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004553/2.879, allocations: 381.9 kB / 499.5 MB, free: 3.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004271/2.883, allocations: 0.8747 MB / 0.4887 GB, free: 2.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005057/2.888, allocations: 1.293 MB / 0.4899 GB, free: 1.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1884/3.077, allocations: 1.083 MB / 0.491 GB, free: 129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-05/3.077, allocations: 2.25 kB / 0.491 GB, free: 129 MB / 394.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01529/3.092, allocations: 3.084 MB / 0.494 GB, free: 128.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001388/3.093, allocations: 4.645 MB / 0.4985 GB, free: 124 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/3.094, allocations: 14.11 kB / 0.4986 GB, free: 124 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006541/3.1, allocations: 0.952 MB / 0.4995 GB, free: 124 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004154/3.104, allocations: 369.9 kB / 0.4998 GB, free: 124 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03086/3.135, allocations: 11.02 MB / 0.5106 GB, free: 119 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004335/3.14, allocations: 51.27 kB / 0.5106 GB, free: 119 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007398/3.141, allocations: 76.31 kB / 0.5107 GB, free: 119 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/3.141, allocations: 5.375 kB / 0.5107 GB, free: 119 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01402/3.155, allocations: 2.853 MB / 0.5135 GB, free: 118.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/3.155, allocations: 14.14 kB / 0.5135 GB, free: 118.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006304/3.161, allocations: 0.9659 MB / 0.5145 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004072/3.165, allocations: 354.4 kB / 0.5148 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02876/3.194, allocations: 11 MB / 0.5255 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/3.197, allocations: 44.23 kB / 0.5256 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002728/3.197, allocations: 75.72 kB / 0.5257 GB, free: 113.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (189): * Single equations (assignments): 182 * 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 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005405/3.198, allocations: 155.1 kB / 0.5258 GB, free: 113.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005221/3.198, allocations: 196.7 kB / 0.526 GB, free: 113.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007643/3.206, allocations: 2.797 MB / 0.5287 GB, free: 113.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/3.206, allocations: 17.66 kB / 0.5287 GB, free: 113.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/3.206, allocations: 7.688 kB / 0.5287 GB, free: 113.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.094e-05/3.206, allocations: 14.41 kB / 0.5288 GB, free: 113.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/3.222, allocations: 5.414 MB / 0.5341 GB, free: 112.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/3.222, allocations: 7.375 kB / 0.5341 GB, free: 112.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/3.224, allocations: 215.1 kB / 0.5343 GB, free: 112.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004709/3.229, allocations: 1.026 MB / 0.5353 GB, free: 112.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003375/3.229, allocations: 18.86 kB / 0.5353 GB, free: 112.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02079/3.25, allocations: 12.63 MB / 0.5476 GB, free: 103.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/3.25, allocations: 1.781 kB / 0.5476 GB, free: 103.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01041/3.26, allocations: 4.317 MB / 0.5518 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01379/3.274, allocations: 6.03 MB / 0.5577 GB, free: 98.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/3.276, allocations: 471.8 kB / 0.5582 GB, free: 98.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005896/3.277, allocations: 11.2 kB / 0.5582 GB, free: 98.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/3.279, allocations: 65.97 kB / 0.5582 GB, free: 98.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/3.279, allocations: 100.9 kB / 0.5583 GB, free: 98.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/3.279, allocations: 46.89 kB / 0.5584 GB, free: 98.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00223/3.282, allocations: 0.9891 MB / 0.5593 GB, free: 98.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008306/3.29, allocations: 1.034 MB / 0.5604 GB, free: 98.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],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 (114): * Single equations (assignments): 109 * 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: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/3.291, allocations: 356.2 kB / 0.5607 GB, free: 98.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01352/3.305, allocations: 4.999 MB / 0.5656 GB, free: 95.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/3.305, allocations: 4 kB / 0.5656 GB, free: 95.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004858/3.31, allocations: 1.873 MB / 0.5674 GB, free: 93.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003813/3.313, allocations: 390.1 kB / 0.5678 GB, free: 93.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/3.329, allocations: 4.747 MB / 0.5724 GB, free: 89.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002981/3.333, allocations: 2.131 MB / 0.5745 GB, free: 87.74 MB / 394.7 MB Notification: Performance of SimCode: time 1.624e-06/3.333, allocations: 4 kB / 0.5745 GB, free: 87.73 MB / 394.7 MB