Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",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 3.554/3.554, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3689/3.923, allocations: 46.82 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/4.063, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/4.534, allocations: 83.42 MB / 377.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004732/4.534, allocations: 80.73 kB / 377.4 MB, free: 6.547 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.5239/5.058, allocations: 62.21 MB / 439.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.449e-05/5.058, allocations: 8 kB / 439.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03078/5.089, allocations: 1.603 MB / 441.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02933/5.118, allocations: 3.589 MB / 444.8 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003893/5.119, allocations: 88 kB / 444.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002744/5.122, allocations: 163.9 kB / 445.1 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02588/5.148, allocations: 4.68 MB / 449.8 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03649/5.184, allocations: 7.305 MB / 457.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003538/5.185, allocations: 59.47 kB / 457.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002633/5.187, allocations: 35.98 kB / 457.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003888/5.191, allocations: 0.8233 MB / 458 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1248/5.316, allocations: 40.61 MB / 498.6 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2287/5.545, allocations: 2.398 MB / 0.4892 GB, free: 138.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005472/5.55, allocations: 1.539 MB / 0.4907 GB, free: 138.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02356/5.574, allocations: 5.416 MB / 0.496 GB, free: 136.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.886e-05/5.574, allocations: 47.84 kB / 0.4961 GB, free: 136.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=113): time 9.077e-06/5.574, allocations: 3.906 kB / 0.4961 GB, free: 136.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.1401/5.714, allocations: 13.94 MB / 0.5097 GB, free: 135.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/5.715, allocations: 139.6 kB / 0.5098 GB, free: 135.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01046/5.725, allocations: 2.495 MB / 0.5123 GB, free: 134.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006781/5.726, allocations: 25.7 kB / 0.5123 GB, free: 134.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003247/5.729, allocations: 2.27 MB / 0.5145 GB, free: 133.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001728/5.731, allocations: 0.5759 MB / 0.5151 GB, free: 133.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/5.732, allocations: 2.406 kB / 0.5151 GB, free: 133.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.001196/5.733, allocations: 0.5817 MB / 0.5156 GB, free: 132.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01089/5.744, allocations: 2.353 MB / 0.5179 GB, free: 132.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01241/5.757, allocations: 5.621 MB / 0.5234 GB, free: 127.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01539/5.772, allocations: 3.603 MB / 0.5269 GB, free: 126.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001944/5.773, allocations: 36.25 kB / 0.527 GB, free: 126.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.07441/5.847, allocations: 10.45 MB / 0.5372 GB, free: 123.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/5.847, allocations: 3.812 kB / 0.5372 GB, free: 123.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002196/5.847, allocations: 117.5 kB / 0.5373 GB, free: 123.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04704/5.895, allocations: 3.801 MB / 0.541 GB, free: 122.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01289/5.907, allocations: 1.192 MB / 0.5422 GB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07036/5.978, allocations: 12.27 MB / 0.5542 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01471/5.993, allocations: 206.9 kB / 0.5543 GB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002448/5.995, allocations: 339 kB / 0.5547 GB, free: 113.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (632): * Single equations (assignments): 622 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003109/5.998, allocations: 395.4 kB / 0.555 GB, free: 113.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001492/6, allocations: 248.7 kB / 0.5553 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05639/6.056, allocations: 6.427 MB / 0.5616 GB, free: 108.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001126/6.056, allocations: 19.91 kB / 0.5616 GB, free: 108.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.339e-05/6.057, allocations: 8 kB / 0.5616 GB, free: 108.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.715e-05/6.057, allocations: 3.844 kB / 0.5616 GB, free: 108.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1028/6.159, allocations: 12.78 MB / 0.5741 GB, free: 98.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/6.159, allocations: 4 kB / 0.5741 GB, free: 98.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005191/6.165, allocations: 204.1 kB / 0.5743 GB, free: 97.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05801/6.223, allocations: 4.059 MB / 0.5782 GB, free: 94.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006426/6.223, allocations: 31.95 kB / 0.5783 GB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05136/6.275, allocations: 12.09 MB / 0.5901 GB, free: 82.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/6.275, allocations: 0 / 0.5901 GB, free: 82.12 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06973/6.345, allocations: 10.14 MB / 0.6 GB, free: 71.93 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07732/6.422, allocations: 13.13 MB / 0.6128 GB, free: 58.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/6.423, allocations: 301.7 kB / 0.6131 GB, free: 58.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001996/6.425, allocations: 15.98 kB / 0.6131 GB, free: 58.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007191/6.433, allocations: 107.8 kB / 0.6132 GB, free: 58.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/6.434, allocations: 77.12 kB / 0.6133 GB, free: 58.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005959/6.434, allocations: 47.97 kB / 0.6133 GB, free: 58.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00592/6.44, allocations: 1.654 MB / 0.6149 GB, free: 56.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009653/6.45, allocations: 0.7714 MB / 0.6157 GB, free: 55.76 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009041/6.451, allocations: 147.4 kB / 0.6158 GB, free: 55.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02819/6.479, allocations: 6.537 MB / 0.6222 GB, free: 48.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/6.479, allocations: 0 / 0.6222 GB, free: 48.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01448/6.494, allocations: 2.997 MB / 0.6252 GB, free: 45.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/6.497, allocations: 232.2 kB / 0.6254 GB, free: 45.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/6.522, allocations: 6.775 MB / 0.632 GB, free: 38.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007586/6.53, allocations: 2.774 MB / 0.6347 GB, free: 36.04 MB / 394.7 MB Notification: Performance of SimCode: time 2.114e-06/6.53, allocations: 0 / 0.6347 GB, free: 36.04 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat