Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_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 1.711/1.711, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1806/1.892, allocations: 41.11 MB / 219.3 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/2.036, allocations: 38.76 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4051/2.441, allocations: 121.7 MB / 379.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/2.441, allocations: 86.88 kB / 379.8 MB, free: 15.28 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1422 * Number of variables: 1422 Notification: Performance of Generate backend data structure: time 0.7191/3.16, allocations: 128 MB / 0.4959 GB, free: 43.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/3.16, allocations: 12 kB / 0.4959 GB, free: 43.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006996/3.167, allocations: 0.8943 MB / 0.4968 GB, free: 42.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01551/3.183, allocations: 3.969 MB / 0.5007 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003883/3.183, allocations: 172 kB / 0.5009 GB, free: 38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002314/3.186, allocations: 327.8 kB / 0.5012 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01811/3.204, allocations: 4.895 MB / 0.506 GB, free: 32.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02431/3.228, allocations: 5.973 MB / 0.5118 GB, free: 26.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003871/3.229, allocations: 11.91 kB / 0.5118 GB, free: 26.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00207/3.231, allocations: 4 kB / 0.5118 GB, free: 26.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002795/3.231, allocations: 238.7 kB / 0.512 GB, free: 26.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06519/3.296, allocations: 21.58 MB / 0.5331 GB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004797/3.301, allocations: 1.636 MB / 0.5347 GB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005959/3.307, allocations: 2.043 MB / 0.5367 GB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000682/3.308, allocations: 152.9 kB / 0.5368 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/3.308, allocations: 68.55 kB / 0.5369 GB, free: 440 kB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 5.871e-06/3.308, allocations: 0 / 0.5369 GB, free: 440 kB / 346.7 MB Notification: Performance of matching and sorting (n=303): time 0.193/3.501, allocations: 10.05 MB / 0.5467 GB, free: 74.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/3.501, allocations: 83.33 kB / 0.5468 GB, free: 74.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007127/3.508, allocations: 2.324 MB / 0.5491 GB, free: 74.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007331/3.509, allocations: 32.28 kB / 0.5491 GB, free: 74.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00181/3.511, allocations: 2.024 MB / 0.5511 GB, free: 73.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001587/3.513, allocations: 0.9865 MB / 0.552 GB, free: 72.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000366/3.513, allocations: 1.625 kB / 0.552 GB, free: 72.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002818/3.513, allocations: 452.4 kB / 0.5525 GB, free: 72.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004342/3.518, allocations: 1.486 MB / 0.5539 GB, free: 72.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005433/3.523, allocations: 2.556 MB / 0.5564 GB, free: 71.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00692/3.53, allocations: 1.976 MB / 0.5583 GB, free: 71.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.748e-05/3.53, allocations: 7.094 kB / 0.5584 GB, free: 71.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.01739/3.548, allocations: 5.165 MB / 0.5634 GB, free: 70.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/3.548, allocations: 3.562 kB / 0.5634 GB, free: 70.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/3.548, allocations: 36.28 kB / 0.5634 GB, free: 70.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004331/3.552, allocations: 0.952 MB / 0.5644 GB, free: 70.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007948/3.56, allocations: 0.8243 MB / 0.5652 GB, free: 70.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/3.58, allocations: 9.889 MB / 0.5748 GB, free: 66.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005846/3.586, allocations: 138.8 kB / 0.575 GB, free: 66.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001462/3.588, allocations: 159.5 kB / 0.5751 GB, free: 66.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 155 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (405): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 23,(4,93.8%) 21,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001901/3.59, allocations: 210.8 kB / 0.5753 GB, free: 66.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002296/3.592, allocations: 353.8 kB / 0.5757 GB, free: 66.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02163/3.614, allocations: 4.541 MB / 0.5801 GB, free: 66.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-05/3.614, allocations: 27.47 kB / 0.5801 GB, free: 66.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.395e-05/3.614, allocations: 11.44 kB / 0.5801 GB, free: 66.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.542e-05/3.614, allocations: 15.95 kB / 0.5801 GB, free: 66.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04402/3.658, allocations: 10.06 MB / 0.59 GB, free: 65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01162/3.67, allocations: 3.779 MB / 0.5937 GB, free: 63.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004812/3.675, allocations: 0.4964 MB / 0.5941 GB, free: 63.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005114/3.68, allocations: 1.019 MB / 0.5951 GB, free: 63.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006608/3.681, allocations: 33.16 kB / 0.5952 GB, free: 63.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02471/3.705, allocations: 13.23 MB / 0.6081 GB, free: 53.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/3.705, allocations: 14 kB / 0.6081 GB, free: 53.95 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01948/3.725, allocations: 7.603 MB / 0.6155 GB, free: 49.78 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02616/3.751, allocations: 10.24 MB / 0.6255 GB, free: 44.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003076/3.754, allocations: 0.7437 MB / 0.6262 GB, free: 43.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001302/3.755, allocations: 26.89 kB / 0.6263 GB, free: 43.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004128/3.76, allocations: 133.5 kB / 0.6264 GB, free: 43.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007995/3.76, allocations: 187.1 kB / 0.6266 GB, free: 43.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003193/3.761, allocations: 83.89 kB / 0.6267 GB, free: 43.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.004128/3.765, allocations: 1.716 MB / 0.6283 GB, free: 41.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007363/3.772, allocations: 1.007 MB / 0.6293 GB, free: 40.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.port_n.Phi.re,smeeM.stator.port_n.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 224 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 19,(1,100.0%) 4,(1,100.0%) 8,(6,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001352/3.774, allocations: 448.6 kB / 0.6297 GB, free: 40.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01198/3.786, allocations: 4.609 MB / 0.6342 GB, free: 36.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/3.786, allocations: 4 kB / 0.6343 GB, free: 36.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008907/3.795, allocations: 2.869 MB / 0.6371 GB, free: 33.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006555/3.801, allocations: 0.5795 MB / 0.6376 GB, free: 33.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02904/3.83, allocations: 8.557 MB / 0.646 GB, free: 25.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00857/3.839, allocations: 3.806 MB / 0.6497 GB, free: 22.61 MB / 346.7 MB Notification: Performance of SimCode: time 2.224e-06/3.839, allocations: 0 / 0.6497 GB, free: 22.61 MB / 346.7 MB