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 1.882/1.882, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.085e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09247/0.09253, allocations: 44.5 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4735/0.5661, allocations: 88.91 MB / 388.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.5665, allocations: 86.31 kB / 389 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1309/0.6973, allocations: 37.98 MB / 426.9 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6974, allocations: 0 / 426.9 MB, free: 288 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001207/0.6975, allocations: 31.12 kB / 427 MB, free: 284 kB / 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.005685/0.7032, allocations: 1.512 MB / 428.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.7033, allocations: 11.56 kB / 428.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007814/0.7041, allocations: 220.2 kB / 428.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007803/0.7049, allocations: 185.3 kB / 428.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.7071, allocations: 0.7944 MB / 429.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004551/0.7076, allocations: 234.5 kB / 429.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005366/0.7081, allocations: 159.8 kB / 430.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00491/0.7131, allocations: 1.564 MB / 431.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.7132, allocations: 11.73 kB / 431.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/0.7135, allocations: 66.5 kB / 431.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.7135, allocations: 38.75 kB / 431.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004561/0.7181, allocations: 1.376 MB / 433.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/0.7366, allocations: 6.046 MB / 439.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.7393, allocations: 0.8382 MB / 440 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.7408, allocations: 480.7 kB / 440.5 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.7409, allocations: 12.78 kB / 440.5 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001611/0.7426, allocations: 0.5947 MB / 441.1 MB, free: 8.074 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 4.498e-06/0.7426, allocations: 0 / 441.1 MB, free: 8.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.02308/0.7657, allocations: 5.573 MB / 446.7 MB, free: 2.418 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/0.766, allocations: 299.7 kB / 447 MB, free: 2.059 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.7677, allocations: 0.6872 MB / 447.6 MB, free: 1.367 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000395/0.7681, allocations: 57.69 kB / 447.7 MB, free: 1.305 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008647/0.769, allocations: 0.6468 MB / 448.3 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007896/0.7698, allocations: 417.4 kB / 448.8 MB, free: 252 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.77, allocations: 24 kB / 448.8 MB, free: 228 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003751/0.7704, allocations: 414.7 kB / 449.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.7726, allocations: 0.6445 MB / 449.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002553/0.7752, allocations: 0.9586 MB / 450.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.7773, allocations: 0.6296 MB / 451.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.7774, allocations: 7.984 kB / 451.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005626/0.783, allocations: 1.737 MB / 453.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/0.7831, allocations: 8 kB / 453.2 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.374e-05/0.7832, allocations: 4 kB / 453.2 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006655/0.7838, allocations: 182.4 kB / 453.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/0.7874, allocations: 375.4 kB / 453.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005819/0.7933, allocations: 4.447 MB / 458.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/0.7965, allocations: 211.8 kB / 458.4 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004131/0.7969, allocations: 52 kB / 458.4 MB, free: 6.023 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.0005714/0.7975, allocations: 198.8 kB / 458.6 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/0.7979, allocations: 102.8 kB / 458.7 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004614/0.8025, allocations: 1.487 MB / 460.2 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.8026, allocations: 12 kB / 460.2 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.8026, allocations: 0 / 460.2 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/0.8027, allocations: 3.984 kB / 460.2 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/0.8171, allocations: 4.225 MB / 464.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.8172, allocations: 8 kB / 464.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/0.8197, allocations: 280.3 kB / 464.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.8207, allocations: 333.2 kB / 465 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002749/0.821, allocations: 39.98 kB / 465.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.8236, allocations: 2.091 MB / 467.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.825e-05/0.8237, allocations: 15.94 kB / 467.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006089/0.8298, allocations: 2.53 MB / 469.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.8309, allocations: 331.7 kB / 470 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/0.8314, allocations: 43.98 kB / 470.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/0.8336, allocations: 155.9 kB / 470.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007709/0.8345, allocations: 192.3 kB / 470.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/0.8346, allocations: 47.98 kB / 470.5 MB, free: 9.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001269/0.8359, allocations: 0.5109 MB / 471 MB, free: 8.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.815e-06/0.836, allocations: 0 / 471 MB, free: 8.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00226/0.8382, allocations: 359.9 kB / 471.3 MB, free: 8.371 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.007487/0.8458, allocations: 5.84 MB / 477.2 MB, free: 2.242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005018/0.8508, allocations: 1.761 MB / 478.9 MB, free: 448 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/0.8509, allocations: 4.5 kB / 478.9 MB, free: 444 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003151/0.8541, allocations: 0.9245 MB / 479.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.8559, allocations: 183.2 kB / 480 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009989/0.8659, allocations: 2.701 MB / 482.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.8672, allocations: 1.21 MB / 484 MB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001744/0.8689, allocations: 156.3 kB / 484.1 MB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/0.8706, allocations: 0.5227 MB / 484.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.8706, allocations: 0 / 484.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08509/0.9557, allocations: 27.37 MB / 0.5 GB, free: 15.21 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/0.9561, allocations: 203.3 kB / 0.5002 GB, free: 14.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.46/4.416, allocations: 0 / 0.5002 GB, free: 14.98 MB / 410.7 MB