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.952/1.952, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.354e-05, allocations: 8 kB / 255.5 MB, free: 3.07 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09707, allocations: 44.49 MB / 300 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4857/0.5828, allocations: 95.97 MB / 395.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004118/0.5833, allocations: 87.97 kB / 396 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4232/1.006, allocations: 95.91 MB / 491.9 MB, free: 8.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.007, allocations: 0 / 491.9 MB, free: 8.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003668/1.007, allocations: 103.9 kB / 492 MB, free: 8.523 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.0418/1.049, allocations: 5.997 MB / 498 MB, free: 2.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/1.049, allocations: 8.031 kB / 498 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004174/1.053, allocations: 0.8857 MB / 498.9 MB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03256/1.086, allocations: 4.392 MB / 0.4915 GB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02125/1.107, allocations: 5.238 MB / 0.4966 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005918/1.108, allocations: 381.9 kB / 0.497 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003124/1.111, allocations: 0.4959 MB / 0.4975 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04478/1.156, allocations: 12.7 MB / 0.5099 GB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003224/1.156, allocations: 67.31 kB / 0.5099 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002228/1.158, allocations: 243.9 kB / 0.5102 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003021/1.161, allocations: 1.094 MB / 0.5112 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3204/1.482, allocations: 10.97 MB / 0.522 GB, free: 78.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1025/1.584, allocations: 55.94 MB / 0.5766 GB, free: 47.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04571/1.63, allocations: 5.815 MB / 0.5823 GB, free: 47.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00698/1.637, allocations: 3.392 MB / 0.5856 GB, free: 46.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003043/1.64, allocations: 1.039 MB / 0.5866 GB, free: 45.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/1.64, allocations: 62.2 kB / 0.5866 GB, free: 45.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=217): time 6.041e-06/1.64, allocations: 0 / 0.5866 GB, free: 45.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.1275/1.768, allocations: 26.87 MB / 0.6129 GB, free: 36.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.729e-05/1.768, allocations: 217.2 kB / 0.6131 GB, free: 36.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007831/1.776, allocations: 3.79 MB / 0.6168 GB, free: 34.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009182/1.777, allocations: 68.61 kB / 0.6169 GB, free: 34.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002798/1.78, allocations: 3.36 MB / 0.6201 GB, free: 32.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001786/1.781, allocations: 0.9558 MB / 0.6211 GB, free: 31.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008475/1.782, allocations: 138.3 kB / 0.6212 GB, free: 31.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004111/1.783, allocations: 0.5942 MB / 0.6218 GB, free: 31.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008187/1.791, allocations: 3.402 MB / 0.6251 GB, free: 29.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01108/1.802, allocations: 7.205 MB / 0.6321 GB, free: 23.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.813, allocations: 4.912 MB / 0.6369 GB, free: 19.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/1.813, allocations: 36 kB / 0.637 GB, free: 19.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=882) (initialization): time 0.03584/1.849, allocations: 12.05 MB / 0.6487 GB, free: 9.984 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/1.849, allocations: 64 kB / 0.6488 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/1.849, allocations: 136 kB / 0.6489 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/1.86, allocations: 2.265 MB / 0.6511 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01133/1.872, allocations: 1.64 MB / 0.6527 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03208/1.904, allocations: 15.15 MB / 0.6675 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009836/1.914, allocations: 458.4 kB / 0.668 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002113/1.916, allocations: 435.7 kB / 0.6684 GB, free: 8.535 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.00231/1.918, allocations: 0.6069 MB / 0.669 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001411/1.92, allocations: 398.8 kB / 0.6694 GB, free: 7.531 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0274/1.947, allocations: 7.568 MB / 0.6768 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-05/1.947, allocations: 28 kB / 0.6768 GB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.762e-05/1.947, allocations: 12 kB / 0.6768 GB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.156e-05/1.947, allocations: 13.17 kB / 0.6768 GB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3452/2.293, allocations: 15 MB / 0.6915 GB, free: 89.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.663e-05/2.293, allocations: 3.75 kB / 0.6915 GB, free: 89.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004983/2.298, allocations: 446.9 kB / 0.6919 GB, free: 89.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0101/2.308, allocations: 2.029 MB / 0.6939 GB, free: 89.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000793/2.309, allocations: 48.19 kB / 0.6939 GB, free: 89.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02668/2.335, allocations: 13.84 MB / 0.7074 GB, free: 85.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/2.335, allocations: 0 / 0.7074 GB, free: 85.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03088/2.366, allocations: 11.93 MB / 0.7191 GB, free: 84.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003869/2.37, allocations: 0.968 MB / 0.72 GB, free: 84.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001416/2.372, allocations: 42.81 kB / 0.7201 GB, free: 84.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005048/2.377, allocations: 216.8 kB / 0.7203 GB, free: 84.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001152/2.378, allocations: 157.1 kB / 0.7204 GB, free: 84.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003749/2.378, allocations: 71.89 kB / 0.7205 GB, free: 84.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006607/2.385, allocations: 2.651 MB / 0.7231 GB, free: 83.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.112e-06/2.385, allocations: 0 / 0.7231 GB, free: 83.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009686/2.395, allocations: 1.383 MB / 0.7244 GB, free: 83.11 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.03287/2.428, allocations: 12.77 MB / 0.7369 GB, free: 77.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01996/2.448, allocations: 8.264 MB / 0.745 GB, free: 75.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/2.448, allocations: 0 / 0.745 GB, free: 75.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009655/2.457, allocations: 3.647 MB / 0.7485 GB, free: 73.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/2.462, allocations: 456.7 kB / 0.749 GB, free: 73.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04042/2.502, allocations: 12.36 MB / 0.761 GB, free: 66.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008889/2.511, allocations: 3.855 MB / 0.7648 GB, free: 63.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006872/2.518, allocations: 2.325 MB / 0.7671 GB, free: 61.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/2.518, allocations: 0 / 0.7671 GB, free: 61.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.217/7.735, allocations: 161.3 MB / 0.9246 GB, free: 39.14 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