Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis") Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.42e-05/4.444e-05, allocations: 4 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09217/0.09226, allocations: 50.42 MB / 342.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4223/0.5146, allocations: 96.73 MB / 439.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/0.515, allocations: 88.69 kB / 439.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1847/0.6998, allocations: 38.94 MB / 478.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.5e-06/0.6999, allocations: 0 / 478.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001211/0.7, allocations: 35.98 kB / 478.4 MB, free: 11.26 MB / 394.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.004637/0.7047, allocations: 1.511 MB / 479.9 MB, free: 9.699 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.7047, allocations: 8.031 kB / 479.9 MB, free: 9.691 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007954/0.7055, allocations: 178 kB / 480 MB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.7076, allocations: 0.7944 MB / 480.8 MB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004199/0.708, allocations: 236.1 kB / 481.1 MB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004788/0.7085, allocations: 163.9 kB / 481.2 MB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004514/0.7131, allocations: 1.54 MB / 482.8 MB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.816e-05/0.7132, allocations: 15.89 kB / 482.8 MB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.7134, allocations: 60 kB / 482.8 MB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/0.7135, allocations: 44 kB / 482.9 MB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004066/0.7176, allocations: 1.353 MB / 484.2 MB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.7327, allocations: 6.047 MB / 490.3 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/0.7349, allocations: 0.8247 MB / 491.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.7361, allocations: 477.7 kB / 491.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.7362, allocations: 12.78 kB / 491.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/0.7376, allocations: 0.597 MB / 492.2 MB, free: 12.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 5.166e-06/0.7376, allocations: 7.938 kB / 492.2 MB, free: 12.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.01761/0.7553, allocations: 5.572 MB / 497.8 MB, free: 7.312 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002035/0.7555, allocations: 299.7 kB / 498.1 MB, free: 6.953 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.757, allocations: 0.6756 MB / 498.7 MB, free: 6.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002552/0.7572, allocations: 57.73 kB / 498.8 MB, free: 6.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007642/0.758, allocations: 0.6727 MB / 499.5 MB, free: 5.523 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005919/0.7586, allocations: 425.9 kB / 499.9 MB, free: 5.102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.7588, allocations: 28 kB / 499.9 MB, free: 5.074 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.759, allocations: 358.8 kB / 0.4885 GB, free: 4.715 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.7607, allocations: 0.6445 MB / 0.4892 GB, free: 4.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.7628, allocations: 0.9471 MB / 0.4901 GB, free: 3.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.7645, allocations: 0.6318 MB / 0.4907 GB, free: 2.383 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.7645, allocations: 4 kB / 0.4907 GB, free: 2.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.0045/0.7691, allocations: 1.667 MB / 0.4923 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.7691, allocations: 12 kB / 0.4923 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.7692, allocations: 8 kB / 0.4924 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/0.7698, allocations: 186.4 kB / 0.4925 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/0.7721, allocations: 363.5 kB / 0.4929 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005976/0.7781, allocations: 4.447 MB / 0.4972 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.7802, allocations: 203.9 kB / 0.4974 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002616/0.7805, allocations: 52 kB / 0.4975 GB, free: 11.02 MB / 426.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.0004713/0.781, allocations: 191.1 kB / 0.4976 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.7813, allocations: 106.7 kB / 0.4977 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/0.7854, allocations: 1.499 MB / 0.4992 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.7855, allocations: 12 kB / 0.4992 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.7855, allocations: 7.953 kB / 0.4992 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.7855, allocations: 7.922 kB / 0.4992 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.7969, allocations: 4.214 MB / 0.5034 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/0.7969, allocations: 8 kB / 0.5034 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.7986, allocations: 287.6 kB / 0.5036 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008156/0.7994, allocations: 325.5 kB / 0.5039 GB, free: 4.168 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/0.7996, allocations: 43.94 kB / 0.504 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.802, allocations: 2.079 MB / 0.506 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.622e-05/0.8021, allocations: 15.94 kB / 0.506 GB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005235/0.8073, allocations: 2.561 MB / 0.5085 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009315/0.8083, allocations: 331.6 kB / 0.5089 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.8086, allocations: 47.95 kB / 0.5089 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.81, allocations: 159.9 kB / 0.5091 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004943/0.8105, allocations: 184.3 kB / 0.5092 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.8107, allocations: 51.94 kB / 0.5093 GB, free: 14.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.8118, allocations: 0.5148 MB / 0.5098 GB, free: 13.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.033e-06/0.8118, allocations: 3.938 kB / 0.5098 GB, free: 13.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001966/0.8138, allocations: 352 kB / 0.5101 GB, free: 13.29 MB / 442.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.0004791/0.8143, allocations: 191 kB / 0.5103 GB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004014/0.8184, allocations: 1.722 MB / 0.512 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.8184, allocations: 1.812 kB / 0.512 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/0.8209, allocations: 0.8773 MB / 0.5128 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.8223, allocations: 163.2 kB / 0.513 GB, free: 10.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006947/0.8293, allocations: 2.5 MB / 0.5154 GB, free: 7.637 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/0.8306, allocations: 1.206 MB / 0.5166 GB, free: 6.406 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007599/0.8314, allocations: 87.42 kB / 0.5167 GB, free: 6.32 MB / 442.7 MB Notification: Performance of SimCode: time 2.024e-06/0.8314, allocations: 0 / 0.5167 GB, free: 6.32 MB / 442.7 MB Notification: Performance of Templates: time 0.2889/1.12, allocations: 34.01 MB / 0.5499 GB, free: 124.3 MB / 442.7 MB