Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_oneAxis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.682e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 44.5 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5203, allocations: 88.91 MB / 388.9 MB, free: 20.13 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.5207, allocations: 88.41 kB / 389 MB, free: 20.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1352/0.6559, allocations: 37.97 MB / 427 MB, free: 6.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6559, allocations: 0 / 427 MB, free: 6.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000115/0.6561, allocations: 38.2 kB / 427 MB, free: 6.621 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.005152/0.6612, allocations: 1.511 MB / 428.5 MB, free: 5.672 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.6613, allocations: 7.719 kB / 428.5 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006078/0.6619, allocations: 230.1 kB / 428.7 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005861/0.6625, allocations: 181.5 kB / 428.9 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.6643, allocations: 0.7938 MB / 429.7 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/0.6647, allocations: 235.1 kB / 429.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/0.6651, allocations: 160.3 kB / 430.1 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00411/0.6693, allocations: 1.55 MB / 431.6 MB, free: 4.664 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-05/0.6694, allocations: 15.84 kB / 431.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.6696, allocations: 64.19 kB / 431.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/0.6697, allocations: 35.41 kB / 431.8 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/0.6735, allocations: 1.361 MB / 433.1 MB, free: 4.574 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.6879, allocations: 6.034 MB / 439.2 MB, free: 0.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.6901, allocations: 0.8329 MB / 440 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.6914, allocations: 476.7 kB / 440.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.6915, allocations: 16.77 kB / 440.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/0.6931, allocations: 0.5931 MB / 441.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 3.888e-06/0.6931, allocations: 0 / 441.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.02245/0.7155, allocations: 5.567 MB / 446.6 MB, free: 9.277 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/0.7158, allocations: 303.8 kB / 446.9 MB, free: 8.914 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.7175, allocations: 0.6833 MB / 447.6 MB, free: 8.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003674/0.7179, allocations: 53.7 kB / 447.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008269/0.7188, allocations: 0.6508 MB / 448.3 MB, free: 7.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006777/0.7195, allocations: 418 kB / 448.7 MB, free: 7.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.7197, allocations: 28 kB / 448.7 MB, free: 7.062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002872/0.72, allocations: 410.7 kB / 449.1 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.7219, allocations: 0.6445 MB / 449.8 MB, free: 6.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.7242, allocations: 0.9546 MB / 450.7 MB, free: 4.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.726, allocations: 0.6258 MB / 451.4 MB, free: 4.316 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.726, allocations: 4 kB / 451.4 MB, free: 4.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004975/0.731, allocations: 1.713 MB / 453.1 MB, free: 2.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.7311, allocations: 8 kB / 453.1 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.7311, allocations: 8 kB / 453.1 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/0.7317, allocations: 182.4 kB / 453.3 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/0.7351, allocations: 367.5 kB / 453.6 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005604/0.7407, allocations: 4.447 MB / 458.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/0.7439, allocations: 203.8 kB / 458.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002983/0.7443, allocations: 60.06 kB / 458.3 MB, free: 12.91 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.0005299/0.7448, allocations: 194.8 kB / 458.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/0.7452, allocations: 106.8 kB / 458.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/0.7498, allocations: 1.479 MB / 460.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.7499, allocations: 12 kB / 460.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.7499, allocations: 4 kB / 460.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/0.7499, allocations: 15.97 kB / 460.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.7633, allocations: 4.19 MB / 464.3 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/0.7634, allocations: 11.94 kB / 464.4 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/0.7659, allocations: 284.4 kB / 464.6 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.767, allocations: 325.5 kB / 465 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002485/0.7673, allocations: 39.98 kB / 465 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/0.7699, allocations: 2.099 MB / 467.1 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.887e-05/0.77, allocations: 8 kB / 467.1 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005982/0.776, allocations: 2.534 MB / 469.6 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.7772, allocations: 327.7 kB / 469.9 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/0.7776, allocations: 43.98 kB / 470 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/0.7799, allocations: 159.9 kB / 470.1 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006728/0.7806, allocations: 188.3 kB / 470.3 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/0.7808, allocations: 47.98 kB / 470.4 MB, free: 104 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001328/0.7821, allocations: 0.5149 MB / 470.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7821, allocations: 0 / 470.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002159/0.7843, allocations: 359.9 kB / 471.2 MB, free: 15.23 MB / 362.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.008028/0.7924, allocations: 5.84 MB / 477.1 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005154/0.7976, allocations: 1.718 MB / 478.8 MB, free: 7.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-05/0.7977, allocations: 4 kB / 478.8 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00319/0.8009, allocations: 0.9068 MB / 479.7 MB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.8028, allocations: 170.7 kB / 479.9 MB, free: 6.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.813, allocations: 2.691 MB / 482.6 MB, free: 3.395 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.8142, allocations: 1.206 MB / 483.8 MB, free: 2.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001675/0.8159, allocations: 156.3 kB / 483.9 MB, free: 2.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/0.8178, allocations: 0.5227 MB / 484.5 MB, free: 1.484 MB / 362.7 MB Notification: Performance of SimCode: time 2.184e-06/0.8178, allocations: 4 kB / 484.5 MB, free: 1.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1164/0.9342, allocations: 27.24 MB / 0.4997 GB, free: 6.293 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/0.9346, allocations: 210 kB / 0.4999 GB, free: 6.055 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.487/4.421, allocations: 0 / 0.4999 GB, free: 6.055 MB / 394.7 MB