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.626/1.626, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.899e-05, allocations: 3.938 kB / 228.2 MB, free: 7.309 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07949/0.07954, allocations: 38.77 MB / 266.9 MB, free: 468 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis): time 0.01158/0.09118, allocations: 7.189 MB / 274.1 MB, free: 9.227 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005723/0.09695, allocations: 2.061 MB / 276.2 MB, free: 7.16 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.09855, allocations: 51.88 kB / 276.2 MB, free: 7.109 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.09983, allocations: 222.4 kB / 276.4 MB, free: 6.891 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00234/0.1022, allocations: 482.5 kB / 276.9 MB, free: 6.418 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.1039, allocations: 351.4 kB / 277.3 MB, free: 6.074 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003115/0.107, allocations: 1.093 MB / 278.4 MB, free: 4.98 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.1085, allocations: 0.6132 MB / 279 MB, free: 4.359 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.1098, allocations: 0.4948 MB / 279.5 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.1111, allocations: 0.5682 MB / 280 MB, free: 3.293 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006169/0.1117, allocations: 139.9 kB / 280.2 MB, free: 3.156 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003517/0.1121, allocations: 64 kB / 280.2 MB, free: 3.094 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.1125, allocations: 254.9 kB / 280.5 MB, free: 2.844 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.1129, allocations: 136 kB / 280.6 MB, free: 2.711 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003918/0.1168, allocations: 2.664 MB / 283.3 MB, free: 40 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1169, allocations: 0 / 283.3 MB, free: 40 kB / 234.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1169, allocations: 3.938 kB / 283.3 MB, free: 36 kB / 234.7 MB Notification: Performance of Transformations before backend: time 8.897e-05/0.117, allocations: 0 / 283.3 MB, free: 36 kB / 234.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.00521/0.1222, allocations: 1.527 MB / 284.8 MB, free: 14.45 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1223, allocations: 8.031 kB / 284.8 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006517/0.123, allocations: 181.9 kB / 285 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.1249, allocations: 0.8099 MB / 285.8 MB, free: 13.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004535/0.1254, allocations: 240.1 kB / 286 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/0.1259, allocations: 160 kB / 286.2 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005596/0.1315, allocations: 1.651 MB / 287.8 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.562e-05/0.1316, allocations: 7.906 kB / 287.9 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/0.1319, allocations: 64 kB / 287.9 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.1319, allocations: 36 kB / 287.9 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006053/0.138, allocations: 1.554 MB / 289.5 MB, free: 9.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/0.1548, allocations: 5.961 MB / 295.5 MB, free: 3.473 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/0.1586, allocations: 0.9568 MB / 296.4 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.1588, allocations: 13 kB / 296.4 MB, free: 2.492 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002211/0.161, allocations: 0.6606 MB / 297.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of pre-optimization done (n=90): time 7.514e-06/0.1611, allocations: 0 / 297.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=120): time 0.2772/0.4383, allocations: 9.905 MB / 307 MB, free: 26.83 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.4384, allocations: 305.2 kB / 307.3 MB, free: 26.48 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.4401, allocations: 0.6979 MB / 308 MB, free: 26.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003342/0.4404, allocations: 57.64 kB / 308.1 MB, free: 26.11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006132/0.4411, allocations: 0.6528 MB / 308.7 MB, free: 25.6 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005805/0.4417, allocations: 410.1 kB / 309.1 MB, free: 25.29 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.4418, allocations: 33.41 kB / 309.1 MB, free: 25.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.442, allocations: 403.2 kB / 309.5 MB, free: 24.91 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003658/0.4457, allocations: 0.8355 MB / 310.4 MB, free: 24.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004007/0.4498, allocations: 1.143 MB / 311.5 MB, free: 23.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/0.4536, allocations: 0.8215 MB / 312.3 MB, free: 23.56 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.482e-05/0.4537, allocations: 2.5 kB / 312.3 MB, free: 23.56 MB / 250.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.008364/0.4621, allocations: 2.12 MB / 314.5 MB, free: 22.64 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.4622, allocations: 7.906 kB / 314.5 MB, free: 22.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.4622, allocations: 7.875 kB / 314.5 MB, free: 22.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/0.4628, allocations: 177.4 kB / 314.6 MB, free: 22.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003137/0.4659, allocations: 372.1 kB / 315 MB, free: 22.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004374/0.4703, allocations: 4.492 MB / 319.5 MB, free: 17.99 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/0.4732, allocations: 197.9 kB / 319.7 MB, free: 17.92 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.4734, allocations: 54.86 kB / 319.7 MB, free: 17.9 MB / 250.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.001018/0.4744, allocations: 384.1 kB / 320.1 MB, free: 17.61 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.4747, allocations: 105.3 kB / 320.2 MB, free: 17.56 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.4751, allocations: 128.9 kB / 320.3 MB, free: 17.44 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4751, allocations: 22.12 kB / 320.4 MB, free: 17.44 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/0.4751, allocations: 0 / 320.4 MB, free: 17.44 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.4752, allocations: 3.984 kB / 320.4 MB, free: 17.43 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/0.4871, allocations: 4.616 MB / 325 MB, free: 12.76 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.4872, allocations: 8 kB / 325 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/0.4893, allocations: 283.6 kB / 325.3 MB, free: 12.47 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006564/0.49, allocations: 293.6 kB / 325.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.4901, allocations: 39.98 kB / 325.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.492, allocations: 2.151 MB / 327.8 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.492, allocations: 20.06 kB / 327.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008011/0.5, allocations: 3.157 MB / 330.9 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007553/0.5008, allocations: 319.7 kB / 331.2 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/0.5011, allocations: 43.98 kB / 331.3 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/0.503, allocations: 186.8 kB / 331.5 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004535/0.5035, allocations: 184.2 kB / 331.6 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/0.5036, allocations: 40 kB / 331.7 MB, free: 5.496 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001388/0.505, allocations: 0.5302 MB / 332.2 MB, free: 4.973 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5051, allocations: 1.75 kB / 332.2 MB, free: 4.973 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.002631/0.5077, allocations: 343.6 kB / 332.6 MB, free: 4.641 MB / 250.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.0004623/0.5082, allocations: 174.9 kB / 332.7 MB, free: 4.461 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00892/0.5171, allocations: 2.077 MB / 334.8 MB, free: 2.352 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/0.5172, allocations: 4 kB / 334.8 MB, free: 2.348 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005328/0.5225, allocations: 1.09 MB / 335.9 MB, free: 1.242 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.5246, allocations: 171.3 kB / 336.1 MB, free: 1.074 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.5371, allocations: 3.713 MB / 339.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.5388, allocations: 1.205 MB / 341 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.002155/0.541, allocations: 164.4 kB / 341.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007973/0.5418, allocations: 83.38 kB / 341.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5418, allocations: 0 / 341.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of Templates: time 0.05825/0.6001, allocations: 16.59 MB / 357.8 MB, free: 11.21 MB / 282.7 MB