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.898/1.898, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.871e-05, allocations: 8 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07923/0.07928, allocations: 44.5 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3425/0.4219, allocations: 88.91 MB / 388.8 MB, free: 20.31 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.4222, allocations: 79.77 kB / 388.8 MB, free: 20.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1165/0.5387, allocations: 37.96 MB / 426.8 MB, free: 6.934 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.538e-06/0.5388, allocations: 3.875 kB / 426.8 MB, free: 6.934 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001067/0.5389, allocations: 37.94 kB / 426.8 MB, free: 6.926 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.003899/0.5428, allocations: 1.507 MB / 428.3 MB, free: 5.977 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5429, allocations: 15.19 kB / 428.4 MB, free: 5.973 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007806/0.5436, allocations: 178.7 kB / 428.5 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.5454, allocations: 0.7926 MB / 429.3 MB, free: 5.453 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.5458, allocations: 243.9 kB / 429.6 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004658/0.5463, allocations: 157.5 kB / 429.7 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003805/0.5501, allocations: 1.566 MB / 431.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.997e-05/0.5502, allocations: 7.781 kB / 431.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/0.5504, allocations: 65.33 kB / 431.4 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.5505, allocations: 38.25 kB / 431.4 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003344/0.5538, allocations: 1.38 MB / 432.8 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.5665, allocations: 6.045 MB / 438.8 MB, free: 1.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.5685, allocations: 0.8305 MB / 439.7 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009965/0.5695, allocations: 480.7 kB / 440.1 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.542e-05/0.5697, allocations: 16.77 kB / 440.1 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/0.571, allocations: 0.5947 MB / 440.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 5.011e-06/0.571, allocations: 0 / 440.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.01817/0.5892, allocations: 5.569 MB / 446.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/0.5894, allocations: 295.7 kB / 446.6 MB, free: 9.695 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.591, allocations: 0.6834 MB / 447.3 MB, free: 9.008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003148/0.5913, allocations: 53.7 kB / 447.3 MB, free: 8.949 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007643/0.5921, allocations: 0.6805 MB / 448 MB, free: 8.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006019/0.5927, allocations: 414 kB / 448.4 MB, free: 7.848 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.5929, allocations: 32 kB / 448.4 MB, free: 7.816 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.5932, allocations: 362.8 kB / 448.8 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.595, allocations: 0.6406 MB / 449.4 MB, free: 6.812 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/0.5972, allocations: 0.9624 MB / 450.4 MB, free: 5.738 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.599, allocations: 0.6335 MB / 451 MB, free: 5.102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.5991, allocations: 4 kB / 451 MB, free: 5.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004842/0.6039, allocations: 1.686 MB / 452.7 MB, free: 3.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.604, allocations: 12.73 kB / 452.7 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-05/0.604, allocations: 8 kB / 452.7 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/0.6046, allocations: 182.5 kB / 452.9 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/0.6071, allocations: 379.4 kB / 453.3 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005773/0.6129, allocations: 4.435 MB / 457.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/0.6151, allocations: 207.8 kB / 457.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/0.6154, allocations: 59.98 kB / 458 MB, free: 13.71 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.0005081/0.616, allocations: 202.9 kB / 458.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.6163, allocations: 102.8 kB / 458.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/0.6203, allocations: 1.479 MB / 459.8 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.6204, allocations: 15.94 kB / 459.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.277e-06/0.6204, allocations: 0 / 459.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.6205, allocations: 7.969 kB / 459.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.6319, allocations: 4.218 MB / 464 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/0.632, allocations: 8 kB / 464 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.6337, allocations: 283.9 kB / 464.3 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008964/0.6347, allocations: 329.5 kB / 464.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/0.6349, allocations: 32 kB / 464.6 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.6375, allocations: 2.103 MB / 466.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.409e-05/0.6376, allocations: 11.94 kB / 466.8 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005285/0.6429, allocations: 2.535 MB / 469.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009755/0.6439, allocations: 331.7 kB / 469.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003439/0.6443, allocations: 48 kB / 469.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.6458, allocations: 151.9 kB / 469.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005457/0.6464, allocations: 188.3 kB / 470 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.6466, allocations: 51.98 kB / 470 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00115/0.6477, allocations: 0.5148 MB / 470.6 MB, free: 368 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.055e-06/0.6478, allocations: 0 / 470.6 MB, free: 368 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.002009/0.6498, allocations: 359.9 kB / 470.9 MB, free: 8 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.0005154/0.6503, allocations: 192.5 kB / 471.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004219/0.6546, allocations: 1.768 MB / 472.9 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/0.6546, allocations: 0 / 472.9 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00259/0.6572, allocations: 0.9002 MB / 473.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.6588, allocations: 174.6 kB / 473.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007277/0.6661, allocations: 2.517 MB / 476.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/0.6675, allocations: 1.202 MB / 477.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007833/0.6683, allocations: 87.36 kB / 477.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of SimCode: time 2.027e-06/0.6684, allocations: 0 / 477.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of Templates: time 0.05653/0.7249, allocations: 34.16 MB / 0.4999 GB, free: 6.758 MB / 394.7 MB