Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_OneAxis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.102/2.102, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.044e-05/4.064e-05, allocations: 3.234 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4901/0.6173, allocations: 96.7 MB / 439.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/0.6177, allocations: 84.77 kB / 439.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1639/0.7816, allocations: 38.94 MB / 478.4 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7817, allocations: 0 / 478.4 MB, free: 10.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001234/0.7818, allocations: 28 kB / 478.4 MB, free: 10.76 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.005729/0.7875, allocations: 1.519 MB / 479.9 MB, free: 9.191 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.7876, allocations: 12.03 kB / 479.9 MB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007834/0.7884, allocations: 223.8 kB / 480.1 MB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006657/0.7891, allocations: 185.9 kB / 480.3 MB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.7913, allocations: 0.7906 MB / 481.1 MB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005192/0.7919, allocations: 240.1 kB / 481.4 MB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006038/0.7925, allocations: 155.9 kB / 481.5 MB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005225/0.7978, allocations: 1.552 MB / 483.1 MB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-05/0.7979, allocations: 7.906 kB / 483.1 MB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003423/0.7983, allocations: 64 kB / 483.1 MB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.171e-05/0.7983, allocations: 36 kB / 483.2 MB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005635/0.804, allocations: 1.353 MB / 484.5 MB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01807/0.8221, allocations: 6.058 MB / 490.6 MB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.8247, allocations: 0.8219 MB / 491.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.826, allocations: 488.6 kB / 491.9 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.8262, allocations: 8.781 kB / 491.9 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/0.8276, allocations: 0.5931 MB / 492.5 MB, free: 12.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 4.488e-06/0.8277, allocations: 4 kB / 492.5 MB, free: 12.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.02151/0.8492, allocations: 5.563 MB / 498 MB, free: 6.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/0.8494, allocations: 307.7 kB / 498.3 MB, free: 6.203 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.8509, allocations: 0.6755 MB / 499 MB, free: 5.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002461/0.8511, allocations: 53.7 kB / 499.1 MB, free: 5.461 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007667/0.8519, allocations: 0.6547 MB / 499.7 MB, free: 4.793 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006075/0.8526, allocations: 421.9 kB / 0.4884 GB, free: 4.375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.8527, allocations: 28 kB / 0.4884 GB, free: 4.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002591/0.853, allocations: 406.7 kB / 0.4888 GB, free: 3.941 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.8549, allocations: 0.6484 MB / 0.4895 GB, free: 3.293 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.857, allocations: 0.9393 MB / 0.4904 GB, free: 2.246 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.8588, allocations: 0.6358 MB / 0.491 GB, free: 1.613 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.8588, allocations: 0 / 0.491 GB, free: 1.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005135/0.864, allocations: 1.725 MB / 0.4927 GB, free: 15.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.864, allocations: 8 kB / 0.4927 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.8641, allocations: 4 kB / 0.4927 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006206/0.8647, allocations: 174.5 kB / 0.4929 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003501/0.8682, allocations: 375.4 kB / 0.4932 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005561/0.8738, allocations: 4.444 MB / 0.4976 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/0.877, allocations: 207.8 kB / 0.4978 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002757/0.8773, allocations: 52 kB / 0.4978 GB, free: 10.21 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.000522/0.8778, allocations: 194.9 kB / 0.498 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.8782, allocations: 98.78 kB / 0.4981 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/0.8827, allocations: 1.506 MB / 0.4996 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.8827, allocations: 15.94 kB / 0.4996 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.8827, allocations: 7.891 kB / 0.4996 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.8828, allocations: 3.984 kB / 0.4996 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/0.8948, allocations: 4.214 MB / 0.5037 GB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.8949, allocations: 12 kB / 0.5037 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/0.8973, allocations: 283.8 kB / 0.504 GB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009294/0.8983, allocations: 325.5 kB / 0.5043 GB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.8985, allocations: 43.98 kB / 0.5043 GB, free: 3.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/0.9008, allocations: 2.087 MB / 0.5064 GB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.567e-05/0.9009, allocations: 11.94 kB / 0.5064 GB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005914/0.9068, allocations: 2.561 MB / 0.5089 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009472/0.9078, allocations: 335.7 kB / 0.5092 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/0.9081, allocations: 43.95 kB / 0.5093 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/0.9101, allocations: 163.9 kB / 0.5094 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005626/0.9106, allocations: 184.3 kB / 0.5096 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.9108, allocations: 44 kB / 0.5096 GB, free: 13.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001156/0.912, allocations: 0.5148 MB / 0.5101 GB, free: 12.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.912, allocations: 4 kB / 0.5101 GB, free: 12.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001967/0.914, allocations: 348 kB / 0.5105 GB, free: 12.48 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.007583/0.9216, allocations: 5.874 MB / 0.5162 GB, free: 6.309 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00484/0.9265, allocations: 1.718 MB / 0.5179 GB, free: 4.551 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/0.9265, allocations: 1.812 kB / 0.5179 GB, free: 4.551 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003018/0.9296, allocations: 0.9008 MB / 0.5188 GB, free: 3.641 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.9313, allocations: 171.3 kB / 0.5189 GB, free: 3.469 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.9414, allocations: 2.687 MB / 0.5215 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2941/1.236, allocations: 1.202 MB / 0.5227 GB, free: 126.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001861/1.238, allocations: 163.4 kB / 0.5229 GB, free: 126.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/1.239, allocations: 0.5231 MB / 0.5234 GB, free: 126.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.823e-06/1.239, allocations: 0 / 0.5234 GB, free: 126.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0843/1.324, allocations: 27.22 MB / 0.55 GB, free: 125.6 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/1.324, allocations: 201 kB / 0.5502 GB, free: 125.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.503/4.827, allocations: 0 / 0.5502 GB, free: 125.4 MB / 442.7 MB