Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",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.397/2.397, allocations: 194.9 MB / 202.5 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2775/2.674, allocations: 46.84 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/2.794, allocations: 44.5 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4278/3.222, allocations: 108.3 MB / 402.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/3.223, allocations: 81.08 kB / 402.2 MB, free: 13.88 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: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.3533/3.576, allocations: 84.45 MB / 486.7 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/3.576, allocations: 15.94 kB / 486.7 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/3.579, allocations: 420 kB / 487.1 MB, free: 352 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006731/3.585, allocations: 1.842 MB / 488.9 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/3.586, allocations: 83.98 kB / 489 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008887/3.587, allocations: 151.9 kB / 489.2 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008483/3.595, allocations: 2.337 MB / 491.5 MB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009906/3.605, allocations: 2.81 MB / 494.3 MB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/3.605, allocations: 0 / 494.3 MB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003282/3.606, allocations: 7.938 kB / 494.3 MB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/3.606, allocations: 112.9 kB / 494.4 MB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1544/3.76, allocations: 9.997 MB / 0.4926 GB, free: 129.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002709/3.763, allocations: 0.9331 MB / 0.4935 GB, free: 129.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002453/3.765, allocations: 0.9064 MB / 0.4944 GB, free: 129.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005153/3.766, allocations: 223.2 kB / 0.4946 GB, free: 129.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/3.766, allocations: 51.16 kB / 0.4946 GB, free: 129.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=119): time 4.849e-06/3.766, allocations: 0 / 0.4946 GB, free: 129.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=144): time 0.0202/3.786, allocations: 5.466 MB / 0.5 GB, free: 128.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/3.786, allocations: 65.88 kB / 0.5 GB, free: 128.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/3.79, allocations: 1.377 MB / 0.5014 GB, free: 128.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003659/3.791, allocations: 25.7 kB / 0.5014 GB, free: 128.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007676/3.791, allocations: 0.9875 MB / 0.5024 GB, free: 128.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007763/3.792, allocations: 483.5 kB / 0.5028 GB, free: 127.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/3.792, allocations: 0 / 0.5028 GB, free: 127.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/3.793, allocations: 378 kB / 0.5032 GB, free: 127.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/3.795, allocations: 0.8071 MB / 0.504 GB, free: 127.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/3.797, allocations: 1.277 MB / 0.5052 GB, free: 126.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/3.8, allocations: 1.017 MB / 0.5062 GB, free: 126.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.034e-05/3.8, allocations: 3.562 kB / 0.5062 GB, free: 126.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008726/3.809, allocations: 2.713 MB / 0.5089 GB, free: 126.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/3.809, allocations: 2.844 kB / 0.5089 GB, free: 126.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.147e-05/3.809, allocations: 21.06 kB / 0.5089 GB, free: 126.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002758/3.812, allocations: 0.5791 MB / 0.5095 GB, free: 126.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/3.815, allocations: 401.7 kB / 0.5099 GB, free: 126.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/3.831, allocations: 4.895 MB / 0.5146 GB, free: 125.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004309/3.835, allocations: 80.19 kB / 0.5147 GB, free: 125.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000523/3.836, allocations: 77.81 kB / 0.5148 GB, free: 125.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004902/3.836, allocations: 156.4 kB / 0.5149 GB, free: 125.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007369/3.837, allocations: 180.7 kB / 0.5151 GB, free: 125.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008063/3.845, allocations: 2.432 MB / 0.5175 GB, free: 125 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/3.845, allocations: 18.03 kB / 0.5175 GB, free: 125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/3.845, allocations: 3.656 kB / 0.5175 GB, free: 125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.861e-05/3.845, allocations: 10.91 kB / 0.5175 GB, free: 125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/3.861, allocations: 4.975 MB / 0.5224 GB, free: 124.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.565e-05/3.861, allocations: 15.16 kB / 0.5224 GB, free: 124.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002352/3.864, allocations: 249.7 kB / 0.5226 GB, free: 124.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003308/3.867, allocations: 0.6274 MB / 0.5232 GB, free: 124.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000354/3.867, allocations: 20.77 kB / 0.5233 GB, free: 124.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/3.881, allocations: 6.487 MB / 0.5296 GB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/3.881, allocations: 14.31 kB / 0.5296 GB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01014/3.891, allocations: 3.877 MB / 0.5334 GB, free: 120.5 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01327/3.904, allocations: 5.497 MB / 0.5388 GB, free: 117.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/3.906, allocations: 444.1 kB / 0.5392 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007857/3.907, allocations: 10.25 kB / 0.5392 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002773/3.909, allocations: 84.78 kB / 0.5393 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005243/3.91, allocations: 89.78 kB / 0.5394 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/3.91, allocations: 45.56 kB / 0.5394 GB, free: 117.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002664/3.913, allocations: 1.034 MB / 0.5404 GB, free: 117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004275/3.917, allocations: 0.545 MB / 0.5409 GB, free: 117 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009656/3.918, allocations: 322.7 kB / 0.5413 GB, free: 116.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006485/3.925, allocations: 2.38 MB / 0.5436 GB, free: 116 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/3.925, allocations: 0 / 0.5436 GB, free: 116 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004457/3.929, allocations: 1.459 MB / 0.545 GB, free: 115.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/3.933, allocations: 301.3 kB / 0.5453 GB, free: 115.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/3.948, allocations: 4.175 MB / 0.5494 GB, free: 113.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005071/3.954, allocations: 2.193 MB / 0.5515 GB, free: 112.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.432e-06/3.954, allocations: 0 / 0.5515 GB, free: 112.8 MB / 394.7 MB