Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_1_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.544/1.544, allocations: 171.2 MB / 178.1 MB, free: 8.289 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.203/1.747, allocations: 41.1 MB / 219.2 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/1.833, allocations: 38.77 MB / 258 MB, free: 4.352 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3504/2.183, allocations: 115.4 MB / 373.4 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004339/2.184, allocations: 89.64 kB / 373.5 MB, free: 5.402 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.4485/2.632, allocations: 57.52 MB / 431 MB, free: 82.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/2.632, allocations: 11.59 kB / 431 MB, free: 82.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/2.635, allocations: 437.4 kB / 431.5 MB, free: 82.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006348/2.642, allocations: 1.751 MB / 433.2 MB, free: 81.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/2.642, allocations: 76.38 kB / 433.3 MB, free: 81.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008972/2.643, allocations: 145.7 kB / 433.4 MB, free: 81.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007377/2.65, allocations: 2.257 MB / 435.7 MB, free: 81.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007856/2.658, allocations: 2.637 MB / 438.3 MB, free: 81.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/2.658, allocations: 3.906 kB / 438.3 MB, free: 81.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003306/2.658, allocations: 7.375 kB / 438.3 MB, free: 81.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/2.659, allocations: 102.4 kB / 438.4 MB, free: 81.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02504/2.684, allocations: 9.691 MB / 448.1 MB, free: 77.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002927/2.687, allocations: 1.1 MB / 449.2 MB, free: 77.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/2.689, allocations: 1.177 MB / 450.4 MB, free: 76.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003949/2.69, allocations: 138.8 kB / 450.5 MB, free: 76.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/2.69, allocations: 59.56 kB / 450.6 MB, free: 76.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=151): time 3.887e-06/2.69, allocations: 0 / 450.6 MB, free: 76.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=174): time 0.01888/2.709, allocations: 5.827 MB / 456.4 MB, free: 74.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/2.709, allocations: 197.9 kB / 456.6 MB, free: 74.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003071/2.712, allocations: 1.325 MB / 457.9 MB, free: 73.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003968/2.712, allocations: 29.64 kB / 458 MB, free: 73.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005058/2.713, allocations: 0.878 MB / 458.9 MB, free: 73.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006177/2.714, allocations: 0.5567 MB / 459.4 MB, free: 72.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/2.714, allocations: 5.688 kB / 459.4 MB, free: 72.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/2.714, allocations: 385 kB / 459.8 MB, free: 72.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/2.716, allocations: 0.8763 MB / 460.7 MB, free: 71.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/2.719, allocations: 1.303 MB / 462 MB, free: 71.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/2.721, allocations: 1.069 MB / 463 MB, free: 70.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.513e-05/2.721, allocations: 8.125 kB / 463 MB, free: 70.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.00965/2.731, allocations: 3.089 MB / 466.1 MB, free: 69.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/2.731, allocations: 7 kB / 466.1 MB, free: 69.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.873e-05/2.731, allocations: 18.06 kB / 466.2 MB, free: 69.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004317/2.736, allocations: 0.9545 MB / 467.1 MB, free: 69.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/2.739, allocations: 363.1 kB / 467.5 MB, free: 69.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/2.76, allocations: 11.03 MB / 478.5 MB, free: 61.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/2.763, allocations: 50.73 kB / 478.5 MB, free: 61.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003322/2.763, allocations: 69.22 kB / 478.6 MB, free: 61.82 MB / 346.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.0005183/2.763, allocations: 155.9 kB / 478.8 MB, free: 61.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006924/2.764, allocations: 203.5 kB / 479 MB, free: 61.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008056/2.772, allocations: 2.797 MB / 481.8 MB, free: 59.76 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/2.772, allocations: 20 kB / 481.8 MB, free: 59.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/2.772, allocations: 8 kB / 481.8 MB, free: 59.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/2.772, allocations: 7.781 kB / 481.8 MB, free: 59.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/2.786, allocations: 5.402 MB / 487.2 MB, free: 55.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/2.786, allocations: 3.938 kB / 487.2 MB, free: 55.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/2.788, allocations: 226.1 kB / 487.4 MB, free: 55.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004433/2.793, allocations: 1.024 MB / 488.4 MB, free: 54.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/2.793, allocations: 15.14 kB / 488.5 MB, free: 54.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/2.813, allocations: 12.64 MB / 0.4894 GB, free: 42.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/2.813, allocations: 4 kB / 0.4894 GB, free: 42.22 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009994/2.823, allocations: 4.309 MB / 0.4936 GB, free: 38.33 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01245/2.836, allocations: 6.028 MB / 0.4994 GB, free: 32.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/2.837, allocations: 472.1 kB / 0.4999 GB, free: 32.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005112/2.838, allocations: 23.7 kB / 0.4999 GB, free: 32.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/2.84, allocations: 59.23 kB / 0.5 GB, free: 32.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/2.84, allocations: 95.95 kB / 0.5001 GB, free: 32.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/2.841, allocations: 44 kB / 0.5001 GB, free: 32.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.002002/2.843, allocations: 0.9978 MB / 0.5011 GB, free: 31.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003988/2.847, allocations: 0.6248 MB / 0.5017 GB, free: 30.74 MB / 346.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.000801/2.847, allocations: 359.9 kB / 0.502 GB, free: 30.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006764/2.854, allocations: 2.897 MB / 0.5049 GB, free: 27.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/2.854, allocations: 3.906 kB / 0.5049 GB, free: 27.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00476/2.859, allocations: 1.878 MB / 0.5067 GB, free: 25.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003704/2.863, allocations: 399.7 kB / 0.5071 GB, free: 25.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/2.878, allocations: 4.609 MB / 0.5116 GB, free: 21.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003658/2.881, allocations: 2.136 MB / 0.5137 GB, free: 19.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/2.881, allocations: 0 / 0.5137 GB, free: 19.82 MB / 346.7 MB