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.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") Notification: Performance of loadModel(Modelica): time 1.742/1.742, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.029e-05/4.039e-05, allocations: 4 kB / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2442, allocations: 38.77 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.414, allocations: 83.67 MB / 347.5 MB, free: 6.02 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.4144, allocations: 87.95 kB / 347.6 MB, free: 5.934 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3742/0.7886, allocations: 38 MB / 385.6 MB, free: 80.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.396e-06/0.7886, allocations: 0 / 385.6 MB, free: 80.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.247e-05/0.7887, allocations: 41.95 kB / 385.6 MB, free: 80.12 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: 387 * Number of variables: 387 Notification: Performance of Generate backend data structure: time 0.00311/0.7918, allocations: 1.505 MB / 387.1 MB, free: 79.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.7919, allocations: 7.406 kB / 387.1 MB, free: 79.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004629/0.7924, allocations: 187.1 kB / 387.3 MB, free: 79.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.7938, allocations: 0.7918 MB / 388.1 MB, free: 78.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.7941, allocations: 242.2 kB / 388.3 MB, free: 78.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/0.7944, allocations: 154.1 kB / 388.5 MB, free: 78.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003349/0.7978, allocations: 1.574 MB / 390 MB, free: 78.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.069e-05/0.7979, allocations: 7.375 kB / 390.1 MB, free: 78.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.7981, allocations: 62.72 kB / 390.1 MB, free: 78.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.7981, allocations: 35.56 kB / 390.2 MB, free: 78.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00341/0.8015, allocations: 1.413 MB / 391.6 MB, free: 78.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/0.8126, allocations: 6.088 MB / 397.7 MB, free: 74.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.8145, allocations: 0.8734 MB / 398.5 MB, free: 73.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008868/0.8154, allocations: 488.7 kB / 399 MB, free: 72.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.015e-05/0.8155, allocations: 8.781 kB / 399 MB, free: 72.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.8166, allocations: 0.6059 MB / 399.6 MB, free: 72.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 4.509e-06/0.8166, allocations: 0 / 399.6 MB, free: 72.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=121): time 0.01434/0.831, allocations: 5.64 MB / 405.3 MB, free: 66.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.8311, allocations: 299.7 kB / 405.5 MB, free: 65.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.8323, allocations: 0.6989 MB / 406.2 MB, free: 65.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001951/0.8325, allocations: 53.7 kB / 406.3 MB, free: 65.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/0.833, allocations: 0.6622 MB / 407 MB, free: 64.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/0.8334, allocations: 409.9 kB / 407.4 MB, free: 64.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.8335, allocations: 28 kB / 407.4 MB, free: 64.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.8337, allocations: 414.7 kB / 407.8 MB, free: 63.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.8351, allocations: 0.6679 MB / 408.5 MB, free: 63.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.8368, allocations: 0.9783 MB / 409.4 MB, free: 61.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.8382, allocations: 0.6571 MB / 410.1 MB, free: 61.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.607e-06/0.8382, allocations: 8 kB / 410.1 MB, free: 61.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003765/0.842, allocations: 1.764 MB / 411.9 MB, free: 59.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.842, allocations: 8 kB / 411.9 MB, free: 59.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.842, allocations: 7.938 kB / 411.9 MB, free: 59.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000485/0.8425, allocations: 190 kB / 412.1 MB, free: 59.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/0.8445, allocations: 375.5 kB / 412.4 MB, free: 58.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003728/0.8483, allocations: 4.465 MB / 416.9 MB, free: 54.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.8502, allocations: 203.9 kB / 417.1 MB, free: 53.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/0.8504, allocations: 55.98 kB / 417.2 MB, free: 53.82 MB / 314.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): 166 * 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.0003743/0.8508, allocations: 195 kB / 417.3 MB, free: 53.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.851, allocations: 102.8 kB / 417.4 MB, free: 53.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.8513, allocations: 138 kB / 417.6 MB, free: 53.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.8513, allocations: 12 kB / 417.6 MB, free: 53.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.8513, allocations: 0 / 417.6 MB, free: 53.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.8514, allocations: 3.984 kB / 417.6 MB, free: 53.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008232/0.8596, allocations: 4.251 MB / 421.8 MB, free: 48.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.8597, allocations: 12 kB / 421.9 MB, free: 48.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.8611, allocations: 276 kB / 422.1 MB, free: 48.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008251/0.8619, allocations: 484.2 kB / 422.6 MB, free: 48.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.862, allocations: 43.48 kB / 422.6 MB, free: 48.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.8637, allocations: 2.169 MB / 424.8 MB, free: 45.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.8637, allocations: 11.94 kB / 424.8 MB, free: 45.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003806/0.8676, allocations: 2.604 MB / 427.4 MB, free: 42.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/0.8682, allocations: 331.7 kB / 427.8 MB, free: 42.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.8684, allocations: 43.98 kB / 427.8 MB, free: 42.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.8697, allocations: 159.9 kB / 428 MB, free: 42.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003823/0.8701, allocations: 184.3 kB / 428.1 MB, free: 42.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.8702, allocations: 47.98 kB / 428.2 MB, free: 42.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008303/0.8711, allocations: 0.5187 MB / 428.7 MB, free: 41.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.74e-07/0.8711, allocations: 4 kB / 428.7 MB, free: 41.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00145/0.8725, allocations: 348 kB / 429 MB, free: 41.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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 (113): * Single equations (assignments): 111 * 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.0003161/0.8729, allocations: 192.5 kB / 429.2 MB, free: 41.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002995/0.8759, allocations: 1.71 MB / 430.9 MB, free: 39.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.089e-06/0.8759, allocations: 4 kB / 430.9 MB, free: 39.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.8779, allocations: 0.9028 MB / 431.8 MB, free: 38.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.8789, allocations: 167 kB / 432 MB, free: 38.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.8842, allocations: 2.434 MB / 434.4 MB, free: 35.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007952/0.885, allocations: 1.214 MB / 435.7 MB, free: 34.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00192/0.8869, allocations: 160.3 kB / 435.8 MB, free: 34.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/0.8875, allocations: 71.44 kB / 435.9 MB, free: 34.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.706e-06/0.8875, allocations: 3.938 kB / 435.9 MB, free: 34.2 MB / 314.7 MB Notification: Performance of Templates: time 0.0364/0.9239, allocations: 16.73 MB / 452.6 MB, free: 17.57 MB / 314.7 MB