Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.773e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3186, allocations: 44.49 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.4842, allocations: 91.65 MB / 385.8 MB, free: 6.199 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.4845, allocations: 83.95 kB / 385.9 MB, free: 6.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6867/1.171, allocations: 115 MB / 0.4892 GB, free: 48.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.171, allocations: 0 / 0.4892 GB, free: 48.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004349/1.172, allocations: 127.6 kB / 0.4893 GB, free: 48.24 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2063 * Number of variables: 2063 Notification: Performance of Generate backend data structure: time 0.02621/1.198, allocations: 6.095 MB / 0.4953 GB, free: 42.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/1.198, allocations: 8.031 kB / 0.4953 GB, free: 42.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0222/1.22, allocations: 2.788 MB / 0.498 GB, free: 39.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02444/1.245, allocations: 7.624 MB / 0.5054 GB, free: 31.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000414/1.245, allocations: 192 kB / 0.5056 GB, free: 31.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003263/1.249, allocations: 355.9 kB / 0.506 GB, free: 31.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02356/1.272, allocations: 9.765 MB / 0.5155 GB, free: 21.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03367/1.306, allocations: 13.65 MB / 0.5288 GB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003959/1.306, allocations: 87.17 kB / 0.5289 GB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002212/1.308, allocations: 40 kB / 0.529 GB, free: 6.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003443/1.312, allocations: 1.473 MB / 0.5304 GB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4363/1.748, allocations: 68.05 MB / 0.5969 GB, free: 44.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/1.76, allocations: 6.22 MB / 0.6029 GB, free: 43.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008589/1.769, allocations: 4.734 MB / 0.6076 GB, free: 43.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001939/1.77, allocations: 1.283 MB / 0.6088 GB, free: 42.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.786e-05/1.771, allocations: 69.77 kB / 0.6089 GB, free: 42.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=287): time 7.454e-06/1.771, allocations: 3.125 kB / 0.6089 GB, free: 42.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=378): time 0.1569/1.928, allocations: 37.27 MB / 0.6453 GB, free: 34.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/1.928, allocations: 165.7 kB / 0.6454 GB, free: 34.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008924/1.937, allocations: 3.788 MB / 0.6491 GB, free: 32.24 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001279/1.938, allocations: 30.94 kB / 0.6492 GB, free: 32.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003308/1.941, allocations: 3.918 MB / 0.653 GB, free: 28.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002522/1.944, allocations: 1.336 MB / 0.6543 GB, free: 27.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/1.945, allocations: 0 / 0.6543 GB, free: 27.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006986/1.946, allocations: 0.6606 MB / 0.6549 GB, free: 26.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01033/1.957, allocations: 4.313 MB / 0.6591 GB, free: 23.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01336/1.97, allocations: 8.643 MB / 0.6676 GB, free: 13.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01321/1.983, allocations: 6.088 MB / 0.6735 GB, free: 8.055 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002058/1.983, allocations: 44 kB / 0.6736 GB, free: 8.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=1083) (initialization): time 0.06865/2.052, allocations: 18.11 MB / 0.6913 GB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/2.052, allocations: 72 kB / 0.6913 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002903/2.053, allocations: 152 kB / 0.6915 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03498/2.088, allocations: 6.476 MB / 0.6978 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0121/2.1, allocations: 1.797 MB / 0.6995 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3776/2.477, allocations: 33.77 MB / 0.7325 GB, free: 97.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/2.488, allocations: 427.7 kB / 0.7329 GB, free: 97.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002427/2.491, allocations: 477.8 kB / 0.7334 GB, free: 97.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * Number of states: 0 () * Number of discrete variables: 51 (shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[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],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (924): * Single equations (assignments): 916 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,80.6%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003155/2.494, allocations: 0.5033 MB / 0.7339 GB, free: 97.21 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04636/2.54, allocations: 13.18 MB / 0.7468 GB, free: 96.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002115/2.543, allocations: 452.7 kB / 0.7472 GB, free: 96.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04906/2.592, allocations: 13.33 MB / 0.7602 GB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.831e-05/2.592, allocations: 39.81 kB / 0.7602 GB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.874e-05/2.592, allocations: 30.25 kB / 0.7603 GB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.52e-05/2.592, allocations: 19.36 kB / 0.7603 GB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1278/2.72, allocations: 24.88 MB / 0.7846 GB, free: 87.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.112e-05/2.72, allocations: 3.812 kB / 0.7846 GB, free: 87.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004822/2.725, allocations: 0.5249 MB / 0.7851 GB, free: 87.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03254/2.757, allocations: 6.244 MB / 0.7912 GB, free: 85.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001283/2.759, allocations: 15.42 kB / 0.7912 GB, free: 85.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0712/2.83, allocations: 30.6 MB / 0.8211 GB, free: 59.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/2.83, allocations: 4 kB / 0.8211 GB, free: 59.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05799/2.888, allocations: 19.71 MB / 0.8403 GB, free: 39.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004787/2.893, allocations: 1.272 MB / 0.8416 GB, free: 38.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002413/2.895, allocations: 12 kB / 0.8416 GB, free: 38.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006741/2.902, allocations: 291.3 kB / 0.8419 GB, free: 38.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002159/2.904, allocations: 270 kB / 0.8421 GB, free: 37.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00117/2.905, allocations: 95.98 kB / 0.8422 GB, free: 37.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006633/2.912, allocations: 2.555 MB / 0.8447 GB, free: 35.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.02e-07/2.912, allocations: 0 / 0.8447 GB, free: 35.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01314/2.925, allocations: 1.634 MB / 0.8463 GB, free: 33.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 223 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.08062/3.006, allocations: 21.1 MB / 0.8669 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.3186/3.325, allocations: 11.3 MB / 0.8779 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/3.325, allocations: 1.125 kB / 0.8779 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0158/3.341, allocations: 5.481 MB / 0.8833 GB, free: 100.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00514/3.346, allocations: 460 kB / 0.8837 GB, free: 100.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06491/3.411, allocations: 16.77 MB / 0.9001 GB, free: 98.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0109/3.422, allocations: 4.687 MB / 0.9047 GB, free: 97.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007293/3.429, allocations: 2.796 MB / 0.9074 GB, free: 97.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/3.429, allocations: 4.969 kB / 0.9074 GB, free: 97.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.696/9.125, allocations: 253.2 MB / 1.155 GB, free: 14.35 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat