Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource",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 2.053/2.053, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2032/2.256, allocations: 46.84 MB / 249.3 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/2.343, allocations: 44.5 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3142/2.657, allocations: 107.6 MB / 401.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/2.657, allocations: 81.02 kB / 401.5 MB, free: 14.54 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: 742 * Number of variables: 742 Notification: Performance of Generate backend data structure: time 0.2545/2.912, allocations: 60.16 MB / 461.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/2.912, allocations: 8 kB / 461.6 MB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/2.914, allocations: 403.6 kB / 462 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007979/2.922, allocations: 2.187 MB / 464.2 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/2.923, allocations: 92 kB / 464.3 MB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009856/2.924, allocations: 171.9 kB / 464.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009529/2.933, allocations: 2.714 MB / 467.2 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/2.944, allocations: 3.227 MB / 470.4 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/2.944, allocations: 7.844 kB / 470.4 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003635/2.944, allocations: 4 kB / 470.4 MB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001864/2.945, allocations: 133.5 kB / 470.6 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03192/2.977, allocations: 11.11 MB / 481.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/2.98, allocations: 1.101 MB / 482.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/2.983, allocations: 0.9883 MB / 483.8 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004895/2.983, allocations: 219.5 kB / 484 MB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/2.983, allocations: 47.88 kB / 484 MB, free: 3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=133): time 6.412e-06/2.983, allocations: 3.984 kB / 484 MB, free: 2.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.01929/3.002, allocations: 5.641 MB / 489.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/3.003, allocations: 68.72 kB / 489.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003764/3.006, allocations: 1.469 MB / 491.2 MB, free: 11.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003692/3.007, allocations: 29.64 kB / 491.2 MB, free: 11.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009708/3.008, allocations: 1.111 MB / 492.3 MB, free: 10.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007727/3.008, allocations: 0.5082 MB / 492.9 MB, free: 10.08 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/3.009, allocations: 0 / 492.9 MB, free: 10.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002208/3.009, allocations: 385.8 kB / 493.2 MB, free: 9.695 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/3.011, allocations: 0.8591 MB / 494.1 MB, free: 8.836 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/3.014, allocations: 1.388 MB / 495.5 MB, free: 7.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/3.017, allocations: 1.099 MB / 496.6 MB, free: 6.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/3.017, allocations: 7.938 kB / 496.6 MB, free: 6.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=240) (initialization): time 0.008888/3.026, allocations: 2.861 MB / 499.4 MB, free: 3.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/3.026, allocations: 4 kB / 499.5 MB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.961e-05/3.026, allocations: 20 kB / 499.5 MB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002572/3.029, allocations: 0.5337 MB / 0.4883 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003583/3.032, allocations: 435.3 kB / 0.4887 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1767/3.209, allocations: 5.697 MB / 0.4943 GB, free: 57.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/3.212, allocations: 67.66 kB / 0.4943 GB, free: 57.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003223/3.212, allocations: 86.02 kB / 0.4944 GB, free: 57.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 211 * 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 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004342/3.213, allocations: 158.3 kB / 0.4946 GB, free: 57.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005157/3.213, allocations: 194.8 kB / 0.4947 GB, free: 57.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007245/3.22, allocations: 2.57 MB / 0.4973 GB, free: 56.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/3.221, allocations: 11.62 kB / 0.4973 GB, free: 56.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/3.221, allocations: 10.56 kB / 0.4973 GB, free: 56.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.847e-05/3.221, allocations: 9.375 kB / 0.4973 GB, free: 56.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/3.235, allocations: 5.306 MB / 0.5025 GB, free: 56.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/3.235, allocations: 3.656 kB / 0.5025 GB, free: 56.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002355/3.238, allocations: 250.2 kB / 0.5027 GB, free: 56.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002733/3.24, allocations: 0.5761 MB / 0.5033 GB, free: 56.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002911/3.241, allocations: 13.75 kB / 0.5033 GB, free: 56.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01214/3.253, allocations: 7.341 MB / 0.5105 GB, free: 52.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/3.253, allocations: 0 / 0.5105 GB, free: 52.83 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009385/3.262, allocations: 4.078 MB / 0.5144 GB, free: 52.29 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01211/3.275, allocations: 5.796 MB / 0.5201 GB, free: 51.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/3.276, allocations: 478.4 kB / 0.5206 GB, free: 51.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005221/3.277, allocations: 17.83 kB / 0.5206 GB, free: 51.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/3.279, allocations: 52.02 kB / 0.5206 GB, free: 51.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/3.279, allocations: 84.64 kB / 0.5207 GB, free: 51.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/3.279, allocations: 41.66 kB / 0.5207 GB, free: 51.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002395/3.282, allocations: 1.103 MB / 0.5218 GB, free: 50.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003928/3.286, allocations: 0.5364 MB / 0.5223 GB, free: 50.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 123 * 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 {(5,76.0%) 20,(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.0008578/3.286, allocations: 383.2 kB / 0.5227 GB, free: 50.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00571/3.292, allocations: 2.488 MB / 0.5251 GB, free: 50.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/3.292, allocations: 3.75 kB / 0.5251 GB, free: 50.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003638/3.296, allocations: 1.47 MB / 0.5266 GB, free: 50.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/3.3, allocations: 410 kB / 0.527 GB, free: 50.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/3.313, allocations: 4.634 MB / 0.5315 GB, free: 49.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003887/3.317, allocations: 2.414 MB / 0.5339 GB, free: 48.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.674e-06/3.317, allocations: 0 / 0.5339 GB, free: 48.43 MB / 394.7 MB