Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis") Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 224.7 MB / 241.1 MB, free: 1.703 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.163e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.127, allocations: 50.42 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis): time 0.0123/0.1394, allocations: 7.229 MB / 352.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005961/0.1454, allocations: 2.057 MB / 354.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.147, allocations: 51.88 kB / 354.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.1481, allocations: 222.4 kB / 354.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.1505, allocations: 482.5 kB / 355 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.1522, allocations: 347.5 kB / 355.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003302/0.1555, allocations: 1.097 MB / 356.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.1571, allocations: 0.6171 MB / 357.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.1584, allocations: 0.4986 MB / 357.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.1597, allocations: 0.576 MB / 358.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004929/0.1602, allocations: 99.89 kB / 358.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003822/0.1606, allocations: 64 kB / 358.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000358/0.161, allocations: 251 kB / 358.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004399/0.1614, allocations: 139.9 kB / 358.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003997/0.1654, allocations: 2.672 MB / 361.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1655, allocations: 0 / 361.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1655, allocations: 0 / 361.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.164e-05/0.1656, allocations: 0 / 361.4 MB, free: 8.508 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.005407/0.171, allocations: 1.535 MB / 362.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.1711, allocations: 12.03 kB / 362.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006449/0.1718, allocations: 181.9 kB / 363.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.1738, allocations: 0.8061 MB / 363.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004528/0.1743, allocations: 240.1 kB / 364.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004506/0.1748, allocations: 159.9 kB / 364.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005762/0.1806, allocations: 1.667 MB / 365.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.837e-05/0.1807, allocations: 15.84 kB / 366 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/0.1809, allocations: 68 kB / 366 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-05/0.181, allocations: 36 kB / 366.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00629/0.1873, allocations: 1.577 MB / 367.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01641/0.2038, allocations: 5.951 MB / 373.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0037/0.2075, allocations: 0.9529 MB / 374.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.2077, allocations: 16.98 kB / 374.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002238/0.21, allocations: 0.6646 MB / 375.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 4.589e-06/0.21, allocations: 0 / 375.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=120): time 0.06831/0.2783, allocations: 9.854 MB / 385.1 MB, free: 240 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/0.2786, allocations: 299.7 kB / 385.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.2803, allocations: 0.6989 MB / 386.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003033/0.2806, allocations: 53.7 kB / 386.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007174/0.2814, allocations: 0.6803 MB / 386.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006071/0.282, allocations: 410.2 kB / 387.2 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.2822, allocations: 28 kB / 387.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.2824, allocations: 358.8 kB / 387.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003818/0.2862, allocations: 0.8433 MB / 388.4 MB, free: 12.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/0.2905, allocations: 1.154 MB / 389.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003712/0.2942, allocations: 0.834 MB / 390.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.2943, allocations: 4 kB / 390.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.008696/0.303, allocations: 2.085 MB / 392.5 MB, free: 8.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.3031, allocations: 8 kB / 392.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/0.3031, allocations: 8 kB / 392.5 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006376/0.3038, allocations: 186.4 kB / 392.7 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003434/0.3072, allocations: 367.5 kB / 393.1 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005794/0.313, allocations: 4.485 MB / 397.5 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/0.316, allocations: 203.9 kB / 397.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/0.3162, allocations: 51.94 kB / 397.8 MB, free: 2.867 MB / 330.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: 12 (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.noWphase,pathPlanning.pathToAxis1.moving[1],pathPlanning.terminateSimulation.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * 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.001149/0.3174, allocations: 399.3 kB / 398.2 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/0.3177, allocations: 102.8 kB / 398.3 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.3181, allocations: 130 kB / 398.4 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.3181, allocations: 12 kB / 398.4 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.3181, allocations: 3.938 kB / 398.4 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/0.3182, allocations: 15.97 kB / 398.4 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2969/0.6151, allocations: 4.524 MB / 403 MB, free: 49.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.6152, allocations: 9.469 kB / 403 MB, free: 49.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/0.6176, allocations: 283.1 kB / 403.3 MB, free: 49.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.6187, allocations: 364.8 kB / 403.6 MB, free: 49.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002236/0.6189, allocations: 37.02 kB / 403.6 MB, free: 49.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.6211, allocations: 2.187 MB / 405.8 MB, free: 47.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.626e-05/0.6212, allocations: 15.48 kB / 405.8 MB, free: 47.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00937/0.6306, allocations: 3.074 MB / 408.9 MB, free: 45.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000925/0.6316, allocations: 323.4 kB / 409.2 MB, free: 44.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.6319, allocations: 47.92 kB / 409.3 MB, free: 44.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/0.6341, allocations: 176.7 kB / 409.5 MB, free: 44.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006256/0.6348, allocations: 182.8 kB / 409.6 MB, free: 44.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.6349, allocations: 44.72 kB / 409.7 MB, free: 44.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001249/0.6362, allocations: 0.5313 MB / 410.2 MB, free: 44.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6362, allocations: 0 / 410.2 MB, free: 44.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002091/0.6383, allocations: 345.3 kB / 410.5 MB, free: 44.6 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 7 (axis.gear.spring.phi_rel,axis.gear.spring.w_rel,axis.motor.La.i,axis.motor.C.v,axis.motor.Jmotor.w,axis.controller.PI.x,axis.initializeFlange.phi_flange) * Number of discrete variables: 8 (pathPlanning.terminateSimulation.condition,$whenCondition1,axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.locked,axis.gear.bearingFriction.mode,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 (112): * Single equations (assignments): 110 * 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.0004937/0.6388, allocations: 176 kB / 410.7 MB, free: 44.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007591/0.6464, allocations: 2.099 MB / 412.8 MB, free: 43.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/0.6465, allocations: 4.156 kB / 412.8 MB, free: 43.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003909/0.6504, allocations: 1.059 MB / 413.9 MB, free: 43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.6521, allocations: 171 kB / 414 MB, free: 42.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00916/0.6613, allocations: 3.769 MB / 417.8 MB, free: 40.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.6624, allocations: 1.211 MB / 419 MB, free: 39.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009425/0.6633, allocations: 80.31 kB / 419.1 MB, free: 39.72 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6634, allocations: 0 / 419.1 MB, free: 39.72 MB / 330.7 MB Notification: Performance of Templates: time 0.05062/0.714, allocations: 34.05 MB / 453.2 MB, free: 8.605 MB / 330.7 MB