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_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.635e-05, allocations: 4 kB / 255.4 MB, free: 3.164 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0768/0.07684, allocations: 44.51 MB / 299.9 MB, free: 6.59 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.417, allocations: 88.9 MB / 388.8 MB, free: 20.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.4173, allocations: 86.5 kB / 388.9 MB, free: 20.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1194/0.5367, allocations: 37.97 MB / 426.8 MB, free: 6.816 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5368, allocations: 0 / 426.8 MB, free: 6.816 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001118/0.5369, allocations: 36.77 kB / 426.9 MB, free: 6.809 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.004038/0.5409, allocations: 1.509 MB / 428.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.541, allocations: 7.656 kB / 428.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007948/0.5418, allocations: 178.9 kB / 428.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.5436, allocations: 0.7915 MB / 429.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003327/0.544, allocations: 237.5 kB / 429.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004424/0.5444, allocations: 159.5 kB / 429.7 MB, free: 5.227 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004035/0.5485, allocations: 1.546 MB / 431.3 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-05/0.5486, allocations: 7.891 kB / 431.3 MB, free: 4.938 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002283/0.5488, allocations: 65.92 kB / 431.4 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.5489, allocations: 38.44 kB / 431.4 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003948/0.5528, allocations: 1.363 MB / 432.8 MB, free: 4.855 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.5659, allocations: 6.044 MB / 438.8 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.5678, allocations: 0.8277 MB / 439.6 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.5689, allocations: 480.6 kB / 440.1 MB, free: 396 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.873e-05/0.569, allocations: 12.77 kB / 440.1 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/0.5703, allocations: 0.5932 MB / 440.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 4.878e-06/0.5703, allocations: 0 / 440.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.01818/0.5885, allocations: 5.565 MB / 446.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002054/0.5888, allocations: 299.7 kB / 446.6 MB, free: 9.711 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.5903, allocations: 0.6795 MB / 447.3 MB, free: 9.027 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000285/0.5906, allocations: 53.7 kB / 447.3 MB, free: 8.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007718/0.5914, allocations: 0.6805 MB / 448 MB, free: 8.277 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006654/0.5921, allocations: 418 kB / 448.4 MB, free: 7.863 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.5923, allocations: 28 kB / 448.4 MB, free: 7.836 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.5925, allocations: 358.8 kB / 448.8 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.5943, allocations: 0.6484 MB / 449.4 MB, free: 6.828 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002177/0.5965, allocations: 0.9507 MB / 450.4 MB, free: 5.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.5983, allocations: 0.6296 MB / 451 MB, free: 5.137 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.451e-06/0.5984, allocations: 4 kB / 451 MB, free: 5.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004714/0.6031, allocations: 1.674 MB / 452.7 MB, free: 3.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.6032, allocations: 8.719 kB / 452.7 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/0.6032, allocations: 8 kB / 452.7 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/0.6038, allocations: 178.5 kB / 452.9 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/0.6062, allocations: 379.4 kB / 453.2 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005752/0.612, allocations: 4.435 MB / 457.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.6142, allocations: 207.9 kB / 457.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/0.6146, allocations: 48 kB / 457.9 MB, free: 13.79 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.0005242/0.6151, allocations: 209.7 kB / 458.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003518/0.6155, allocations: 102.7 kB / 458.2 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/0.6196, allocations: 1.487 MB / 459.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/0.6197, allocations: 12 kB / 459.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.518e-06/0.6197, allocations: 0 / 459.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/0.6197, allocations: 3.984 kB / 459.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.6312, allocations: 4.199 MB / 463.9 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/0.6313, allocations: 8 kB / 463.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.633, allocations: 280 kB / 464.2 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000879/0.6339, allocations: 329.4 kB / 464.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.6342, allocations: 35.98 kB / 464.6 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/0.6367, allocations: 2.079 MB / 466.6 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.357e-05/0.6368, allocations: 19.92 kB / 466.7 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00539/0.6422, allocations: 2.531 MB / 469.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009805/0.6432, allocations: 331.7 kB / 469.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/0.6435, allocations: 51.98 kB / 469.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.6449, allocations: 163.8 kB / 469.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005036/0.6454, allocations: 188.3 kB / 469.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.6456, allocations: 47.98 kB / 470 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001093/0.6467, allocations: 0.5148 MB / 470.5 MB, free: 464 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.003e-06/0.6467, allocations: 0 / 470.5 MB, free: 464 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001992/0.6487, allocations: 359.9 kB / 470.8 MB, free: 104 kB / 346.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.000495/0.6493, allocations: 193.1 kB / 471 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0042/0.6535, allocations: 1.716 MB / 472.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/0.6535, allocations: 4 kB / 472.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002597/0.6562, allocations: 0.8765 MB / 473.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.6578, allocations: 176.3 kB / 473.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007394/0.6652, allocations: 2.492 MB / 476.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.6666, allocations: 1.21 MB / 477.5 MB, free: 9.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000834/0.6675, allocations: 91.42 kB / 477.6 MB, free: 9.113 MB / 362.7 MB Notification: Performance of SimCode: time 2.114e-06/0.6675, allocations: 0 / 477.6 MB, free: 9.113 MB / 362.7 MB Notification: Performance of Templates: time 0.05895/0.7265, allocations: 34.02 MB / 0.4996 GB, free: 7.07 MB / 394.7 MB