Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.925e-05/3.954e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 44.51 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5788, allocations: 95.96 MB / 395.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.5792, allocations: 85.7 kB / 396 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3983/0.9775, allocations: 95.9 MB / 491.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.9776, allocations: 0 / 491.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003709/0.978, allocations: 103.9 kB / 492 MB, free: 8.668 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1752 * Number of variables: 1752 Notification: Performance of Generate backend data structure: time 0.04313/1.021, allocations: 5.997 MB / 498 MB, free: 2.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/1.021, allocations: 8.031 kB / 498 MB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004651/1.026, allocations: 0.8856 MB / 498.9 MB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0335/1.059, allocations: 4.404 MB / 0.4915 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02144/1.081, allocations: 5.23 MB / 0.4966 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005399/1.081, allocations: 377.9 kB / 0.497 GB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/1.085, allocations: 0.492 MB / 0.4974 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04417/1.129, allocations: 12.77 MB / 0.5099 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000322/1.129, allocations: 67.3 kB / 0.51 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002199/1.131, allocations: 243.9 kB / 0.5102 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003362/1.135, allocations: 1.086 MB / 0.5113 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3305/1.465, allocations: 11.17 MB / 0.5222 GB, free: 78.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1158/1.581, allocations: 55.93 MB / 0.5768 GB, free: 48.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04167/1.623, allocations: 5.839 MB / 0.5825 GB, free: 47.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006687/1.63, allocations: 3.393 MB / 0.5858 GB, free: 46.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003126/1.633, allocations: 1.045 MB / 0.5868 GB, free: 45.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.153e-05/1.633, allocations: 58.52 kB / 0.5869 GB, free: 45.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=217): time 7.003e-06/1.633, allocations: 2.75 kB / 0.5869 GB, free: 45.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.1373/1.77, allocations: 26.87 MB / 0.6131 GB, free: 36.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.77, allocations: 209.5 kB / 0.6133 GB, free: 36.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01072/1.781, allocations: 3.794 MB / 0.617 GB, free: 34.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.782, allocations: 61.39 kB / 0.6171 GB, free: 34.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003275/1.786, allocations: 3.367 MB / 0.6204 GB, free: 32.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001962/1.788, allocations: 0.9593 MB / 0.6213 GB, free: 31.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/1.789, allocations: 132.3 kB / 0.6214 GB, free: 31.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008262/1.79, allocations: 0.6023 MB / 0.622 GB, free: 31.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008896/1.799, allocations: 3.397 MB / 0.6254 GB, free: 29.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01114/1.81, allocations: 7.248 MB / 0.6324 GB, free: 23.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/1.822, allocations: 4.916 MB / 0.6372 GB, free: 19.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000146/1.822, allocations: 40 kB / 0.6373 GB, free: 19.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=882) (initialization): time 0.03705/1.859, allocations: 12.41 MB / 0.6494 GB, free: 9.648 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.859, allocations: 68.03 kB / 0.6495 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001809/1.859, allocations: 135.5 kB / 0.6496 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01738/1.877, allocations: 2.273 MB / 0.6518 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01251/1.889, allocations: 1.641 MB / 0.6534 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03244/1.922, allocations: 15.13 MB / 0.6682 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009573/1.932, allocations: 458.4 kB / 0.6686 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/1.934, allocations: 434.4 kB / 0.669 GB, free: 8.191 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 33 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (809): * Single equations (assignments): 803 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002535/1.936, allocations: 0.6045 MB / 0.6696 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/1.938, allocations: 402.8 kB / 0.67 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02599/1.964, allocations: 7.571 MB / 0.6774 GB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.802e-05/1.964, allocations: 24.94 kB / 0.6774 GB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.424e-05/1.964, allocations: 12 kB / 0.6774 GB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.727e-05/1.964, allocations: 11.95 kB / 0.6774 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3626/2.326, allocations: 15.01 MB / 0.6921 GB, free: 89.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.102e-05/2.327, allocations: 0 / 0.6921 GB, free: 89.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005147/2.332, allocations: 444.4 kB / 0.6925 GB, free: 89.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/2.342, allocations: 2.033 MB / 0.6945 GB, free: 89.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008532/2.343, allocations: 55.97 kB / 0.6946 GB, free: 89.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02708/2.37, allocations: 13.83 MB / 0.7081 GB, free: 85.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/2.37, allocations: 2.188 kB / 0.7081 GB, free: 85.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03189/2.402, allocations: 11.93 MB / 0.7197 GB, free: 84.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003922/2.406, allocations: 0.9753 MB / 0.7207 GB, free: 84.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001647/2.408, allocations: 43.69 kB / 0.7207 GB, free: 84.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005345/2.413, allocations: 216.8 kB / 0.7209 GB, free: 84.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001354/2.415, allocations: 155.2 kB / 0.7211 GB, free: 84.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005236/2.415, allocations: 70.44 kB / 0.7211 GB, free: 84.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007014/2.422, allocations: 2.649 MB / 0.7237 GB, free: 83.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.01e-07/2.422, allocations: 0 / 0.7237 GB, free: 83.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009084/2.432, allocations: 1.383 MB / 0.7251 GB, free: 83.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 192 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(4,100.0%) 18,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03269/2.464, allocations: 12.77 MB / 0.7375 GB, free: 77.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02047/2.485, allocations: 8.486 MB / 0.7458 GB, free: 75.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/2.485, allocations: 0 / 0.7458 GB, free: 75.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009703/2.495, allocations: 3.686 MB / 0.7494 GB, free: 73.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004288/2.499, allocations: 454.8 kB / 0.7499 GB, free: 73.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03956/2.539, allocations: 12.38 MB / 0.762 GB, free: 66.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008262/2.547, allocations: 3.853 MB / 0.7657 GB, free: 63.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006481/2.553, allocations: 2.323 MB / 0.768 GB, free: 61.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/2.553, allocations: 0 / 0.768 GB, free: 61.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.107/7.661, allocations: 162.4 MB / 0.9266 GB, free: 37.1 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat does not exist to compare? outputFormat=mat