Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_ElasticBearing",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.82/1.82, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2507/2.071, allocations: 46.83 MB / 249.3 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/2.183, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2649/2.448, allocations: 72.65 MB / 366.5 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/2.449, allocations: 76.86 kB / 366.6 MB, free: 7.051 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.01671/2.465, allocations: 4.272 MB / 370.8 MB, free: 6.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/2.465, allocations: 11.62 kB / 370.9 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.67e-05/2.465, allocations: 27.25 kB / 370.9 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/2.466, allocations: 233.1 kB / 371.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/2.466, allocations: 7.688 kB / 371.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/2.466, allocations: 15.5 kB / 371.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004089/2.466, allocations: 140.5 kB / 371.3 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/2.467, allocations: 172.6 kB / 371.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/2.467, allocations: 3.844 kB / 371.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/2.467, allocations: 0 / 371.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/2.467, allocations: 7.719 kB / 371.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/2.468, allocations: 0.6987 MB / 372.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/2.469, allocations: 118.2 kB / 372.3 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/2.469, allocations: 91.14 kB / 372.4 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/2.469, allocations: 3.875 kB / 372.4 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/2.469, allocations: 35.33 kB / 372.4 MB, free: 5.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.575e-06/2.469, allocations: 9.016 kB / 372.4 MB, free: 5.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001436/2.47, allocations: 0.7561 MB / 373.2 MB, free: 5.195 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/2.471, allocations: 63.19 kB / 373.2 MB, free: 5.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/2.471, allocations: 129.8 kB / 373.3 MB, free: 5.027 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/2.471, allocations: 25.7 kB / 373.4 MB, free: 4.996 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/2.471, allocations: 133 kB / 373.5 MB, free: 20.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.755e-05/2.471, allocations: 106.2 kB / 373.6 MB, free: 20.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/2.471, allocations: 0 / 373.6 MB, free: 20.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/2.471, allocations: 327.5 kB / 373.9 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/2.471, allocations: 55.16 kB / 374 MB, free: 20.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/2.471, allocations: 93.64 kB / 374.1 MB, free: 20.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/2.472, allocations: 72.11 kB / 374.1 MB, free: 20.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/2.472, allocations: 0 / 374.1 MB, free: 20.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004572/2.472, allocations: 199.1 kB / 374.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/2.472, allocations: 7.844 kB / 374.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/2.472, allocations: 4.094 kB / 374.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/2.472, allocations: 8.469 kB / 374.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/2.473, allocations: 82.86 kB / 374.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/2.473, allocations: 3.938 kB / 374.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/2.473, allocations: 14.06 kB / 374.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/2.473, allocations: 11.59 kB / 374.5 MB, free: 20.4 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001028/2.473, allocations: 110.2 kB / 374.6 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/2.473, allocations: 19.47 kB / 374.6 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.381e-05/2.473, allocations: 30.97 kB / 374.6 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/2.473, allocations: 3.875 kB / 374.6 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/2.473, allocations: 3.906 kB / 374.6 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/2.473, allocations: 1.172 kB / 374.6 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/2.474, allocations: 0.5583 MB / 375.2 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/2.474, allocations: 0 / 375.2 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000705/2.475, allocations: 77.64 kB / 375.3 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/2.475, allocations: 64 / 375.3 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/2.475, allocations: 20.38 kB / 375.3 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/2.475, allocations: 0 / 375.3 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/2.475, allocations: 0.8906 kB / 375.3 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000639/2.476, allocations: 402.5 kB / 375.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009169/2.477, allocations: 0.8383 MB / 376.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.299e-05/2.477, allocations: 93.69 kB / 376.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/2.477, allocations: 8.797 kB / 376.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/2.477, allocations: 10.31 kB / 376.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/2.477, allocations: 18.12 kB / 376.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/2.477, allocations: 3.938 kB / 376.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.559e-05/2.477, allocations: 106.3 kB / 376.7 MB, free: 19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001257/2.479, allocations: 49.91 kB / 376.8 MB, free: 19 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001594/2.479, allocations: 108.1 kB / 376.9 MB, free: 18.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004239/2.479, allocations: 160.9 kB / 377.1 MB, free: 18.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/2.479, allocations: 0 / 377.1 MB, free: 18.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/2.48, allocations: 89.08 kB / 377.1 MB, free: 18.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/2.48, allocations: 23.73 kB / 377.2 MB, free: 18.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/2.482, allocations: 0.6771 MB / 377.8 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/2.482, allocations: 0.7915 MB / 378.6 MB, free: 17.75 MB / 314.7 MB Notification: Performance of SimCode: time 9.61e-07/2.482, allocations: 0 / 378.6 MB, free: 17.75 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat