Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_1_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.767/1.767, allocations: 171.2 MB / 178.1 MB, free: 8.32 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2417/2.009, allocations: 41.11 MB / 219.3 MB, free: 11.23 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/2.111, allocations: 38.77 MB / 258 MB, free: 4.395 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.294/2.405, allocations: 67.65 MB / 325.7 MB, free: 4.387 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/2.405, allocations: 74.52 kB / 325.7 MB, free: 4.348 MB / 266.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.02373/2.429, allocations: 4.284 MB / 330 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/2.429, allocations: 8 kB / 330 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/2.429, allocations: 31.72 kB / 330.1 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/2.43, allocations: 226.4 kB / 330.3 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/2.43, allocations: 10.52 kB / 330.3 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.76e-05/2.43, allocations: 16 kB / 330.3 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006649/2.431, allocations: 135.5 kB / 330.4 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/2.431, allocations: 178.3 kB / 330.6 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/2.431, allocations: 7.906 kB / 330.6 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/2.431, allocations: 0 / 330.6 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/2.432, allocations: 7.938 kB / 330.6 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/2.434, allocations: 0.6893 MB / 331.3 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/2.435, allocations: 122.2 kB / 331.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/2.435, allocations: 97.42 kB / 331.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/2.435, allocations: 4 kB / 331.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/2.435, allocations: 30.56 kB / 331.6 MB, free: 15.4 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 4.308e-06/2.436, allocations: 8 kB / 331.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.002732/2.438, allocations: 0.7638 MB / 332.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/2.438, allocations: 55.41 kB / 332.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/2.439, allocations: 120.4 kB / 332.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/2.439, allocations: 25.7 kB / 332.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/2.439, allocations: 141.6 kB / 332.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/2.439, allocations: 100.5 kB / 332.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/2.439, allocations: 4 kB / 332.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002066/2.439, allocations: 325.2 kB / 333.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/2.44, allocations: 59.81 kB / 333.2 MB, free: 13.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/2.44, allocations: 96.41 kB / 333.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/2.44, allocations: 71.56 kB / 333.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/2.44, allocations: 4 kB / 333.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008547/2.441, allocations: 202 kB / 333.5 MB, free: 13.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/2.441, allocations: 8 kB / 333.5 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/2.441, allocations: 0 / 333.5 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/2.441, allocations: 0 / 333.5 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009796/2.442, allocations: 87.11 kB / 333.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/2.443, allocations: 3.984 kB / 333.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/2.443, allocations: 15.98 kB / 333.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/2.443, allocations: 4 kB / 333.6 MB, free: 13.45 MB / 282.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.0001859/2.443, allocations: 116.8 kB / 333.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/2.443, allocations: 15.81 kB / 333.8 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/2.444, allocations: 21.5 kB / 333.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/2.444, allocations: 4 kB / 333.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/2.444, allocations: 4 kB / 333.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/2.444, allocations: 3.984 kB / 333.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/2.446, allocations: 0.5621 MB / 334.4 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/2.446, allocations: 4.062 kB / 334.4 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/2.447, allocations: 71.95 kB / 334.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/2.447, allocations: 4 kB / 334.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/2.447, allocations: 3.5 kB / 334.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/2.447, allocations: 3.938 kB / 334.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.148e-06/2.447, allocations: 4 kB / 334.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001229/2.448, allocations: 413.7 kB / 334.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001658/2.45, allocations: 0.8445 MB / 335.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/2.45, allocations: 92.86 kB / 335.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/2.45, allocations: 0 / 335.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/2.451, allocations: 11.98 kB / 335.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/2.451, allocations: 19.17 kB / 335.8 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/2.451, allocations: 15.7 kB / 335.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001419/2.451, allocations: 101.5 kB / 335.9 MB, free: 11.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002192/2.453, allocations: 55.98 kB / 336 MB, free: 11.26 MB / 282.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.0003134/2.454, allocations: 103.1 kB / 336.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007551/2.455, allocations: 151.9 kB / 336.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/2.455, allocations: 8.125 kB / 336.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003624/2.455, allocations: 95.48 kB / 336.3 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008191/2.456, allocations: 24.12 kB / 336.4 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/2.459, allocations: 0.6623 MB / 337 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007649/2.46, allocations: 0.7935 MB / 337.8 MB, free: 9.477 MB / 282.7 MB Notification: Performance of SimCode: time 1.854e-06/2.46, allocations: 0 / 337.8 MB, free: 9.477 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat