Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_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.706/1.706, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2277/1.933, allocations: 46.84 MB / 249.3 MB, free: 5.367 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/2.031, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4244/2.456, allocations: 103.1 MB / 396.9 MB, free: 0.832 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/2.456, allocations: 86.2 kB / 397 MB, free: 0.8203 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.2749/2.731, allocations: 51.27 MB / 448.3 MB, free: 7.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/2.731, allocations: 12 kB / 448.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/2.734, allocations: 324.5 kB / 448.6 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009328/2.743, allocations: 1.675 MB / 450.3 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/2.744, allocations: 75.98 kB / 450.3 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001399/2.745, allocations: 135.8 kB / 450.5 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01068/2.756, allocations: 2.102 MB / 452.6 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/2.77, allocations: 2.523 MB / 455.1 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/2.77, allocations: 11.89 kB / 455.1 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/2.771, allocations: 4 kB / 455.1 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002397/2.771, allocations: 104.3 kB / 455.2 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0375/2.809, allocations: 8.698 MB / 463.9 MB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003724/2.812, allocations: 0.8545 MB / 464.8 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003459/2.816, allocations: 0.8623 MB / 465.6 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007403/2.817, allocations: 211.2 kB / 465.8 MB, free: 5.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.036e-05/2.817, allocations: 51.45 kB / 465.9 MB, free: 5.258 MB / 362.7 MB Notification: Performance of pre-optimization done (n=109): time 6.052e-06/2.817, allocations: 0 / 465.9 MB, free: 5.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=132): time 0.02589/2.843, allocations: 4.943 MB / 470.8 MB, free: 268 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/2.843, allocations: 72.72 kB / 470.9 MB, free: 184 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004555/2.848, allocations: 1.112 MB / 472 MB, free: 15.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004341/2.848, allocations: 25.7 kB / 472 MB, free: 15.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/2.849, allocations: 0.8686 MB / 472.9 MB, free: 14.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/2.85, allocations: 449.3 kB / 473.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/2.851, allocations: 0 / 473.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003188/2.851, allocations: 365.9 kB / 473.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002766/2.854, allocations: 0.7146 MB / 474.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003527/2.857, allocations: 1.126 MB / 475.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003609/2.861, allocations: 0.908 MB / 476.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.411e-05/2.861, allocations: 0 / 476.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01171/2.873, allocations: 2.486 MB / 478.9 MB, free: 7.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/2.873, allocations: 6.031 kB / 478.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.836e-05/2.873, allocations: 12 kB / 479 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003884/2.877, allocations: 0.5765 MB / 479.5 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/2.88, allocations: 351.5 kB / 479.9 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/2.896, allocations: 6.084 MB / 486 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/2.899, allocations: 59.94 kB / 486 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005348/2.899, allocations: 67.98 kB / 486.1 MB, free: 0.5117 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004927/2.9, allocations: 156.2 kB / 486.2 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00067/2.9, allocations: 158 kB / 486.4 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009065/2.909, allocations: 2.247 MB / 488.6 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.604e-05/2.91, allocations: 12 kB / 488.7 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/2.91, allocations: 8 kB / 488.7 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.256e-05/2.91, allocations: 7.969 kB / 488.7 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/2.926, allocations: 4.514 MB / 493.2 MB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-05/2.927, allocations: 4.125 kB / 493.2 MB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002227/2.929, allocations: 212 kB / 493.4 MB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003633/2.932, allocations: 0.6352 MB / 494 MB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003496/2.933, allocations: 19.97 kB / 494 MB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/2.95, allocations: 7.709 MB / 0.49 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.367e-05/2.95, allocations: 11.88 kB / 0.49 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1645/3.115, allocations: 3.503 MB / 0.4934 GB, free: 137.3 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01212/3.127, allocations: 4.987 MB / 0.4983 GB, free: 136.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/3.129, allocations: 399 kB / 0.4987 GB, free: 136.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006701/3.129, allocations: 14.59 kB / 0.4987 GB, free: 136.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/3.132, allocations: 62.19 kB / 0.4988 GB, free: 136.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004394/3.132, allocations: 69.03 kB / 0.4988 GB, free: 136.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/3.132, allocations: 46.17 kB / 0.4989 GB, free: 136.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002202/3.135, allocations: 0.8258 MB / 0.4997 GB, free: 136.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005044/3.14, allocations: 493 kB / 0.5001 GB, free: 136.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 100 * 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,72.2%) 23,(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.00106/3.141, allocations: 329.8 kB / 0.5005 GB, free: 136.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006344/3.147, allocations: 2.203 MB / 0.5026 GB, free: 135.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/3.147, allocations: 3 kB / 0.5026 GB, free: 135.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004378/3.152, allocations: 1.38 MB / 0.504 GB, free: 135.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/3.155, allocations: 338.3 kB / 0.5043 GB, free: 135.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/3.169, allocations: 3.865 MB / 0.5081 GB, free: 134.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00337/3.172, allocations: 2.018 MB / 0.51 GB, free: 133.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.763e-06/3.172, allocations: 0 / 0.51 GB, free: 133.9 MB / 394.7 MB