Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",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.572/1.572, allocations: 171.2 MB / 178.1 MB, free: 8.273 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2192/1.791, allocations: 41.1 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/1.882, allocations: 38.77 MB / 258 MB, free: 4.34 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.294/2.176, allocations: 95.32 MB / 353.3 MB, free: 9.059 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004331/2.176, allocations: 85.12 kB / 353.4 MB, free: 9.012 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: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.2253/2.402, allocations: 46.98 MB / 400.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/2.402, allocations: 12 kB / 400.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/2.403, allocations: 300.7 kB / 400.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005371/2.409, allocations: 1.498 MB / 402.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/2.409, allocations: 75.94 kB / 402.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007171/2.41, allocations: 124 kB / 402.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00766/2.417, allocations: 2.039 MB / 404.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008625/2.426, allocations: 2.433 MB / 406.9 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.049e-05/2.426, allocations: 7.938 kB / 406.9 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/2.427, allocations: 4 kB / 406.9 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/2.427, allocations: 100.2 kB / 407 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1372/2.564, allocations: 8.162 MB / 415.1 MB, free: 123.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/2.566, allocations: 0.8356 MB / 416 MB, free: 123.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002021/2.569, allocations: 0.8288 MB / 416.8 MB, free: 123.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003715/2.569, allocations: 139.8 kB / 416.9 MB, free: 123.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/2.569, allocations: 47.8 kB / 417 MB, free: 123.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 3.266e-06/2.569, allocations: 0 / 417 MB, free: 123.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.01466/2.584, allocations: 4.747 MB / 421.7 MB, free: 123.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/2.584, allocations: 65.88 kB / 421.8 MB, free: 123.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/2.586, allocations: 0.9682 MB / 422.8 MB, free: 122.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/2.586, allocations: 29.45 kB / 422.8 MB, free: 122.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004562/2.586, allocations: 0.8197 MB / 423.6 MB, free: 122.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/2.587, allocations: 423.8 kB / 424 MB, free: 122.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/2.587, allocations: 0 / 424 MB, free: 122.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/2.587, allocations: 363.8 kB / 424.4 MB, free: 122 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/2.589, allocations: 0.6874 MB / 425.1 MB, free: 122 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/2.591, allocations: 1.059 MB / 426.1 MB, free: 121.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/2.593, allocations: 0.8752 MB / 427 MB, free: 121.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/2.593, allocations: 3.844 kB / 427 MB, free: 121.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00677/2.599, allocations: 2.374 MB / 429.4 MB, free: 121.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/2.599, allocations: 3.219 kB / 429.4 MB, free: 121.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/2.599, allocations: 12.41 kB / 429.4 MB, free: 121.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002501/2.602, allocations: 0.5766 MB / 430 MB, free: 121.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/2.605, allocations: 323.9 kB / 430.3 MB, free: 121.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/2.616, allocations: 5.799 MB / 436.1 MB, free: 118.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/2.618, allocations: 66.64 kB / 436.2 MB, free: 118.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/2.618, allocations: 54 kB / 436.2 MB, free: 118.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 154 * 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: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000382/2.619, allocations: 141 kB / 436.4 MB, free: 118.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004071/2.619, allocations: 145.1 kB / 436.5 MB, free: 118.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006238/2.625, allocations: 2.182 MB / 438.7 MB, free: 118.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/2.625, allocations: 13.47 kB / 438.7 MB, free: 118.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/2.625, allocations: 6.188 kB / 438.7 MB, free: 118.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/2.625, allocations: 7.266 kB / 438.7 MB, free: 118.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/2.637, allocations: 4.283 MB / 443 MB, free: 118.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/2.638, allocations: 8.25 kB / 443 MB, free: 118.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/2.639, allocations: 200 kB / 443.2 MB, free: 118.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004484/2.644, allocations: 0.6317 MB / 443.8 MB, free: 118 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004326/2.644, allocations: 18.67 kB / 443.8 MB, free: 118 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/2.661, allocations: 7.399 MB / 451.2 MB, free: 113 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/2.661, allocations: 3.875 kB / 451.2 MB, free: 113 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007849/2.669, allocations: 3.369 MB / 454.6 MB, free: 111.5 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01081/2.68, allocations: 4.794 MB / 459.4 MB, free: 109.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/2.681, allocations: 376.3 kB / 459.8 MB, free: 109 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/2.681, allocations: 6.219 kB / 459.8 MB, free: 109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/2.683, allocations: 60.19 kB / 459.8 MB, free: 109 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/2.683, allocations: 73.89 kB / 459.9 MB, free: 109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/2.683, allocations: 44.69 kB / 460 MB, free: 109 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001687/2.685, allocations: 0.7197 MB / 460.7 MB, free: 108.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003338/2.688, allocations: 456 kB / 461.1 MB, free: 108.6 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 94 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006808/2.689, allocations: 291.5 kB / 461.4 MB, free: 108.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009389/2.699, allocations: 2.139 MB / 463.5 MB, free: 107.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/2.699, allocations: 1.25 kB / 463.5 MB, free: 107.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005737/2.704, allocations: 1.341 MB / 464.9 MB, free: 106.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/2.707, allocations: 270.7 kB / 465.1 MB, free: 106.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/2.718, allocations: 3.647 MB / 468.8 MB, free: 103.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002612/2.72, allocations: 1.953 MB / 470.7 MB, free: 101.6 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/2.721, allocations: 0 / 470.7 MB, free: 101.6 MB / 346.7 MB