Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") Notification: Performance of loadModel(Modelica): time 1.034/1.034, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.29e-05/2.307e-05, allocations: 0 / 151.4 MB, free: 15.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1935, allocations: 25.16 MB / 176.6 MB, free: 8 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07164/0.2652, allocations: 46.6 MB / 223.2 MB, free: 2.828 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.2655, allocations: 79.95 kB / 223.2 MB, free: 2.75 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3035/0.569, allocations: 48.19 MB / 271.4 MB, free: 53.16 MB / 218.7 MB Notification: Performance of FrontEnd: time 3.013e-06/0.5691, allocations: 0 / 271.4 MB, free: 53.16 MB / 218.7 MB Notification: Performance of Transformations before backend: time 9.25e-05/0.5692, allocations: 31.44 kB / 271.5 MB, free: 53.16 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.003824/0.573, allocations: 1.492 MB / 273 MB, free: 52.43 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5731, allocations: 7.344 kB / 273 MB, free: 52.43 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006101/0.5737, allocations: 181.3 kB / 273.1 MB, free: 52.35 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.5754, allocations: 0.7864 MB / 273.9 MB, free: 52.05 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003377/0.5757, allocations: 243.8 kB / 274.2 MB, free: 51.96 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004107/0.5762, allocations: 154.9 kB / 274.3 MB, free: 51.95 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004016/0.5802, allocations: 1.564 MB / 275.9 MB, free: 51.85 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.217e-05/0.5803, allocations: 10.83 kB / 275.9 MB, free: 51.84 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/0.5805, allocations: 64.53 kB / 276 MB, free: 51.84 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.5806, allocations: 35.16 kB / 276 MB, free: 51.84 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003799/0.5844, allocations: 1.455 MB / 277.4 MB, free: 51.84 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/0.5975, allocations: 6.107 MB / 283.5 MB, free: 49.54 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.5998, allocations: 0.9061 MB / 284.5 MB, free: 49.13 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.6009, allocations: 0.4897 MB / 284.9 MB, free: 48.66 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.601, allocations: 89.89 kB / 285 MB, free: 48.55 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/0.6023, allocations: 0.6206 MB / 285.7 MB, free: 47.97 MB / 218.7 MB Notification: Performance of pre-optimization done (n=89): time 5.251e-06/0.6023, allocations: 0 / 285.7 MB, free: 47.97 MB / 218.7 MB Notification: Performance of matching and sorting (n=98): time 0.007175/0.6095, allocations: 3.197 MB / 288.9 MB, free: 44.88 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.6096, allocations: 297 kB / 289.1 MB, free: 44.53 MB / 218.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.6108, allocations: 0.6948 MB / 289.8 MB, free: 43.88 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/0.611, allocations: 53.7 kB / 289.9 MB, free: 43.82 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.6114, allocations: 0.6606 MB / 290.5 MB, free: 43.16 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.6117, allocations: 342.9 kB / 290.9 MB, free: 42.83 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.6119, allocations: 24 kB / 290.9 MB, free: 42.8 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.612, allocations: 354.8 kB / 291.3 MB, free: 42.45 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.613, allocations: 0.4947 MB / 291.7 MB, free: 41.95 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.6143, allocations: 0.7902 MB / 292.5 MB, free: 41.05 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.6154, allocations: 0.5082 MB / 293 MB, free: 40.55 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.88e-06/0.6154, allocations: 4 kB / 293.1 MB, free: 40.55 MB / 218.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002985/0.6184, allocations: 1.371 MB / 294.4 MB, free: 39.19 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.6185, allocations: 12 kB / 294.4 MB, free: 39.18 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.6185, allocations: 8 kB / 294.4 MB, free: 39.17 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.619, allocations: 174.5 kB / 294.6 MB, free: 39 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.6208, allocations: 320.8 kB / 294.9 MB, free: 38.69 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00382/0.6246, allocations: 4.457 MB / 299.4 MB, free: 33.84 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.6267, allocations: 187.4 kB / 299.6 MB, free: 33.66 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/0.627, allocations: 55.98 kB / 299.6 MB, free: 33.61 MB / 218.7 MB 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 (146): * Single equations (assignments): 143 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003338/0.6274, allocations: 178.9 kB / 299.8 MB, free: 33.43 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.6276, allocations: 102.4 kB / 299.9 MB, free: 33.33 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/0.6304, allocations: 1.148 MB / 301 MB, free: 32.17 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.6304, allocations: 19.81 kB / 301.1 MB, free: 32.15 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.298e-06/0.6304, allocations: 0 / 301.1 MB, free: 32.15 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.6304, allocations: 3.984 kB / 301.1 MB, free: 32.15 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007839/0.6383, allocations: 3.354 MB / 304.4 MB, free: 28.7 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.6384, allocations: 4 kB / 304.4 MB, free: 28.7 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.6398, allocations: 236.2 kB / 304.7 MB, free: 28.46 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008788/0.6407, allocations: 476.6 kB / 305.1 MB, free: 28.03 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.6409, allocations: 27.98 kB / 305.1 MB, free: 28 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.6427, allocations: 2.159 MB / 307.3 MB, free: 25.7 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.393e-06/0.6427, allocations: 4 kB / 307.3 MB, free: 25.69 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003932/0.6467, allocations: 2.076 MB / 309.4 MB, free: 23.45 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007494/0.6474, allocations: 307.8 kB / 309.7 MB, free: 23.13 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.6477, allocations: 36 kB / 309.7 MB, free: 23.09 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.6489, allocations: 147.9 kB / 309.9 MB, free: 22.95 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/0.6493, allocations: 156.4 kB / 310 MB, free: 22.8 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.6495, allocations: 39.98 kB / 310.1 MB, free: 22.76 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0008999/0.6504, allocations: 0.5187 MB / 310.6 MB, free: 22.24 MB / 218.7 MB Notification: Performance of sort global known variables: time 8.58e-07/0.6504, allocations: 0 / 310.6 MB, free: 22.24 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001569/0.652, allocations: 315.9 kB / 310.9 MB, free: 21.93 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (90): * Single equations (assignments): 88 * 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.0003598/0.6523, allocations: 187.2 kB / 311.1 MB, free: 21.75 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.002833/0.6552, allocations: 1.422 MB / 312.5 MB, free: 20.31 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 8.188e-06/0.6552, allocations: 4.062 kB / 312.5 MB, free: 20.3 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.6568, allocations: 0.6801 MB / 313.2 MB, free: 19.61 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.6584, allocations: 206.3 kB / 313.4 MB, free: 19.43 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/0.6638, allocations: 2.18 MB / 315.6 MB, free: 17.2 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00075/0.6646, allocations: 1.167 MB / 316.7 MB, free: 16.01 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/0.6652, allocations: 75.44 kB / 316.8 MB, free: 15.94 MB / 218.7 MB Notification: Performance of SimCode: time 1.979e-06/0.6652, allocations: 0 / 316.8 MB, free: 15.94 MB / 218.7 MB Notification: Performance of Templates: time 0.04368/0.7089, allocations: 31 MB / 347.8 MB, free: 1.078 MB / 234.7 MB