Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.127/2.127, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.844e-05, allocations: 0 / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1172, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4637/0.581, allocations: 98.47 MB / 415.5 MB, free: 5.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.5813, allocations: 89.95 kB / 415.6 MB, free: 5.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4622/1.044, allocations: 107.1 MB / 0.5104 GB, free: 1.223 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.044, allocations: 4 kB / 0.5104 GB, free: 1.219 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004101/1.044, allocations: 108 kB / 0.5105 GB, free: 1.113 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.3243/1.368, allocations: 5.258 MB / 0.5157 GB, free: 85.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.368, allocations: 9.344 kB / 0.5157 GB, free: 85.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004713/1.373, allocations: 0.937 MB / 0.5166 GB, free: 85.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05356/1.427, allocations: 6.938 MB / 0.5234 GB, free: 85.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02553/1.452, allocations: 6.83 MB / 0.53 GB, free: 84.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005541/1.453, allocations: 405.9 kB / 0.5304 GB, free: 84.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003153/1.456, allocations: 0.541 MB / 0.5309 GB, free: 84.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03561/1.492, allocations: 12.6 MB / 0.5433 GB, free: 81.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002958/1.492, allocations: 80.12 kB / 0.5433 GB, free: 81.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001424/1.494, allocations: 260.3 kB / 0.5436 GB, free: 81.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00209/1.496, allocations: 1.124 MB / 0.5447 GB, free: 81.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02989/1.526, allocations: 10.09 MB / 0.5545 GB, free: 81.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07863/1.604, allocations: 57.19 MB / 0.6104 GB, free: 40.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01772/1.622, allocations: 4.338 MB / 0.6146 GB, free: 38.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006065/1.628, allocations: 2.375 MB / 0.6169 GB, free: 37.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03041/1.659, allocations: 9.971 MB / 0.6267 GB, free: 30.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/1.659, allocations: 55.81 kB / 0.6267 GB, free: 30.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=192): time 7.624e-06/1.659, allocations: 0 / 0.6267 GB, free: 30.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.07863/1.737, allocations: 16.18 MB / 0.6425 GB, free: 16.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/1.737, allocations: 205.2 kB / 0.6427 GB, free: 16.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007927/1.745, allocations: 4.205 MB / 0.6468 GB, free: 12.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004794/1.746, allocations: 60.7 kB / 0.6469 GB, free: 12.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002811/1.749, allocations: 3.786 MB / 0.6506 GB, free: 9.066 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.75, allocations: 0.8249 MB / 0.6514 GB, free: 8.336 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004958/1.75, allocations: 132 kB / 0.6515 GB, free: 8.207 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003685/1.751, allocations: 0.5828 MB / 0.6521 GB, free: 7.699 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004644/1.755, allocations: 2.188 MB / 0.6542 GB, free: 5.723 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007201/1.763, allocations: 6.109 MB / 0.6602 GB, free: 14.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008918/1.772, allocations: 3.655 MB / 0.6638 GB, free: 10.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/1.772, allocations: 43.84 kB / 0.6638 GB, free: 10.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.0264/1.798, allocations: 8.447 MB / 0.6721 GB, free: 3.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/1.798, allocations: 68.94 kB / 0.6721 GB, free: 3.414 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002406/1.799, allocations: 140 kB / 0.6722 GB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00472/1.803, allocations: 0.937 MB / 0.6732 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00989/1.813, allocations: 1.507 MB / 0.6746 GB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3524/2.166, allocations: 7.406 MB / 0.6819 GB, free: 88.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007545/2.173, allocations: 359.1 kB / 0.6822 GB, free: 88.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/2.175, allocations: 397.4 kB / 0.6826 GB, free: 88.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 638 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (798): * Single equations (assignments): 793 * Array equations: 3 * 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: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001761/2.177, allocations: 0.6236 MB / 0.6832 GB, free: 88.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/2.178, allocations: 430.5 kB / 0.6836 GB, free: 88.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/2.189, allocations: 3.541 MB / 0.6871 GB, free: 88.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.858e-05/2.189, allocations: 22.91 kB / 0.6871 GB, free: 88.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/2.189, allocations: 7.781 kB / 0.6871 GB, free: 88.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.167e-05/2.189, allocations: 11.48 kB / 0.6871 GB, free: 88.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02688/2.216, allocations: 9.231 MB / 0.6961 GB, free: 87.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-05/2.216, allocations: 1.875 kB / 0.6961 GB, free: 87.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003434/2.22, allocations: 347.9 kB / 0.6965 GB, free: 87.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003796/2.224, allocations: 0.6842 MB / 0.6971 GB, free: 87.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003644/2.224, allocations: 35.97 kB / 0.6972 GB, free: 87.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/2.235, allocations: 6.552 MB / 0.7036 GB, free: 85.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/2.235, allocations: 1.781 kB / 0.7036 GB, free: 85.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/2.249, allocations: 6.253 MB / 0.7097 GB, free: 84.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002611/2.252, allocations: 0.7427 MB / 0.7104 GB, free: 84.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000926/2.253, allocations: 35.98 kB / 0.7104 GB, free: 84.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/2.256, allocations: 108.2 kB / 0.7105 GB, free: 84.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005417/2.256, allocations: 132.2 kB / 0.7107 GB, free: 84.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002079/2.257, allocations: 58.03 kB / 0.7107 GB, free: 84.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007316/2.264, allocations: 2.967 MB / 0.7136 GB, free: 84.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.054e-06/2.264, allocations: 1.969 kB / 0.7136 GB, free: 84.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008419/2.272, allocations: 1.197 MB / 0.7148 GB, free: 84.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 164 * Array equations: 3 * 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: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01525/2.288, allocations: 7.127 MB / 0.7217 GB, free: 81.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01318/2.301, allocations: 5.424 MB / 0.727 GB, free: 79.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/2.301, allocations: 10.38 kB / 0.727 GB, free: 79.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004672/2.306, allocations: 1.928 MB / 0.7289 GB, free: 79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004233/2.31, allocations: 0.5154 MB / 0.7294 GB, free: 78.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03477/2.345, allocations: 11.03 MB / 0.7402 GB, free: 74.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008879/2.354, allocations: 4.108 MB / 0.7442 GB, free: 73.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009854/2.364, allocations: 2.1 MB / 0.7463 GB, free: 73.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005622/2.369, allocations: 2.472 MB / 0.7487 GB, free: 71.38 MB / 442.7 MB Notification: Performance of SimCode: time 1.773e-06/2.369, allocations: 1.75 kB / 0.7487 GB, free: 71.38 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5991/2.968, allocations: 92.01 MB / 0.8385 GB, free: 74.82 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/2.969, allocations: 197.5 kB / 0.8387 GB, free: 74.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.548/9.517, allocations: 0 / 0.8387 GB, free: 74.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat does not exist to compare? outputFormat=mat