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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.313e-05, allocations: 4 kB / 269.4 MB, free: 6.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08429, allocations: 47.57 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.4937, allocations: 93.68 MB / 410.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.494, allocations: 89.19 kB / 410.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2236/0.7176, allocations: 38.12 MB / 448.8 MB, free: 10.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.04e-06/0.7177, allocations: 4 kB / 448.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001739/0.7179, allocations: 32 kB / 448.9 MB, free: 10.43 MB / 362.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.007593/0.7255, allocations: 1.51 MB / 450.4 MB, free: 8.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.42e-05/0.7256, allocations: 12.03 kB / 450.4 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.7269, allocations: 189.9 kB / 450.6 MB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003512/0.7304, allocations: 0.7861 MB / 451.4 MB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007198/0.7312, allocations: 237.6 kB / 451.6 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006987/0.7319, allocations: 157.3 kB / 451.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007475/0.7394, allocations: 1.555 MB / 453.3 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.7396, allocations: 3.906 kB / 453.3 MB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004056/0.74, allocations: 66.06 kB / 453.4 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.304e-05/0.7401, allocations: 36 kB / 453.4 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007104/0.7472, allocations: 1.355 MB / 454.8 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.761, allocations: 6.058 MB / 460.8 MB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.7631, allocations: 0.8248 MB / 461.6 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.7642, allocations: 476.7 kB / 462.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.782e-05/0.7643, allocations: 16.77 kB / 462.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.7656, allocations: 0.5892 MB / 462.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 4.534e-06/0.7657, allocations: 3.938 kB / 462.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.01691/0.7826, allocations: 5.565 MB / 468.3 MB, free: 7.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002097/0.7828, allocations: 299.8 kB / 468.6 MB, free: 7.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.7842, allocations: 0.6835 MB / 469.3 MB, free: 6.602 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.7844, allocations: 57.64 kB / 469.3 MB, free: 6.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000712/0.7851, allocations: 0.6508 MB / 470 MB, free: 5.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005206/0.7857, allocations: 425.9 kB / 470.4 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.7858, allocations: 24 kB / 470.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002917/0.7861, allocations: 410.7 kB / 470.8 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.7878, allocations: 0.6445 MB / 471.5 MB, free: 4.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.7899, allocations: 0.9471 MB / 472.4 MB, free: 3.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.7915, allocations: 0.6296 MB / 473 MB, free: 2.691 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.605e-06/0.7915, allocations: 0 / 473 MB, free: 2.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004423/0.7959, allocations: 1.729 MB / 474.8 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.796, allocations: 8 kB / 474.8 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.796, allocations: 4 kB / 474.8 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/0.7966, allocations: 182.5 kB / 475 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/0.7988, allocations: 375.4 kB / 475.3 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005471/0.8043, allocations: 4.439 MB / 479.8 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.8063, allocations: 211.8 kB / 480 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.8065, allocations: 48 kB / 480 MB, free: 11.28 MB / 394.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.0004566/0.807, allocations: 203 kB / 480.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.8072, allocations: 106.7 kB / 480.3 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/0.8112, allocations: 1.491 MB / 481.8 MB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.8112, allocations: 16 kB / 481.8 MB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.333e-06/0.8112, allocations: 0 / 481.8 MB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.8113, allocations: 3.984 kB / 481.8 MB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.8214, allocations: 4.218 MB / 486 MB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/0.8215, allocations: 12 kB / 486.1 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.8231, allocations: 275.7 kB / 486.3 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008046/0.8239, allocations: 325.5 kB / 486.6 MB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.824, allocations: 47.92 kB / 486.7 MB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/0.8265, allocations: 2.091 MB / 488.8 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.586e-05/0.8265, allocations: 15.89 kB / 488.8 MB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005205/0.8317, allocations: 2.569 MB / 491.4 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008063/0.8325, allocations: 323.7 kB / 491.7 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/0.8328, allocations: 48 kB / 491.7 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.8342, allocations: 163.9 kB / 491.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004722/0.8346, allocations: 184.3 kB / 492.1 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.8348, allocations: 47.98 kB / 492.1 MB, free: 14.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.8359, allocations: 0.5109 MB / 492.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.24e-07/0.8359, allocations: 4 kB / 492.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001699/0.8376, allocations: 355.9 kB / 493 MB, free: 13.54 MB / 410.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.0004275/0.838, allocations: 187.8 kB / 493.2 MB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003918/0.842, allocations: 1.719 MB / 494.9 MB, free: 11.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.842, allocations: 0 / 494.9 MB, free: 11.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002597/0.8446, allocations: 0.8996 MB / 495.8 MB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.846, allocations: 164.9 kB / 495.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/0.8526, allocations: 2.443 MB / 498.4 MB, free: 7.934 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.8539, allocations: 1.214 MB / 499.6 MB, free: 6.695 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001374/0.8553, allocations: 160.3 kB / 499.8 MB, free: 6.535 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005428/0.8559, allocations: 79.42 kB / 499.8 MB, free: 6.457 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.8559, allocations: 0 / 499.8 MB, free: 6.457 MB / 410.7 MB Notification: Performance of Templates: time 0.04427/0.9002, allocations: 16.96 MB / 0.5047 GB, free: 5.535 MB / 426.7 MB