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.746/1.746, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.672e-05/2.68e-05, allocations: 7.906 kB / 258.8 MB, free: 7.852 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3071, allocations: 44.5 MB / 303.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis): time 0.01112/0.3183, allocations: 7.213 MB / 310.5 MB, free: 6.363 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.3236, allocations: 2.06 MB / 312.6 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009855/0.3246, allocations: 59.81 kB / 312.7 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006509/0.3253, allocations: 222.4 kB / 312.9 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.3268, allocations: 482.4 kB / 313.4 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3279, allocations: 339.5 kB / 313.7 MB, free: 3.215 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002061/0.33, allocations: 1.104 MB / 314.8 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.3312, allocations: 0.6171 MB / 315.4 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009318/0.3321, allocations: 0.4987 MB / 315.9 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009392/0.3331, allocations: 0.5759 MB / 316.5 MB, free: 408 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.3335, allocations: 95.95 kB / 316.6 MB, free: 312 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.3337, allocations: 60 kB / 316.6 MB, free: 252 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.3341, allocations: 266.9 kB / 316.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.3345, allocations: 132 kB / 317 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003245/0.3377, allocations: 2.664 MB / 319.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3377, allocations: 0 / 319.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3377, allocations: 0 / 319.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.791e-05/0.3378, allocations: 0 / 319.7 MB, free: 13.18 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.004529/0.3423, allocations: 1.539 MB / 321.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3424, allocations: 8.031 kB / 321.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/0.3428, allocations: 185.9 kB / 321.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.3445, allocations: 0.8023 MB / 322.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003965/0.3449, allocations: 244.1 kB / 322.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003695/0.3453, allocations: 159.9 kB / 322.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004911/0.3502, allocations: 1.667 MB / 324.3 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.837e-05/0.3503, allocations: 19.83 kB / 324.3 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.3505, allocations: 60 kB / 324.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/0.3506, allocations: 40 kB / 324.4 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005446/0.356, allocations: 1.574 MB / 326 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/0.3699, allocations: 5.954 MB / 331.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003342/0.3733, allocations: 0.952 MB / 332.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.3735, allocations: 13 kB / 332.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002009/0.3755, allocations: 0.6723 MB / 333.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=90): time 3.337e-06/0.3755, allocations: 0 / 333.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.06504/0.4405, allocations: 9.847 MB / 343.4 MB, free: 4.906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.4407, allocations: 303.7 kB / 343.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.4423, allocations: 0.695 MB / 344.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001815/0.4425, allocations: 53.7 kB / 344.4 MB, free: 3.785 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000658/0.4431, allocations: 0.6624 MB / 345.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005009/0.4436, allocations: 410.1 kB / 345.5 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.4438, allocations: 31.98 kB / 345.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.444, allocations: 402.7 kB / 345.9 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/0.4475, allocations: 0.8472 MB / 346.8 MB, free: 1.418 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003798/0.4514, allocations: 1.154 MB / 347.9 MB, free: 156 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/0.4548, allocations: 0.8263 MB / 348.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.4548, allocations: 4 kB / 348.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.008115/0.4629, allocations: 2.135 MB / 350.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.463, allocations: 8 kB / 350.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.463, allocations: 11.94 kB / 350.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000601/0.4636, allocations: 174.5 kB / 351.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/0.4669, allocations: 375.4 kB / 351.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005175/0.4721, allocations: 4.482 MB / 355.9 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.4748, allocations: 204 kB / 356.1 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.475, allocations: 55.97 kB / 356.2 MB, free: 7.457 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.001023/0.476, allocations: 383.2 kB / 356.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/0.4763, allocations: 102.8 kB / 356.7 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.4767, allocations: 130 kB / 356.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.4767, allocations: 19.95 kB / 356.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.4767, allocations: 4 kB / 356.8 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.4767, allocations: 7.969 kB / 356.8 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.4896, allocations: 4.528 MB / 361.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/0.4896, allocations: 15.94 kB / 361.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002216/0.4919, allocations: 276.4 kB / 361.6 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008971/0.4928, allocations: 381.4 kB / 362 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.4929, allocations: 39.98 kB / 362.1 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/0.4952, allocations: 2.173 MB / 364.2 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-05/0.4953, allocations: 15.94 kB / 364.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008738/0.504, allocations: 3.085 MB / 367.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006952/0.5047, allocations: 323.7 kB / 367.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000321/0.5051, allocations: 47.98 kB / 367.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/0.507, allocations: 171.9 kB / 367.9 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000507/0.5075, allocations: 188.2 kB / 368 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.5077, allocations: 40 kB / 368.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001094/0.5088, allocations: 0.5302 MB / 368.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5088, allocations: 0 / 368.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00164/0.5104, allocations: 344 kB / 368.9 MB, free: 9.922 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.0003952/0.5109, allocations: 182.9 kB / 369.1 MB, free: 9.734 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00695/0.5178, allocations: 2.098 MB / 371.2 MB, free: 7.602 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.5178, allocations: 4.125 kB / 371.2 MB, free: 7.598 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003797/0.5217, allocations: 1.09 MB / 372.3 MB, free: 6.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.523, allocations: 170.8 kB / 372.5 MB, free: 6.332 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008733/0.5318, allocations: 3.717 MB / 376.2 MB, free: 2.457 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.5328, allocations: 1.202 MB / 377.4 MB, free: 1.219 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001536/0.5344, allocations: 172.3 kB / 377.6 MB, free: 1.047 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006093/0.535, allocations: 71.44 kB / 377.6 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.535, allocations: 4 kB / 377.6 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of Templates: time 0.0458/0.5808, allocations: 16.98 MB / 394.6 MB, free: 4 kB / 330.7 MB