Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.91/1.91, allocations: 194.9 MB / 202.6 MB, free: 6.875 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2145/2.124, allocations: 46.83 MB / 249.4 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09516/2.219, allocations: 44.5 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3662/2.586, allocations: 113.2 MB / 407.1 MB, free: 9.059 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/2.586, allocations: 83.89 kB / 407.2 MB, free: 9.016 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.8614/3.447, allocations: 162.2 MB / 0.5561 GB, free: 63.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/3.447, allocations: 14.5 kB / 0.5561 GB, free: 63.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009587/3.457, allocations: 0.929 MB / 0.557 GB, free: 63.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01632/3.473, allocations: 3.818 MB / 0.5607 GB, free: 62.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/3.474, allocations: 128.6 kB / 0.5609 GB, free: 62.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001687/3.475, allocations: 237.4 kB / 0.5611 GB, free: 62.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01455/3.49, allocations: 3.828 MB / 0.5648 GB, free: 60.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/3.507, allocations: 4.474 MB / 0.5692 GB, free: 58.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001604/3.508, allocations: 6.312 kB / 0.5692 GB, free: 58.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006661/3.508, allocations: 7.25 kB / 0.5692 GB, free: 58.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002617/3.509, allocations: 168.8 kB / 0.5694 GB, free: 58.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05004/3.559, allocations: 16.25 MB / 0.5852 GB, free: 47.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003636/3.562, allocations: 1.287 MB / 0.5865 GB, free: 46.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004709/3.567, allocations: 1.676 MB / 0.5881 GB, free: 45.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01531/3.582, allocations: 5.163 MB / 0.5932 GB, free: 40.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/3.582, allocations: 53.22 kB / 0.5932 GB, free: 40.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=190): time 5.701e-06/3.582, allocations: 0 / 0.5932 GB, free: 40.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=193): time 0.01769/3.6, allocations: 5.202 MB / 0.5983 GB, free: 35.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/3.6, allocations: 73.41 kB / 0.5984 GB, free: 35.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004284/3.605, allocations: 1.656 MB / 0.6 GB, free: 34.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004242/3.605, allocations: 25.7 kB / 0.6 GB, free: 34.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008678/3.606, allocations: 1.47 MB / 0.6015 GB, free: 32.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007796/3.607, allocations: 0.628 MB / 0.6021 GB, free: 32.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/3.607, allocations: 0 / 0.6021 GB, free: 32.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/3.607, allocations: 405.9 kB / 0.6025 GB, free: 31.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002563/3.61, allocations: 0.8858 MB / 0.6033 GB, free: 31.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002959/3.613, allocations: 1.58 MB / 0.6049 GB, free: 29.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/3.617, allocations: 1.229 MB / 0.6061 GB, free: 28.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/3.617, allocations: 8 kB / 0.6061 GB, free: 28.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.009646/3.626, allocations: 2.88 MB / 0.6089 GB, free: 25.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/3.626, allocations: 4 kB / 0.6089 GB, free: 25.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/3.626, allocations: 20 kB / 0.6089 GB, free: 25.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005577/3.627, allocations: 138 kB / 0.609 GB, free: 25.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005567/3.633, allocations: 0.5851 MB / 0.6096 GB, free: 24.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/3.635, allocations: 1.729 MB / 0.6113 GB, free: 22.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/3.639, allocations: 71.95 kB / 0.6114 GB, free: 22.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003766/3.639, allocations: 104 kB / 0.6115 GB, free: 22.82 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.0005809/3.64, allocations: 176 kB / 0.6116 GB, free: 22.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005613/3.64, allocations: 229.2 kB / 0.6118 GB, free: 22.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008654/3.649, allocations: 2.64 MB / 0.6144 GB, free: 19.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/3.649, allocations: 20 kB / 0.6144 GB, free: 19.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/3.649, allocations: 4 kB / 0.6144 GB, free: 19.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/3.649, allocations: 7.969 kB / 0.6145 GB, free: 19.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/3.666, allocations: 5.899 MB / 0.6202 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/3.666, allocations: 0 / 0.6202 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00375/3.67, allocations: 355.6 kB / 0.6206 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/3.672, allocations: 314.3 kB / 0.6209 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000285/3.672, allocations: 25.11 kB / 0.6209 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009442/3.682, allocations: 5.983 MB / 0.6267 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/3.682, allocations: 7.906 kB / 0.6267 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01077/3.692, allocations: 4.057 MB / 0.6307 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01568/3.708, allocations: 5.778 MB / 0.6363 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002156/3.71, allocations: 0.5095 MB / 0.6368 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006875/3.711, allocations: 8.125 kB / 0.6368 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/3.714, allocations: 71.94 kB / 0.6369 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/3.714, allocations: 113.7 kB / 0.637 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00023/3.714, allocations: 51.98 kB / 0.6371 GB, free: 11.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003579/3.718, allocations: 1.227 MB / 0.6383 GB, free: 10.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005489/3.724, allocations: 0.664 MB / 0.6389 GB, free: 9.898 MB / 410.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.001064/3.725, allocations: 385.7 kB / 0.6393 GB, free: 9.547 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007443/3.732, allocations: 2.395 MB / 0.6416 GB, free: 7.121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/3.732, allocations: 1.562 kB / 0.6416 GB, free: 7.121 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004711/3.737, allocations: 1.475 MB / 0.6431 GB, free: 5.625 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00443/3.741, allocations: 414.3 kB / 0.6435 GB, free: 5.227 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1778/3.919, allocations: 5.701 MB / 0.649 GB, free: 119.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005976/3.925, allocations: 2.928 MB / 0.6519 GB, free: 118.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/3.925, allocations: 0 / 0.6519 GB, free: 118.7 MB / 410.7 MB