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.987/1.987, allocations: 194.9 MB / 211.2 MB, free: 8.359 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.897e-05, allocations: 7.906 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3097, allocations: 44.5 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis): time 0.01205/0.3218, allocations: 7.213 MB / 310.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006096/0.328, allocations: 2.062 MB / 312.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.3299, allocations: 51.88 kB / 312.6 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.3314, allocations: 234.3 kB / 312.9 MB, free: 4.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.3341, allocations: 482.5 kB / 313.3 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.336, allocations: 339.6 kB / 313.7 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003603/0.3396, allocations: 1.097 MB / 314.8 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.3415, allocations: 0.6171 MB / 315.4 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.3431, allocations: 0.4987 MB / 315.9 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.3445, allocations: 0.576 MB / 316.5 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008327/0.3454, allocations: 99.95 kB / 316.5 MB, free: 424 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004623/0.3459, allocations: 60 kB / 316.6 MB, free: 364 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003936/0.3463, allocations: 254.9 kB / 316.9 MB, free: 108 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00058/0.3469, allocations: 136 kB / 317 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004342/0.3513, allocations: 2.666 MB / 319.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3513, allocations: 0 / 319.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3513, allocations: 4 kB / 319.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.609e-05/0.3514, allocations: 0 / 319.7 MB, free: 13.29 MB / 266.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.005066/0.3565, allocations: 1.531 MB / 321.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.3566, allocations: 15.97 kB / 321.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005543/0.3572, allocations: 181.9 kB / 321.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.3591, allocations: 0.8062 MB / 322.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004389/0.3595, allocations: 240.1 kB / 322.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000392/0.3599, allocations: 155.9 kB / 322.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005281/0.3652, allocations: 1.674 MB / 324.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.095e-05/0.3654, allocations: 11.83 kB / 324.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.3656, allocations: 68 kB / 324.3 MB, free: 8.477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/0.3657, allocations: 36 kB / 324.4 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005838/0.3715, allocations: 1.57 MB / 325.9 MB, free: 6.867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/0.387, allocations: 5.962 MB / 331.9 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/0.3905, allocations: 0.9521 MB / 332.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.3906, allocations: 16.89 kB / 332.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002107/0.3928, allocations: 0.6684 MB / 333.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=90): time 3.737e-06/0.3928, allocations: 0 / 333.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.06627/0.4591, allocations: 9.857 MB / 343.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.4593, allocations: 307.8 kB / 343.7 MB, free: 4.645 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.461, allocations: 0.6989 MB / 344.4 MB, free: 3.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002448/0.4612, allocations: 53.7 kB / 344.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006856/0.4619, allocations: 0.6765 MB / 345.1 MB, free: 3.195 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005689/0.4625, allocations: 410.1 kB / 345.5 MB, free: 2.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.4627, allocations: 28 kB / 345.5 MB, free: 2.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.4629, allocations: 358.8 kB / 345.9 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003681/0.4666, allocations: 0.8472 MB / 346.7 MB, free: 1.555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004049/0.4707, allocations: 1.154 MB / 347.9 MB, free: 296 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/0.4744, allocations: 0.834 MB / 348.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/0.4744, allocations: 4 kB / 348.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.008424/0.4828, allocations: 2.088 MB / 350.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.4829, allocations: 8 kB / 350.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.4829, allocations: 8 kB / 350.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000623/0.4836, allocations: 174.5 kB / 351 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/0.4869, allocations: 375.5 kB / 351.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005574/0.4925, allocations: 4.486 MB / 355.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/0.4954, allocations: 199.9 kB / 356.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/0.4956, allocations: 48 kB / 356.1 MB, free: 7.648 MB / 298.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: 12 (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.noWphase,pathPlanning.pathToAxis1.moving[1],pathPlanning.terminateSimulation.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * 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.001119/0.4967, allocations: 379.2 kB / 356.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.4971, allocations: 114.8 kB / 356.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.4974, allocations: 130 kB / 356.7 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.4975, allocations: 15.95 kB / 356.7 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.4975, allocations: 0 / 356.7 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.4975, allocations: 7.969 kB / 356.7 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/0.5114, allocations: 4.545 MB / 361.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/0.5115, allocations: 8 kB / 361.3 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/0.5139, allocations: 279.7 kB / 361.6 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.515, allocations: 369.4 kB / 361.9 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/0.5152, allocations: 35.98 kB / 362 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.5178, allocations: 2.188 MB / 364.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/0.5178, allocations: 12.06 kB / 364.2 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009391/0.5272, allocations: 3.085 MB / 367.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009701/0.5282, allocations: 323.6 kB / 367.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000339/0.5286, allocations: 44 kB / 367.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/0.5306, allocations: 179.8 kB / 367.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005745/0.5312, allocations: 184.1 kB / 368 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.5314, allocations: 43.98 kB / 368 MB, free: 10.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001223/0.5326, allocations: 0.5303 MB / 368.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5326, allocations: 0 / 368.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002024/0.5347, allocations: 344 kB / 368.9 MB, free: 10.1 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 7 (axis.gear.spring.phi_rel,axis.gear.spring.w_rel,axis.motor.La.i,axis.motor.C.v,axis.motor.Jmotor.w,axis.controller.PI.x,axis.initializeFlange.phi_flange) * Number of discrete variables: 8 (pathPlanning.terminateSimulation.condition,$whenCondition1,axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.locked,axis.gear.bearingFriction.mode,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 (112): * Single equations (assignments): 110 * 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.000511/0.5352, allocations: 174.9 kB / 369 MB, free: 9.918 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.009263/0.5445, allocations: 2.094 MB / 371.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.929e-05/0.5446, allocations: 4 kB / 371.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005722/0.5503, allocations: 1.059 MB / 372.2 MB, free: 6.719 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.5528, allocations: 175 kB / 372.4 MB, free: 6.547 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.5666, allocations: 3.774 MB / 376.1 MB, free: 2.605 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.5683, allocations: 1.202 MB / 377.3 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.5696, allocations: 83.44 kB / 377.4 MB, free: 1.285 MB / 314.7 MB Notification: Performance of SimCode: time 1.432e-06/0.5697, allocations: 4 kB / 377.4 MB, free: 1.281 MB / 314.7 MB Notification: Performance of Templates: time 0.07755/0.6472, allocations: 34.04 MB / 411.5 MB, free: 15.2 MB / 362.7 MB