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.2_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") Notification: Performance of loadModel(Modelica): time 1.704/1.704, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.389e-05/2.398e-05, allocations: 4 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08351/0.08356, allocations: 44.5 MB / 299.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3936/0.4772, allocations: 88.91 MB / 388.8 MB, free: 20.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.4775, allocations: 85.47 kB / 388.9 MB, free: 20.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.162/0.6395, allocations: 37.97 MB / 426.9 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.459e-06/0.6396, allocations: 3.906 kB / 426.9 MB, free: 6.625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.199e-05/0.6397, allocations: 34.16 kB / 426.9 MB, free: 6.621 MB / 314.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.003038/0.6427, allocations: 1.51 MB / 428.4 MB, free: 5.668 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.6428, allocations: 7.406 kB / 428.4 MB, free: 5.668 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004405/0.6432, allocations: 181.9 kB / 428.6 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.6446, allocations: 0.7882 MB / 429.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/0.6449, allocations: 243.4 kB / 429.6 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/0.6452, allocations: 158.5 kB / 429.8 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/0.6484, allocations: 1.546 MB / 431.3 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.169e-05/0.6484, allocations: 11.03 kB / 431.3 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.6486, allocations: 65.27 kB / 431.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.6487, allocations: 42.72 kB / 431.4 MB, free: 4.738 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.6517, allocations: 1.354 MB / 432.8 MB, free: 4.664 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/0.6621, allocations: 6.046 MB / 438.8 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.6639, allocations: 0.8325 MB / 439.7 MB, free: 376 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000952/0.6649, allocations: 478.7 kB / 440.1 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.45e-05/0.665, allocations: 8.781 kB / 440.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/0.6663, allocations: 0.597 MB / 440.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 4.283e-06/0.6663, allocations: 0 / 440.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.01687/0.6832, allocations: 5.567 MB / 446.3 MB, free: 9.582 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001997/0.6835, allocations: 299.7 kB / 446.6 MB, free: 9.223 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.6848, allocations: 0.6756 MB / 447.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001875/0.6851, allocations: 61.7 kB / 447.3 MB, free: 8.477 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007463/0.6858, allocations: 0.6546 MB / 448 MB, free: 7.809 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005253/0.6864, allocations: 422 kB / 448.4 MB, free: 7.391 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.6865, allocations: 24 kB / 448.4 MB, free: 7.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002957/0.6868, allocations: 410.7 kB / 448.8 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.6885, allocations: 0.6405 MB / 449.5 MB, free: 6.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.6905, allocations: 0.9546 MB / 450.4 MB, free: 5.254 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.6921, allocations: 0.6297 MB / 451.1 MB, free: 4.621 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.788e-06/0.6921, allocations: 0 / 451.1 MB, free: 4.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00437/0.6965, allocations: 1.717 MB / 452.8 MB, free: 2.887 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.6965, allocations: 8 kB / 452.8 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/0.6965, allocations: 12.64 kB / 452.8 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/0.6971, allocations: 178.5 kB / 453 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.6993, allocations: 375.4 kB / 453.3 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005396/0.7047, allocations: 4.439 MB / 457.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.7067, allocations: 211.8 kB / 458 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/0.707, allocations: 55.98 kB / 458 MB, free: 13.21 MB / 346.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.0004621/0.7075, allocations: 201.7 kB / 458.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.7077, allocations: 98.78 kB / 458.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/0.7116, allocations: 1.483 MB / 459.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.7117, allocations: 12 kB / 459.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.435e-06/0.7117, allocations: 0 / 459.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.7117, allocations: 7.969 kB / 459.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.7221, allocations: 4.199 MB / 464 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/0.7221, allocations: 8 kB / 464 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.7237, allocations: 283.8 kB / 464.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008377/0.7246, allocations: 321.5 kB / 464.6 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.7248, allocations: 43.98 kB / 464.7 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.7272, allocations: 2.091 MB / 466.8 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.738e-05/0.7273, allocations: 15.94 kB / 466.8 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005051/0.7323, allocations: 2.53 MB / 469.3 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000902/0.7333, allocations: 331.7 kB / 469.6 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002595/0.7336, allocations: 47.98 kB / 469.7 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.7349, allocations: 155.9 kB / 469.8 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004692/0.7354, allocations: 188.3 kB / 470 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.7355, allocations: 51.98 kB / 470.1 MB, free: 412 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001048/0.7366, allocations: 0.5148 MB / 470.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.65e-07/0.7366, allocations: 0 / 470.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001764/0.7384, allocations: 355.9 kB / 470.9 MB, free: 15.54 MB / 362.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.0004338/0.7389, allocations: 186.9 kB / 471.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003924/0.7428, allocations: 1.716 MB / 472.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.7428, allocations: 4 kB / 472.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.7453, allocations: 0.9042 MB / 473.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.7467, allocations: 172 kB / 473.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006513/0.7532, allocations: 2.452 MB / 476.3 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.7545, allocations: 1.21 MB / 477.6 MB, free: 8.672 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001337/0.7559, allocations: 168.2 kB / 477.7 MB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/0.7564, allocations: 75.44 kB / 477.8 MB, free: 8.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.958e-06/0.7564, allocations: 0 / 477.8 MB, free: 8.43 MB / 362.7 MB Notification: Performance of Templates: time 0.04632/0.8028, allocations: 16.98 MB / 494.8 MB, free: 7.504 MB / 378.7 MB