Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis.controller.PI.x|axis.gear.spring.phi_rel|axis.gear.spring.w_rel|axis.initializeFlange.phi_flange|axis.initializeFlange.w_flange|axis.motor.C.v|axis.motor.La.i|axis.gear.bearingFriction.mode|axis.gear.bearingFriction.startBackward|axis.gear.bearingFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis") Notification: Performance of loadModel(Modelica): time 1.969/1.969, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.872e-05, allocations: 0 / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/0.09153, allocations: 50.42 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3828/0.4744, allocations: 96.68 MB / 439.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.4747, allocations: 84.88 kB / 439.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1339/0.6085, allocations: 38.93 MB / 478.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.6086, allocations: 4 kB / 478.8 MB, free: 11.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001086/0.6087, allocations: 35.98 kB / 478.8 MB, free: 10.98 MB / 394.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.003977/0.6127, allocations: 1.503 MB / 480.3 MB, free: 9.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.6128, allocations: 12.03 kB / 480.3 MB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006168/0.6134, allocations: 178 kB / 480.5 MB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.6152, allocations: 0.7905 MB / 481.3 MB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003956/0.6156, allocations: 244.1 kB / 481.5 MB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003776/0.616, allocations: 159.9 kB / 481.7 MB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004129/0.6202, allocations: 1.548 MB / 483.2 MB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.937e-05/0.6203, allocations: 11.84 kB / 483.3 MB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.6205, allocations: 60 kB / 483.3 MB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-05/0.6206, allocations: 39.98 kB / 483.4 MB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003753/0.6243, allocations: 1.357 MB / 484.7 MB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.6384, allocations: 6.043 MB / 490.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.6406, allocations: 0.8286 MB / 491.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.6417, allocations: 485.6 kB / 492.1 MB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.909e-05/0.6418, allocations: 12.78 kB / 492.1 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/0.6432, allocations: 0.5931 MB / 492.7 MB, free: 12.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 4.338e-06/0.6432, allocations: 0 / 492.7 MB, free: 12.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.01786/0.6611, allocations: 5.57 MB / 498.2 MB, free: 7.035 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000213/0.6614, allocations: 303.7 kB / 498.5 MB, free: 6.672 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.6628, allocations: 0.6717 MB / 499.2 MB, free: 5.992 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002592/0.6631, allocations: 57.69 kB / 499.3 MB, free: 5.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007731/0.6639, allocations: 0.6546 MB / 499.9 MB, free: 5.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005915/0.6645, allocations: 421.9 kB / 0.4886 GB, free: 4.844 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.6647, allocations: 32 kB / 0.4886 GB, free: 4.812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003125/0.665, allocations: 406.8 kB / 0.489 GB, free: 4.406 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.6668, allocations: 0.6445 MB / 0.4896 GB, free: 3.762 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.6689, allocations: 0.9471 MB / 0.4906 GB, free: 2.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.6706, allocations: 0.628 MB / 0.4912 GB, free: 2.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.28e-06/0.6706, allocations: 4 kB / 0.4912 GB, free: 2.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004575/0.6752, allocations: 1.717 MB / 0.4929 GB, free: 348 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.6753, allocations: 8 kB / 0.4929 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.6753, allocations: 8 kB / 0.4929 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005591/0.6759, allocations: 182.5 kB / 0.4931 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/0.6783, allocations: 367.8 kB / 0.4934 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/0.6839, allocations: 4.444 MB / 0.4977 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.686, allocations: 207.8 kB / 0.4979 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/0.6863, allocations: 56 kB / 0.498 GB, free: 10.66 MB / 426.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 (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.0004665/0.6867, allocations: 194.8 kB / 0.4982 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.687, allocations: 102.8 kB / 0.4983 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.6911, allocations: 1.495 MB / 0.4997 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.6912, allocations: 12 kB / 0.4998 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.6912, allocations: 11.89 kB / 0.4998 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.6913, allocations: 7.969 kB / 0.4998 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.7022, allocations: 4.218 MB / 0.5039 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/0.7023, allocations: 8 kB / 0.5039 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/0.704, allocations: 284 kB / 0.5042 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008349/0.7049, allocations: 325.5 kB / 0.5045 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/0.705, allocations: 43.94 kB / 0.5045 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/0.7075, allocations: 2.087 MB / 0.5066 GB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-05/0.7075, allocations: 12 kB / 0.5066 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005414/0.7129, allocations: 2.561 MB / 0.5091 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009139/0.7139, allocations: 327.7 kB / 0.5094 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.7142, allocations: 51.95 kB / 0.5094 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.7156, allocations: 163.9 kB / 0.5096 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004955/0.7161, allocations: 184.3 kB / 0.5098 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.7163, allocations: 51.94 kB / 0.5098 GB, free: 13.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001108/0.7174, allocations: 0.5109 MB / 0.5103 GB, free: 13.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.7174, allocations: 0 / 0.5103 GB, free: 13.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001939/0.7194, allocations: 356 kB / 0.5107 GB, free: 12.94 MB / 442.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.0004605/0.7198, allocations: 186.9 kB / 0.5108 GB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004045/0.7239, allocations: 1.716 MB / 0.5125 GB, free: 10.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.724, allocations: 8.062 kB / 0.5125 GB, free: 10.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002598/0.7266, allocations: 0.8968 MB / 0.5134 GB, free: 10.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.728, allocations: 175.1 kB / 0.5136 GB, free: 9.902 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007177/0.7352, allocations: 2.44 MB / 0.5159 GB, free: 7.316 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.7366, allocations: 1.206 MB / 0.5171 GB, free: 6.086 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001488/0.7381, allocations: 164.3 kB / 0.5173 GB, free: 5.922 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005562/0.7386, allocations: 79.42 kB / 0.5174 GB, free: 5.844 MB / 442.7 MB Notification: Performance of SimCode: time 1.684e-06/0.7387, allocations: 0 / 0.5174 GB, free: 5.844 MB / 442.7 MB Notification: Performance of Templates: time 0.2785/1.017, allocations: 16.94 MB / 0.5339 GB, free: 125.1 MB / 442.7 MB