Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_2_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 2.253/2.253, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2074/2.461, allocations: 46.84 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/2.55, allocations: 44.51 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/2.902, allocations: 129.5 MB / 423.4 MB, free: 9.254 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/2.902, allocations: 80.08 kB / 423.5 MB, free: 9.215 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.6682/3.57, allocations: 134.4 MB / 0.5448 GB, free: 69.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/3.57, allocations: 15.72 kB / 0.5448 GB, free: 69.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009665/3.58, allocations: 1.16 MB / 0.5459 GB, free: 69.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01844/3.599, allocations: 4.903 MB / 0.5507 GB, free: 68.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003691/3.599, allocations: 184.8 kB / 0.5509 GB, free: 68.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/3.601, allocations: 340.4 kB / 0.5512 GB, free: 68.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01798/3.619, allocations: 5.301 MB / 0.5564 GB, free: 67.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02449/3.644, allocations: 6.261 MB / 0.5625 GB, free: 64.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002611/3.644, allocations: 12.03 kB / 0.5625 GB, free: 64.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001442/3.646, allocations: 4.469 kB / 0.5625 GB, free: 64.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003226/3.646, allocations: 257.8 kB / 0.5628 GB, free: 64.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06491/3.711, allocations: 22.88 MB / 0.5851 GB, free: 48.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004906/3.716, allocations: 1.889 MB / 0.587 GB, free: 47.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005542/3.721, allocations: 2.26 MB / 0.5892 GB, free: 45.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02039/3.742, allocations: 7.196 MB / 0.5962 GB, free: 38.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/3.742, allocations: 63.58 kB / 0.5963 GB, free: 38.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=277): time 6.011e-06/3.742, allocations: 0 / 0.5963 GB, free: 38.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=329): time 0.03992/3.782, allocations: 10.77 MB / 0.6068 GB, free: 29.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/3.782, allocations: 86.62 kB / 0.6069 GB, free: 29.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00612/3.788, allocations: 2.4 MB / 0.6092 GB, free: 26.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006871/3.789, allocations: 25.7 kB / 0.6092 GB, free: 26.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/3.79, allocations: 2.106 MB / 0.6113 GB, free: 24.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001513/3.792, allocations: 1.074 MB / 0.6123 GB, free: 23.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/3.792, allocations: 0 / 0.6123 GB, free: 23.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000257/3.792, allocations: 470.5 kB / 0.6128 GB, free: 23.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004062/3.796, allocations: 1.605 MB / 0.6143 GB, free: 21.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005118/3.802, allocations: 2.768 MB / 0.617 GB, free: 18.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005999/3.808, allocations: 2.152 MB / 0.6191 GB, free: 16.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.525e-05/3.808, allocations: 12 kB / 0.6192 GB, free: 16.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=514) (initialization): time 0.01668/3.824, allocations: 5.47 MB / 0.6245 GB, free: 10.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/3.825, allocations: 7.906 kB / 0.6245 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.925e-05/3.825, allocations: 40 kB / 0.6245 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003763/3.828, allocations: 0.8524 MB / 0.6254 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007337/3.836, allocations: 0.9204 MB / 0.6263 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1614/3.997, allocations: 8.956 MB / 0.635 GB, free: 99.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005513/4.003, allocations: 139.2 kB / 0.6352 GB, free: 99.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009207/4.004, allocations: 178.9 kB / 0.6353 GB, free: 99.53 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 170 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (461): * Single equations (assignments): 452 * 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,(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008599/4.005, allocations: 216.7 kB / 0.6355 GB, free: 99.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/4.006, allocations: 370.6 kB / 0.6359 GB, free: 99.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/4.021, allocations: 4.817 MB / 0.6406 GB, free: 99.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/4.021, allocations: 33.72 kB / 0.6406 GB, free: 99.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.405e-05/4.021, allocations: 12.38 kB / 0.6406 GB, free: 99.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-05/4.021, allocations: 12.61 kB / 0.6406 GB, free: 99.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02967/4.051, allocations: 10.06 MB / 0.6505 GB, free: 98.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01217/4.063, allocations: 4.015 MB / 0.6544 GB, free: 97.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005369/4.068, allocations: 0.558 MB / 0.6549 GB, free: 97.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004576/4.073, allocations: 0.9234 MB / 0.6558 GB, free: 97.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006944/4.074, allocations: 39.23 kB / 0.6559 GB, free: 97.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02113/4.095, allocations: 12.42 MB / 0.668 GB, free: 91.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/4.095, allocations: 5.594 kB / 0.668 GB, free: 91.47 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01988/4.115, allocations: 7.54 MB / 0.6754 GB, free: 90.27 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02505/4.14, allocations: 10.32 MB / 0.6854 GB, free: 85.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003248/4.143, allocations: 0.7881 MB / 0.6862 GB, free: 85.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001702/4.145, allocations: 21.5 kB / 0.6862 GB, free: 85.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004731/4.15, allocations: 126.9 kB / 0.6864 GB, free: 85.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009428/4.151, allocations: 180.6 kB / 0.6865 GB, free: 85.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003501/4.151, allocations: 97.03 kB / 0.6866 GB, free: 85.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.004609/4.156, allocations: 1.758 MB / 0.6883 GB, free: 84.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007611/4.163, allocations: 1.079 MB / 0.6894 GB, free: 84.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.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 (266): * Single equations (assignments): 257 * 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 {(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(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.001527/4.165, allocations: 490.2 kB / 0.6899 GB, free: 84.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01198/4.177, allocations: 4.804 MB / 0.6946 GB, free: 82.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/4.177, allocations: 3.75 kB / 0.6946 GB, free: 82.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008134/4.185, allocations: 2.867 MB / 0.6974 GB, free: 81.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006018/4.191, allocations: 0.5842 MB / 0.6979 GB, free: 80.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02918/4.22, allocations: 8.762 MB / 0.7065 GB, free: 77.56 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00934/4.23, allocations: 3.887 MB / 0.7103 GB, free: 76.23 MB / 394.7 MB Notification: Performance of SimCode: time 2.064e-06/4.23, allocations: 0 / 0.7103 GB, free: 76.23 MB / 394.7 MB