Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,fileNamePrefix="Modelica_3_2_1_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.507/1.507, allocations: 171.2 MB / 178.1 MB, free: 8.324 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1782/1.685, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08378/1.769, allocations: 38.76 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3306/2.1, allocations: 98.24 MB / 356.3 MB, free: 6.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/2.1, allocations: 85.25 kB / 356.3 MB, free: 6.113 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: 580 * Number of variables: 580 Notification: Performance of Generate backend data structure: time 0.2365/2.336, allocations: 50.87 MB / 407.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.553e-05/2.337, allocations: 8 kB / 407.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/2.34, allocations: 320.5 kB / 407.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009063/2.349, allocations: 1.597 MB / 409.1 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/2.349, allocations: 72 kB / 409.2 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/2.35, allocations: 135.9 kB / 409.3 MB, free: 5.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0111/2.361, allocations: 2.114 MB / 411.4 MB, free: 3.637 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/2.375, allocations: 2.523 MB / 414 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001779/2.376, allocations: 8 kB / 414 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007207/2.376, allocations: 0 / 414 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002489/2.377, allocations: 116.2 kB / 414.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1511/2.528, allocations: 8.662 MB / 422.7 MB, free: 120.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/2.53, allocations: 0.8434 MB / 423.6 MB, free: 120.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/2.532, allocations: 0.8532 MB / 424.4 MB, free: 120.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003889/2.533, allocations: 138.8 kB / 424.6 MB, free: 120.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/2.533, allocations: 46.45 kB / 424.6 MB, free: 120.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=108): time 3.357e-06/2.533, allocations: 0 / 424.6 MB, free: 120.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=131): time 0.0163/2.549, allocations: 4.925 MB / 429.6 MB, free: 119.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/2.549, allocations: 67.19 kB / 429.6 MB, free: 119.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/2.552, allocations: 1.057 MB / 430.7 MB, free: 119.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003183/2.552, allocations: 25.7 kB / 430.7 MB, free: 119.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005225/2.552, allocations: 0.8701 MB / 431.6 MB, free: 118.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005524/2.553, allocations: 442.8 kB / 432 MB, free: 118.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/2.553, allocations: 0 / 432 MB, free: 118.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/2.553, allocations: 370 kB / 432.4 MB, free: 118.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/2.555, allocations: 0.7158 MB / 433.1 MB, free: 118.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/2.557, allocations: 1.115 MB / 434.2 MB, free: 117.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/2.559, allocations: 0.9137 MB / 435.1 MB, free: 117.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/2.559, allocations: 6.922 kB / 435.1 MB, free: 117.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006721/2.566, allocations: 2.467 MB / 437.6 MB, free: 117.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/2.566, allocations: 3.969 kB / 437.6 MB, free: 117.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/2.566, allocations: 10.25 kB / 437.6 MB, free: 117.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/2.569, allocations: 0.5785 MB / 438.2 MB, free: 117.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/2.571, allocations: 354.1 kB / 438.5 MB, free: 117.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01874/2.59, allocations: 6.076 MB / 444.6 MB, free: 115 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/2.593, allocations: 67.83 kB / 444.7 MB, free: 115 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005146/2.593, allocations: 67.78 kB / 444.7 MB, free: 115 MB / 346.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 (169): * Single equations (assignments): 166 * 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.0006638/2.594, allocations: 149.9 kB / 444.9 MB, free: 114.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008567/2.595, allocations: 159.5 kB / 445 MB, free: 114.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/2.606, allocations: 2.239 MB / 447.3 MB, free: 114 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/2.606, allocations: 15.31 kB / 447.3 MB, free: 114 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/2.606, allocations: 3.938 kB / 447.3 MB, free: 114 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.649e-05/2.607, allocations: 6.609 kB / 447.3 MB, free: 114 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/2.619, allocations: 4.476 MB / 451.8 MB, free: 112.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/2.62, allocations: 3.969 kB / 451.8 MB, free: 112.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/2.622, allocations: 212.9 kB / 452 MB, free: 112.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003112/2.625, allocations: 0.6328 MB / 452.6 MB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002561/2.625, allocations: 19.52 kB / 452.6 MB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/2.641, allocations: 7.709 MB / 460.3 MB, free: 106.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/2.642, allocations: 3.469 kB / 460.3 MB, free: 106.9 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01378/2.655, allocations: 3.502 MB / 463.8 MB, free: 105.3 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0175/2.673, allocations: 4.955 MB / 468.8 MB, free: 102.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/2.675, allocations: 393.6 kB / 469.2 MB, free: 102.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007827/2.676, allocations: 11.42 kB / 469.2 MB, free: 102.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003024/2.679, allocations: 56.81 kB / 469.3 MB, free: 102.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/2.679, allocations: 86.7 kB / 469.3 MB, free: 102.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002509/2.68, allocations: 39.47 kB / 469.4 MB, free: 102.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.002593/2.682, allocations: 0.7877 MB / 470.2 MB, free: 101.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005127/2.687, allocations: 478.6 kB / 470.6 MB, free: 100.9 MB / 346.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 (102): * Single equations (assignments): 99 * 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.0009796/2.688, allocations: 337.2 kB / 471 MB, free: 100.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008891/2.697, allocations: 2.202 MB / 473.2 MB, free: 98.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/2.697, allocations: 0 / 473.2 MB, free: 98.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005909/2.703, allocations: 1.375 MB / 474.5 MB, free: 97.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00491/2.708, allocations: 339.4 kB / 474.9 MB, free: 97.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/2.725, allocations: 3.812 MB / 478.7 MB, free: 93.81 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004245/2.729, allocations: 2.016 MB / 480.7 MB, free: 92.17 MB / 346.7 MB Notification: Performance of SimCode: time 2.174e-06/2.729, allocations: 0 / 480.7 MB, free: 92.17 MB / 346.7 MB