Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_oneAxis",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 2.055/2.055, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2088/2.264, allocations: 46.85 MB / 249.4 MB, free: 5.301 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/2.351, allocations: 44.51 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2908/2.642, allocations: 88.17 MB / 382 MB, free: 5.48 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/2.643, allocations: 90.25 kB / 382.1 MB, free: 5.465 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: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.1439/2.786, allocations: 39.23 MB / 421.4 MB, free: 412 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/2.787, allocations: 12 kB / 421.4 MB, free: 400 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008666/2.787, allocations: 181.9 kB / 421.5 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/2.79, allocations: 0.802 MB / 422.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004723/2.791, allocations: 195.8 kB / 422.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000497/2.791, allocations: 95.91 kB / 422.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004421/2.795, allocations: 1.298 MB / 423.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004287/2.8, allocations: 1.353 MB / 425.3 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.468e-05/2.8, allocations: 3.906 kB / 425.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/2.8, allocations: 8 kB / 425.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/2.8, allocations: 36 kB / 425.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0177/2.818, allocations: 5.811 MB / 431.1 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/2.82, allocations: 0.5759 MB / 431.7 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/2.821, allocations: 456.6 kB / 432.2 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.68e-05/2.821, allocations: 8.781 kB / 432.2 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/2.823, allocations: 0.5658 MB / 432.7 MB, free: 6.297 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 5.631e-06/2.823, allocations: 0 / 432.7 MB, free: 6.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.02303/2.846, allocations: 5.344 MB / 438.1 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/2.846, allocations: 303.7 kB / 438.4 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/2.847, allocations: 0.603 MB / 439 MB, free: 15.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002929/2.848, allocations: 37.69 kB / 439 MB, free: 15.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006592/2.848, allocations: 0.5687 MB / 439.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006939/2.849, allocations: 409.2 kB / 440 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/2.849, allocations: 0 / 440 MB, free: 14.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002916/2.85, allocations: 398.7 kB / 440.4 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/2.852, allocations: 0.6211 MB / 441 MB, free: 13.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/2.854, allocations: 0.9234 MB / 441.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/2.856, allocations: 0.6116 MB / 442.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/2.856, allocations: 4 kB / 442.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005435/2.861, allocations: 1.633 MB / 444.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/2.861, allocations: 4 kB / 444.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.53e-05/2.861, allocations: 8 kB / 444.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/2.862, allocations: 174.5 kB / 444.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003669/2.866, allocations: 383.5 kB / 444.7 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004638/2.87, allocations: 3.991 MB / 448.7 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/2.874, allocations: 187.9 kB / 448.9 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/2.874, allocations: 52 kB / 448.9 MB, free: 5.402 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 (axis.gear.bearingFriction.free,$whenCondition1,$PRE.axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startForward,$PRE.axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.locked,$PRE.axis.gear.bearingFriction.mode,axis.gear.bearingFriction.mode,pathPlanning.path.motion_ref,pathPlanning.path.noWphase,pathPlanning.pathToAxis1.moving[1],pathPlanning.terminateSimulation.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005652/2.875, allocations: 162.5 kB / 449.1 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/2.875, allocations: 98.78 kB / 449.2 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004536/2.88, allocations: 1.386 MB / 450.6 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/2.88, allocations: 12 kB / 450.6 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/2.88, allocations: 4 kB / 450.6 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/2.88, allocations: 11.91 kB / 450.6 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/2.893, allocations: 3.935 MB / 454.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/2.893, allocations: 12.97 kB / 454.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/2.895, allocations: 291.6 kB / 454.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009454/2.896, allocations: 313.5 kB / 455.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/2.896, allocations: 23.98 kB / 455.2 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/2.899, allocations: 2.053 MB / 457.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-05/2.899, allocations: 11.94 kB / 457.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005768/2.905, allocations: 2.461 MB / 459.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007531/2.912, allocations: 3.438 MB / 463.1 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/2.914, allocations: 323.9 kB / 463.5 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004454/2.914, allocations: 27.98 kB / 463.5 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/2.916, allocations: 151.9 kB / 463.6 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005992/2.917, allocations: 176.3 kB / 463.8 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/2.917, allocations: 47.98 kB / 463.9 MB, free: 5.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.001115/2.918, allocations: 459.2 kB / 464.3 MB, free: 4.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003069/2.921, allocations: 303.9 kB / 464.6 MB, free: 4.676 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 7 (axis.gear.gear.phi_a,axis.gear.spring.phi_rel,axis.gear.spring.w_rel,axis.motor.La.i,axis.motor.C.v,axis.controller.PI.x,load.w) * Number of discrete variables: 9 (pathPlanning.terminateSimulation.condition,$whenCondition1,axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.locked,axis.gear.bearingFriction.mode,pathPlanning.path.motion_ref,pathPlanning.pathToAxis1.moving[1],pathPlanning.path.noWphase) * Number of discrete states: 3 (axis.gear.bearingFriction.mode,axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006379/2.922, allocations: 170.8 kB / 464.8 MB, free: 4.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004632/2.927, allocations: 1.657 MB / 466.4 MB, free: 2.809 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/2.927, allocations: 4.188 kB / 466.4 MB, free: 2.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003156/2.93, allocations: 0.8851 MB / 467.3 MB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/2.932, allocations: 138.8 kB / 467.4 MB, free: 1.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009728/2.941, allocations: 2.395 MB / 469.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/2.944, allocations: 1.299 MB / 471.1 MB, free: 13.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.723e-06/2.944, allocations: 0 / 471.1 MB, free: 13.9 MB / 378.7 MB