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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis") Notification: Performance of loadModel(Modelica): time 1.919/1.919, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.32e-05, allocations: 4 kB / 292.1 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09117/0.09122, allocations: 50.42 MB / 342.6 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.382/0.4733, allocations: 96.68 MB / 439.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.4736, allocations: 88.06 kB / 439.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1565/0.6301, allocations: 38.93 MB / 478.3 MB, free: 11.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.316e-06/0.6302, allocations: 0 / 478.3 MB, free: 11.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.712e-05/0.6303, allocations: 36 kB / 478.3 MB, free: 10.99 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.003852/0.6341, allocations: 1.515 MB / 479.8 MB, free: 9.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.6342, allocations: 8.031 kB / 479.8 MB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006665/0.6349, allocations: 178 kB / 480 MB, free: 9.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.6367, allocations: 0.7944 MB / 480.8 MB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003887/0.6371, allocations: 232.1 kB / 481 MB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003646/0.6375, allocations: 163.9 kB / 481.2 MB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003982/0.6415, allocations: 1.548 MB / 482.7 MB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-05/0.6416, allocations: 11.84 kB / 482.7 MB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/0.6419, allocations: 60 kB / 482.8 MB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/0.6419, allocations: 40 kB / 482.8 MB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003603/0.6455, allocations: 1.353 MB / 484.2 MB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.6598, allocations: 6.047 MB / 490.2 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.6619, allocations: 0.8247 MB / 491.1 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.663, allocations: 485.7 kB / 491.5 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-05/0.6631, allocations: 8.781 kB / 491.5 MB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/0.6644, allocations: 0.6009 MB / 492.1 MB, free: 12.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 4.944e-06/0.6645, allocations: 0 / 492.1 MB, free: 12.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.01774/0.6822, allocations: 5.568 MB / 497.7 MB, free: 7.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002964/0.6826, allocations: 299.7 kB / 498 MB, free: 6.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/0.6851, allocations: 0.6717 MB / 498.7 MB, free: 6.004 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003778/0.6855, allocations: 53.7 kB / 498.7 MB, free: 5.945 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.6866, allocations: 0.6585 MB / 499.4 MB, free: 5.273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007804/0.6874, allocations: 429.9 kB / 499.8 MB, free: 4.848 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.6876, allocations: 28 kB / 499.8 MB, free: 4.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004506/0.6881, allocations: 406.7 kB / 0.4885 GB, free: 4.414 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002839/0.691, allocations: 0.6445 MB / 0.4891 GB, free: 3.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003458/0.6945, allocations: 0.9432 MB / 0.4901 GB, free: 2.719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.6973, allocations: 0.6319 MB / 0.4907 GB, free: 2.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/0.6974, allocations: 0 / 0.4907 GB, free: 2.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.007945/0.7053, allocations: 1.721 MB / 0.4924 GB, free: 360 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.7054, allocations: 8 kB / 0.4924 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.733e-05/0.7055, allocations: 7.984 kB / 0.4924 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009438/0.7064, allocations: 186.5 kB / 0.4925 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004245/0.7107, allocations: 367.5 kB / 0.4929 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008677/0.7194, allocations: 4.44 MB / 0.4972 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003634/0.7231, allocations: 203.8 kB / 0.4974 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003476/0.7235, allocations: 55.98 kB / 0.4975 GB, free: 10.68 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.0007471/0.7243, allocations: 203.7 kB / 0.4977 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004617/0.7248, allocations: 98.78 kB / 0.4978 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006878/0.7317, allocations: 1.499 MB / 0.4992 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/0.7317, allocations: 12 kB / 0.4992 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.825e-05/0.7318, allocations: 3.953 kB / 0.4993 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-05/0.7318, allocations: 11.91 kB / 0.4993 GB, free: 8.836 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01824/0.7501, allocations: 4.21 MB / 0.5034 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/0.7502, allocations: 12 kB / 0.5034 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.7517, allocations: 279.8 kB / 0.5037 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008004/0.7525, allocations: 325.5 kB / 0.504 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.7527, allocations: 47.94 kB / 0.504 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/0.7551, allocations: 2.087 MB / 0.506 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.85e-05/0.7552, allocations: 8 kB / 0.5061 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/0.7603, allocations: 2.565 MB / 0.5086 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008325/0.7612, allocations: 331.7 kB / 0.5089 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/0.7615, allocations: 51.94 kB / 0.5089 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/0.7629, allocations: 159.9 kB / 0.5091 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004666/0.7634, allocations: 180.3 kB / 0.5092 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.7635, allocations: 59.88 kB / 0.5093 GB, free: 13.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001041/0.7646, allocations: 0.5148 MB / 0.5098 GB, free: 13.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.001e-06/0.7646, allocations: 0 / 0.5098 GB, free: 13.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001787/0.7664, allocations: 352 kB / 0.5101 GB, free: 12.95 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.0004213/0.7668, allocations: 198.6 kB / 0.5103 GB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.7707, allocations: 1.716 MB / 0.512 GB, free: 11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.7708, allocations: 4.25 kB / 0.512 GB, free: 11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002502/0.7733, allocations: 0.901 MB / 0.5129 GB, free: 10.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.7747, allocations: 163.4 kB / 0.513 GB, free: 9.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006667/0.7814, allocations: 2.444 MB / 0.5154 GB, free: 7.332 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.7827, allocations: 1.202 MB / 0.5166 GB, free: 6.105 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001404/0.7841, allocations: 164.3 kB / 0.5168 GB, free: 5.941 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/0.7847, allocations: 75.44 kB / 0.5168 GB, free: 5.867 MB / 442.7 MB Notification: Performance of SimCode: time 1.867e-06/0.7847, allocations: 0 / 0.5168 GB, free: 5.867 MB / 442.7 MB Notification: Performance of Templates: time 0.3189/1.104, allocations: 16.95 MB / 0.5334 GB, free: 125.2 MB / 442.7 MB