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.927/1.927, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.361e-05, allocations: 3.938 kB / 249.6 MB, free: 15.27 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2533, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/0.3906, allocations: 88.24 MB / 382.4 MB, free: 9.711 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.3909, allocations: 87.78 kB / 382.4 MB, free: 9.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1414/0.5323, allocations: 37.7 MB / 420.1 MB, free: 3.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.234e-06/0.5324, allocations: 0 / 420.1 MB, free: 3.824 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002154/0.5327, allocations: 32.22 kB / 420.2 MB, free: 3.793 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.00903/0.5417, allocations: 1.507 MB / 421.7 MB, free: 2.234 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.664e-05/0.5418, allocations: 8.031 kB / 421.7 MB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.5434, allocations: 186 kB / 421.9 MB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/0.5478, allocations: 0.7905 MB / 422.7 MB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007971/0.5487, allocations: 184.1 kB / 422.8 MB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008268/0.5495, allocations: 103.9 kB / 422.9 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2391/0.7887, allocations: 1.287 MB / 424.2 MB, free: 93.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004398/0.7931, allocations: 1.343 MB / 425.6 MB, free: 93.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.12e-05/0.7932, allocations: 11.08 kB / 425.6 MB, free: 93.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.7934, allocations: 1.344 kB / 425.6 MB, free: 93.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.271e-05/0.7935, allocations: 36.44 kB / 425.6 MB, free: 93.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/0.8063, allocations: 5.777 MB / 431.4 MB, free: 91.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.8081, allocations: 0.7998 MB / 432.2 MB, free: 91.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009715/0.8091, allocations: 454.2 kB / 432.6 MB, free: 91.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.38e-05/0.8092, allocations: 13.12 kB / 432.7 MB, free: 91.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.8104, allocations: 0.5707 MB / 433.2 MB, free: 91.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=92): time 5.248e-06/0.8104, allocations: 0 / 433.2 MB, free: 91.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.0164/0.8268, allocations: 5.321 MB / 438.6 MB, free: 90.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.827, allocations: 306.8 kB / 438.9 MB, free: 90.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.8281, allocations: 0.5984 MB / 439.5 MB, free: 90.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002573/0.8283, allocations: 39.5 kB / 439.5 MB, free: 90.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/0.8288, allocations: 0.6801 MB / 440.2 MB, free: 89.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003985/0.8292, allocations: 405.2 kB / 440.6 MB, free: 89.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.8294, allocations: 1.5 kB / 440.6 MB, free: 89.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.8295, allocations: 358.4 kB / 440.9 MB, free: 88.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.831, allocations: 0.6189 MB / 441.5 MB, free: 88.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.8326, allocations: 0.9172 MB / 442.5 MB, free: 87.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.8341, allocations: 0.6104 MB / 443.1 MB, free: 87.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.575e-06/0.8342, allocations: 0 / 443.1 MB, free: 87.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003963/0.8381, allocations: 1.581 MB / 444.6 MB, free: 86.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.8382, allocations: 6.656 kB / 444.7 MB, free: 86.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.8383, allocations: 9.719 kB / 444.7 MB, free: 86.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004781/0.8387, allocations: 176.8 kB / 444.8 MB, free: 86.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/0.8409, allocations: 367.6 kB / 445.2 MB, free: 86.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/0.8447, allocations: 4.287 MB / 449.5 MB, free: 82.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.847, allocations: 175.3 kB / 449.7 MB, free: 82.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002533/0.8472, allocations: 60.92 kB / 449.7 MB, free: 82.74 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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.0004497/0.8477, allocations: 156.9 kB / 449.9 MB, free: 82.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.848, allocations: 101.5 kB / 450 MB, free: 82.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/0.8513, allocations: 1.396 MB / 451.4 MB, free: 81.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.8514, allocations: 13.81 kB / 451.4 MB, free: 81.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.166e-06/0.8514, allocations: 0 / 451.4 MB, free: 81.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.8514, allocations: 3.656 kB / 451.4 MB, free: 81.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008803/0.8602, allocations: 3.914 MB / 455.3 MB, free: 79.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.8603, allocations: 8.969 kB / 455.3 MB, free: 79.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.8617, allocations: 283.1 kB / 455.6 MB, free: 79.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007184/0.8625, allocations: 332.9 kB / 455.9 MB, free: 79.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/0.8627, allocations: 17.28 kB / 455.9 MB, free: 79.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.8644, allocations: 2.063 MB / 458 MB, free: 77.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/0.8645, allocations: 19.59 kB / 458 MB, free: 77.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004089/0.8686, allocations: 2.464 MB / 460.5 MB, free: 75.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008438/0.8695, allocations: 318.5 kB / 460.8 MB, free: 75.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/0.8697, allocations: 25.72 kB / 460.8 MB, free: 75.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.8712, allocations: 140.3 kB / 460.9 MB, free: 75.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004638/0.8717, allocations: 184.4 kB / 461.1 MB, free: 75.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.8719, allocations: 47.53 kB / 461.2 MB, free: 75.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008212/0.8727, allocations: 462.5 kB / 461.6 MB, free: 75.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.8727, allocations: 2.188 kB / 461.6 MB, free: 75.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001892/0.8746, allocations: 307.8 kB / 461.9 MB, free: 75.28 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.0004005/0.875, allocations: 163.6 kB / 462.1 MB, free: 75.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003242/0.8783, allocations: 1.675 MB / 463.8 MB, free: 74.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/0.8784, allocations: 3.5 kB / 463.8 MB, free: 74.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002153/0.8805, allocations: 0.8583 MB / 464.6 MB, free: 73.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.8819, allocations: 151.5 kB / 464.8 MB, free: 73.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/0.8884, allocations: 2.431 MB / 467.2 MB, free: 72.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009142/0.8893, allocations: 1.207 MB / 468.4 MB, free: 71.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007618/0.8901, allocations: 84.83 kB / 468.5 MB, free: 71.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.083e-06/0.8901, allocations: 0 / 468.5 MB, free: 71.48 MB / 362.7 MB Notification: Performance of Templates: time 0.04078/0.9309, allocations: 33.69 MB / 0.4904 GB, free: 42.64 MB / 362.7 MB