Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL",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.592/1.592, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2092/1.801, allocations: 46.84 MB / 249.4 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08656/1.888, allocations: 44.5 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.323/2.211, allocations: 113.2 MB / 407.1 MB, free: 9.129 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/2.211, allocations: 87.52 kB / 407.2 MB, free: 9.082 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.751/2.962, allocations: 162.2 MB / 0.556 GB, free: 49.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/2.963, allocations: 13.91 kB / 0.556 GB, free: 49.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008313/2.971, allocations: 0.9325 MB / 0.557 GB, free: 49.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/2.986, allocations: 3.809 MB / 0.5607 GB, free: 48.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/2.986, allocations: 131.1 kB / 0.5608 GB, free: 48.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/2.987, allocations: 237.4 kB / 0.561 GB, free: 48.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01355/3.001, allocations: 3.834 MB / 0.5648 GB, free: 47.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01694/3.018, allocations: 4.472 MB / 0.5691 GB, free: 45.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/3.018, allocations: 6.344 kB / 0.5691 GB, free: 45.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008045/3.019, allocations: 3.812 kB / 0.5691 GB, free: 45.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002278/3.019, allocations: 174.4 kB / 0.5693 GB, free: 45.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04502/3.064, allocations: 16.24 MB / 0.5852 GB, free: 35.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/3.067, allocations: 1.28 MB / 0.5864 GB, free: 34.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004157/3.072, allocations: 1.685 MB / 0.5881 GB, free: 32.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01374/3.085, allocations: 5.158 MB / 0.5931 GB, free: 28.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/3.086, allocations: 56.56 kB / 0.5932 GB, free: 28.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=190): time 7.274e-06/3.086, allocations: 0 / 0.5932 GB, free: 28.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=193): time 0.01542/3.101, allocations: 5.201 MB / 0.5982 GB, free: 23.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/3.101, allocations: 77.41 kB / 0.5983 GB, free: 23.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003751/3.105, allocations: 1.66 MB / 0.5999 GB, free: 21.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004155/3.105, allocations: 25.7 kB / 0.6 GB, free: 21.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009239/3.106, allocations: 1.465 MB / 0.6014 GB, free: 20.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009165/3.107, allocations: 0.6315 MB / 0.602 GB, free: 19.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/3.107, allocations: 0 / 0.602 GB, free: 19.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/3.108, allocations: 400.5 kB / 0.6024 GB, free: 19.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002247/3.11, allocations: 0.888 MB / 0.6033 GB, free: 18.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002649/3.112, allocations: 1.578 MB / 0.6048 GB, free: 16.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003602/3.116, allocations: 1.224 MB / 0.606 GB, free: 15.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/3.116, allocations: 8 kB / 0.606 GB, free: 15.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.008214/3.124, allocations: 2.881 MB / 0.6088 GB, free: 13.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/3.124, allocations: 7.938 kB / 0.6088 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.026e-05/3.125, allocations: 20 kB / 0.6088 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/3.125, allocations: 136.3 kB / 0.609 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004809/3.13, allocations: 0.5955 MB / 0.6096 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/3.132, allocations: 1.721 MB / 0.6112 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/3.135, allocations: 67.39 kB / 0.6113 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003707/3.136, allocations: 106 kB / 0.6114 GB, free: 10.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 296 * 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: 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005302/3.136, allocations: 184.8 kB / 0.6116 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005948/3.137, allocations: 229.8 kB / 0.6118 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007979/3.145, allocations: 2.638 MB / 0.6144 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/3.145, allocations: 20 kB / 0.6144 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/3.145, allocations: 4 kB / 0.6144 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.675e-05/3.145, allocations: 11.59 kB / 0.6144 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/3.161, allocations: 5.891 MB / 0.6202 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/3.161, allocations: 8.156 kB / 0.6202 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003232/3.164, allocations: 347.5 kB / 0.6205 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/3.166, allocations: 320.3 kB / 0.6208 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002928/3.166, allocations: 19.98 kB / 0.6208 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009533/3.175, allocations: 5.986 MB / 0.6267 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.358e-05/3.176, allocations: 11.84 kB / 0.6267 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01094/3.186, allocations: 4.057 MB / 0.6306 GB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01436/3.201, allocations: 5.774 MB / 0.6363 GB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002057/3.203, allocations: 0.5022 MB / 0.6368 GB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008366/3.204, allocations: 12 kB / 0.6368 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/3.206, allocations: 67.88 kB / 0.6368 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003982/3.207, allocations: 113.7 kB / 0.637 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/3.207, allocations: 55.98 kB / 0.637 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003433/3.21, allocations: 1.23 MB / 0.6382 GB, free: 15.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00502/3.216, allocations: 0.6601 MB / 0.6389 GB, free: 15.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 161 * 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 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/3.217, allocations: 388 kB / 0.6392 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00652/3.223, allocations: 2.395 MB / 0.6416 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/3.223, allocations: 0 / 0.6416 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004081/3.227, allocations: 1.477 MB / 0.643 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/3.231, allocations: 405.4 kB / 0.6434 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/3.252, allocations: 5.706 MB / 0.649 GB, free: 4.605 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0067/3.259, allocations: 2.934 MB / 0.6518 GB, free: 1.648 MB / 426.7 MB Notification: Performance of SimCode: time 1.914e-06/3.259, allocations: 0 / 0.6518 GB, free: 1.648 MB / 426.7 MB