Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_oneAxis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.22/2.22, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.612e-05/4.616e-05, allocations: 7.984 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5494/0.6509, allocations: 93.68 MB / 410.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.6513, allocations: 84.02 kB / 410.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1589/0.8102, allocations: 38.13 MB / 448.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.8102, allocations: 0 / 448.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001703/0.8104, allocations: 28 kB / 449 MB, free: 10.06 MB / 362.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.006285/0.8167, allocations: 1.516 MB / 450.5 MB, free: 8.602 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.8168, allocations: 12.03 kB / 450.5 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000869/0.8177, allocations: 223.5 kB / 450.7 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009561/0.8187, allocations: 193.2 kB / 450.9 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.8211, allocations: 0.7833 MB / 451.7 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005033/0.8217, allocations: 244.7 kB / 451.9 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007582/0.8225, allocations: 159 kB / 452.1 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/0.8281, allocations: 1.552 MB / 453.6 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.8283, allocations: 3.906 kB / 453.6 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002839/0.8286, allocations: 65 kB / 453.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.054e-05/0.8287, allocations: 36 kB / 453.7 MB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005316/0.834, allocations: 1.365 MB / 455.1 MB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01971/0.8538, allocations: 6.042 MB / 461.1 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.8566, allocations: 0.8256 MB / 462 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.8582, allocations: 484.6 kB / 462.4 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.8584, allocations: 12.78 kB / 462.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.8602, allocations: 0.5892 MB / 463 MB, free: 12.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 5.27e-06/0.8602, allocations: 0 / 463 MB, free: 12.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.02397/0.8842, allocations: 5.566 MB / 468.6 MB, free: 7.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002189/0.8845, allocations: 307.8 kB / 468.9 MB, free: 6.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.8862, allocations: 0.6796 MB / 469.6 MB, free: 6.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004319/0.8867, allocations: 57.69 kB / 469.6 MB, free: 6.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008909/0.8876, allocations: 0.6469 MB / 470.3 MB, free: 5.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008123/0.8885, allocations: 421.9 kB / 470.7 MB, free: 5.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.8887, allocations: 28 kB / 470.7 MB, free: 5.031 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003602/0.8891, allocations: 410.7 kB / 471.1 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.8913, allocations: 0.6444 MB / 471.8 MB, free: 3.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/0.894, allocations: 0.951 MB / 472.7 MB, free: 2.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/0.8962, allocations: 0.6258 MB / 473.3 MB, free: 2.293 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.8962, allocations: 0 / 473.3 MB, free: 2.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005888/0.9021, allocations: 1.729 MB / 475.1 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.9022, allocations: 8 kB / 475.1 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.945e-05/0.9023, allocations: 8 kB / 475.1 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006997/0.903, allocations: 182.5 kB / 475.3 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003638/0.9066, allocations: 371.5 kB / 475.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00619/0.9129, allocations: 4.443 MB / 480.1 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003212/0.9162, allocations: 203.8 kB / 480.3 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003998/0.9166, allocations: 52 kB / 480.3 MB, free: 10.88 MB / 394.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.0005958/0.9172, allocations: 207 kB / 480.5 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.9177, allocations: 110.7 kB / 480.6 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/0.9227, allocations: 1.487 MB / 482.1 MB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/0.9228, allocations: 12 kB / 482.1 MB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9228, allocations: 7.938 kB / 482.1 MB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-05/0.9229, allocations: 3.984 kB / 482.1 MB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.9372, allocations: 4.218 MB / 486.4 MB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.873e-05/0.9372, allocations: 12.06 kB / 486.4 MB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/0.9398, allocations: 283.6 kB / 486.6 MB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.941, allocations: 321.5 kB / 487 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000291/0.9413, allocations: 55.92 kB / 487 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002637/0.9439, allocations: 2.079 MB / 489.1 MB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.832e-05/0.944, allocations: 15.89 kB / 489.1 MB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006484/0.9505, allocations: 2.569 MB / 491.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.9517, allocations: 323.7 kB / 492 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/0.9522, allocations: 44 kB / 492 MB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00238/0.9546, allocations: 163.8 kB / 492.2 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007627/0.9554, allocations: 192.3 kB / 492.4 MB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/0.9557, allocations: 47.98 kB / 492.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001341/0.957, allocations: 0.5148 MB / 493 MB, free: 13.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.9571, allocations: 0 / 493 MB, free: 13.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002577/0.9596, allocations: 351.9 kB / 493.3 MB, free: 13.13 MB / 410.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.008431/0.9681, allocations: 5.874 MB / 499.2 MB, free: 6.961 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005347/0.9735, allocations: 1.718 MB / 0.4891 GB, free: 5.207 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/0.9736, allocations: 0 / 0.4891 GB, free: 5.207 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003248/0.9769, allocations: 0.8989 MB / 0.49 GB, free: 4.301 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.9789, allocations: 164.8 kB / 0.4902 GB, free: 4.137 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.9905, allocations: 2.68 MB / 0.4928 GB, free: 1.289 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.992, allocations: 1.214 MB / 0.494 GB, free: 52 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001878/0.9939, allocations: 156.3 kB / 0.4941 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/0.9958, allocations: 0.5227 MB / 0.4946 GB, free: 15.37 MB / 426.7 MB Notification: Performance of SimCode: time 2.886e-06/0.9959, allocations: 7.938 kB / 0.4947 GB, free: 15.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4365/1.432, allocations: 27.21 MB / 0.5212 GB, free: 125.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/1.433, allocations: 194.1 kB / 0.5214 GB, free: 125.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.593/5.025, allocations: 4 kB / 0.5214 GB, free: 125.3 MB / 426.7 MB