Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.134/2.134, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.834e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.5599, allocations: 101.8 MB / 418.8 MB, free: 2.559 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/0.5603, allocations: 90.14 kB / 418.9 MB, free: 2.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5961/1.156, allocations: 96.42 MB / 0.5032 GB, free: 8.672 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.895e-06/1.156, allocations: 0 / 0.5032 GB, free: 8.672 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004929/1.157, allocations: 100 kB / 0.5033 GB, free: 8.574 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: 1755 * Number of variables: 1755 Notification: Performance of Generate backend data structure: time 0.04939/1.206, allocations: 6.005 MB / 0.5092 GB, free: 2.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/1.206, allocations: 8.031 kB / 0.5092 GB, free: 2.492 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00398/1.21, allocations: 0.8897 MB / 0.5101 GB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3472/1.558, allocations: 4.391 MB / 0.5144 GB, free: 90.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02226/1.58, allocations: 5.254 MB / 0.5195 GB, free: 90 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006033/1.581, allocations: 379.3 kB / 0.5199 GB, free: 89.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003307/1.584, allocations: 0.4986 MB / 0.5204 GB, free: 89.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04183/1.626, allocations: 12.73 MB / 0.5328 GB, free: 87.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002648/1.626, allocations: 65.12 kB / 0.5328 GB, free: 87.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001527/1.628, allocations: 244.6 kB / 0.5331 GB, free: 87.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002536/1.63, allocations: 1.091 MB / 0.5341 GB, free: 87.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03617/1.666, allocations: 10.98 MB / 0.5449 GB, free: 87.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09658/1.763, allocations: 56.04 MB / 0.5996 GB, free: 49.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03472/1.798, allocations: 5.823 MB / 0.6053 GB, free: 47.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006772/1.805, allocations: 3.389 MB / 0.6086 GB, free: 45.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003044/1.808, allocations: 1.038 MB / 0.6096 GB, free: 44.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.421e-05/1.808, allocations: 60.8 kB / 0.6097 GB, free: 44.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=217): time 6.302e-06/1.808, allocations: 2.625 kB / 0.6097 GB, free: 44.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=255): time 0.1567/1.965, allocations: 26.88 MB / 0.6359 GB, free: 25.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/1.965, allocations: 209.9 kB / 0.6361 GB, free: 25.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01297/1.978, allocations: 3.816 MB / 0.6398 GB, free: 22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00114/1.979, allocations: 65.7 kB / 0.6399 GB, free: 21.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004536/1.984, allocations: 3.472 MB / 0.6433 GB, free: 18.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00245/1.986, allocations: 0.9566 MB / 0.6442 GB, free: 17.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/1.988, allocations: 141.5 kB / 0.6444 GB, free: 17.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000639/1.988, allocations: 0.5948 MB / 0.6449 GB, free: 17.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0126/2.001, allocations: 3.402 MB / 0.6483 GB, free: 14.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01621/2.017, allocations: 7.226 MB / 0.6553 GB, free: 5.684 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/2.034, allocations: 4.914 MB / 0.6601 GB, free: 1.484 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001761/2.034, allocations: 40 kB / 0.6602 GB, free: 1.445 MB / 426.7 MB Notification: Performance of matching and sorting (n=885) (initialization): time 0.05911/2.093, allocations: 12.21 MB / 0.6721 GB, free: 5.434 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002446/2.093, allocations: 64 kB / 0.6721 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003363/2.094, allocations: 136 kB / 0.6723 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01737/2.111, allocations: 2.281 MB / 0.6745 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01459/2.126, allocations: 1.637 MB / 0.6761 GB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3593/2.485, allocations: 15.12 MB / 0.6909 GB, free: 88.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00982/2.495, allocations: 458.5 kB / 0.6913 GB, free: 88.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00234/2.497, allocations: 437.3 kB / 0.6917 GB, free: 88.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (812): * Single equations (assignments): 806 * 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.003299/2.501, allocations: 0.608 MB / 0.6923 GB, free: 88.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001487/2.502, allocations: 405.3 kB / 0.6927 GB, free: 88.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02506/2.527, allocations: 7.571 MB / 0.7001 GB, free: 87.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.789e-05/2.527, allocations: 27.72 kB / 0.7001 GB, free: 87.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.195e-05/2.527, allocations: 13.53 kB / 0.7001 GB, free: 87.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.142e-05/2.527, allocations: 15.8 kB / 0.7002 GB, free: 87.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04301/2.571, allocations: 15.02 MB / 0.7148 GB, free: 86.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.699e-05/2.571, allocations: 2.781 kB / 0.7148 GB, free: 86.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005113/2.576, allocations: 447.2 kB / 0.7152 GB, free: 86.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01069/2.586, allocations: 2.029 MB / 0.7172 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008594/2.587, allocations: 47.7 kB / 0.7173 GB, free: 85.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02731/2.615, allocations: 13.84 MB / 0.7308 GB, free: 78.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/2.615, allocations: 10.95 kB / 0.7308 GB, free: 78.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04138/2.656, allocations: 11.92 MB / 0.7424 GB, free: 73.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004835/2.661, allocations: 0.9805 MB / 0.7434 GB, free: 73.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001942/2.663, allocations: 45.41 kB / 0.7434 GB, free: 73.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007359/2.67, allocations: 215.6 kB / 0.7436 GB, free: 73.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001601/2.672, allocations: 153.4 kB / 0.7438 GB, free: 73.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005885/2.673, allocations: 66.17 kB / 0.7439 GB, free: 73.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009519/2.682, allocations: 2.666 MB / 0.7465 GB, free: 72.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.553e-06/2.682, allocations: 7.266 kB / 0.7465 GB, free: 72.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01412/2.696, allocations: 1.384 MB / 0.7478 GB, free: 72.26 MB / 442.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.03465/2.731, allocations: 12.78 MB / 0.7603 GB, free: 66.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01983/2.751, allocations: 8.278 MB / 0.7684 GB, free: 62.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/2.751, allocations: 0 / 0.7684 GB, free: 62.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009556/2.761, allocations: 3.649 MB / 0.7719 GB, free: 59.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004545/2.765, allocations: 465.7 kB / 0.7724 GB, free: 59.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03909/2.804, allocations: 11.82 MB / 0.7839 GB, free: 49.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007414/2.812, allocations: 3.864 MB / 0.7877 GB, free: 46.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01044/2.822, allocations: 2.243 MB / 0.7899 GB, free: 45.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006221/2.829, allocations: 2.291 MB / 0.7921 GB, free: 42.98 MB / 442.7 MB Notification: Performance of SimCode: time 2.995e-06/2.829, allocations: 0 / 0.7921 GB, free: 42.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5647/3.394, allocations: 107.5 MB / 0.8971 GB, free: 80.69 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/3.394, allocations: 196.2 kB / 0.8973 GB, free: 80.47 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.553/9.947, allocations: 4 kB / 0.8973 GB, free: 80.46 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat does not exist to compare? outputFormat=mat