Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 225.8 MB / 239.3 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.194e-05, allocations: 0 / 292.7 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 50.42 MB / 343.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5345/0.6459, allocations: 102.7 MB / 445.8 MB, free: 2.375 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/0.6463, allocations: 90.38 kB / 445.9 MB, free: 2.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4356/1.082, allocations: 97.6 MB / 0.5308 GB, free: 8.797 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.082, allocations: 0 / 0.5308 GB, free: 8.797 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003607/1.082, allocations: 104 kB / 0.5309 GB, free: 8.695 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: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.0415/1.124, allocations: 5.985 MB / 0.5367 GB, free: 2.641 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/1.124, allocations: 12.03 kB / 0.5367 GB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003551/1.128, allocations: 0.8818 MB / 0.5376 GB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03299/1.161, allocations: 4.4 MB / 0.5419 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02132/1.182, allocations: 5.098 MB / 0.5469 GB, free: 8.164 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005759/1.183, allocations: 373.9 kB / 0.5472 GB, free: 7.797 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003124/1.186, allocations: 0.492 MB / 0.5477 GB, free: 7.305 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3554/1.541, allocations: 12.69 MB / 0.5601 GB, free: 84.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004028/1.542, allocations: 68.77 kB / 0.5602 GB, free: 84.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002664/1.544, allocations: 240 kB / 0.5604 GB, free: 84.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00312/1.547, allocations: 1.09 MB / 0.5615 GB, free: 84.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03886/1.586, allocations: 10.96 MB / 0.5722 GB, free: 84.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09244/1.679, allocations: 55.86 MB / 0.6267 GB, free: 51.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03427/1.713, allocations: 5.778 MB / 0.6324 GB, free: 49.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006829/1.72, allocations: 3.39 MB / 0.6357 GB, free: 48.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00314/1.723, allocations: 1.044 MB / 0.6367 GB, free: 47.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.937e-05/1.723, allocations: 64.72 kB / 0.6367 GB, free: 47.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=214): time 6.953e-06/1.723, allocations: 0 / 0.6367 GB, free: 47.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=252): time 0.1341/1.858, allocations: 26.81 MB / 0.6629 GB, free: 38.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/1.858, allocations: 205 kB / 0.6631 GB, free: 38.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009601/1.867, allocations: 3.789 MB / 0.6668 GB, free: 35.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008956/1.868, allocations: 62.41 kB / 0.6669 GB, free: 35.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003228/1.871, allocations: 3.474 MB / 0.6703 GB, free: 32.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001892/1.873, allocations: 0.9434 MB / 0.6712 GB, free: 31.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/1.875, allocations: 136 kB / 0.6713 GB, free: 31.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005321/1.875, allocations: 0.5872 MB / 0.6719 GB, free: 30.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008508/1.884, allocations: 3.394 MB / 0.6752 GB, free: 27.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01131/1.895, allocations: 7.218 MB / 0.6823 GB, free: 19.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/1.906, allocations: 4.91 MB / 0.6871 GB, free: 15.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001366/1.907, allocations: 36 kB / 0.6871 GB, free: 15.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=881) (initialization): time 0.03807/1.945, allocations: 12.18 MB / 0.699 GB, free: 4.879 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.945, allocations: 60 kB / 0.699 GB, free: 4.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/1.945, allocations: 136 kB / 0.6992 GB, free: 4.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/1.956, allocations: 2.266 MB / 0.7014 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01199/1.969, allocations: 1.642 MB / 0.703 GB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03617/2.005, allocations: 15.3 MB / 0.7179 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009853/2.015, allocations: 459.2 kB / 0.7184 GB, free: 2.625 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002093/2.017, allocations: 440.5 kB / 0.7188 GB, free: 2.195 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * 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 (808): * Single equations (assignments): 802 * 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%) 15,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002135/2.019, allocations: 0.608 MB / 0.7194 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/2.02, allocations: 398.8 kB / 0.7198 GB, free: 1.188 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3904/2.411, allocations: 7.54 MB / 0.7271 GB, free: 94.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.078e-05/2.411, allocations: 26.91 kB / 0.7272 GB, free: 94.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.861e-05/2.411, allocations: 12.25 kB / 0.7272 GB, free: 94.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.72e-05/2.411, allocations: 12.66 kB / 0.7272 GB, free: 94.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05206/2.463, allocations: 14.97 MB / 0.7418 GB, free: 93.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.211e-05/2.463, allocations: 0.8125 kB / 0.7418 GB, free: 93.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005191/2.468, allocations: 434.5 kB / 0.7422 GB, free: 93.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01078/2.479, allocations: 2.033 MB / 0.7442 GB, free: 93.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000924/2.48, allocations: 44.52 kB / 0.7442 GB, free: 93.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0286/2.509, allocations: 13.86 MB / 0.7578 GB, free: 89.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/2.509, allocations: 3.469 kB / 0.7578 GB, free: 89.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0331/2.542, allocations: 11.89 MB / 0.7694 GB, free: 86.17 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/2.544, allocations: 447 kB / 0.7698 GB, free: 86.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002236/2.546, allocations: 43.97 kB / 0.7698 GB, free: 86.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005946/2.552, allocations: 215.5 kB / 0.7701 GB, free: 86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001468/2.554, allocations: 157.8 kB / 0.7702 GB, free: 85.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006948/2.554, allocations: 61.73 kB / 0.7703 GB, free: 85.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007632/2.562, allocations: 2.651 MB / 0.7729 GB, free: 85.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.02e-07/2.562, allocations: 0 / 0.7729 GB, free: 85.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01055/2.573, allocations: 1.392 MB / 0.7742 GB, free: 84.86 MB / 458.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 (195): * Single equations (assignments): 189 * 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.03456/2.607, allocations: 12.74 MB / 0.7866 GB, free: 79.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0214/2.629, allocations: 8.391 MB / 0.7948 GB, free: 76.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/2.629, allocations: 0 / 0.7948 GB, free: 76.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01/2.639, allocations: 3.632 MB / 0.7984 GB, free: 75.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/2.643, allocations: 456.5 kB / 0.7988 GB, free: 75.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04157/2.685, allocations: 11.79 MB / 0.8103 GB, free: 66.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009037/2.694, allocations: 3.834 MB / 0.8141 GB, free: 63.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0114/2.706, allocations: 2.244 MB / 0.8163 GB, free: 62.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007054/2.713, allocations: 2.269 MB / 0.8185 GB, free: 60.21 MB / 458.7 MB Notification: Performance of SimCode: time 1.713e-06/2.713, allocations: 0 / 0.8185 GB, free: 60.21 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6422/3.355, allocations: 106.9 MB / 0.9229 GB, free: 92.26 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002907/3.355, allocations: 194.5 kB / 0.9231 GB, free: 92.04 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.482/9.837, allocations: 0 / 0.9231 GB, free: 92.04 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat does not exist to compare? outputFormat=mat