Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.071/2.071, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.669e-05/2.697e-05, allocations: 8 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3797, allocations: 44.48 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.5406, allocations: 91.65 MB / 385.9 MB, free: 6.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.5409, allocations: 83.95 kB / 386 MB, free: 6.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7326/1.274, allocations: 115 MB / 0.4892 GB, free: 48.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.274, allocations: 0 / 0.4892 GB, free: 48.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003892/1.274, allocations: 123.8 kB / 0.4893 GB, free: 48.13 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.02352/1.298, allocations: 6.094 MB / 0.4953 GB, free: 41.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.298, allocations: 8.031 kB / 0.4953 GB, free: 41.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02158/1.319, allocations: 2.781 MB / 0.498 GB, free: 39.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02373/1.343, allocations: 7.626 MB / 0.5055 GB, free: 31.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/1.343, allocations: 196 kB / 0.5057 GB, free: 31.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002325/1.346, allocations: 359.9 kB / 0.506 GB, free: 31.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02283/1.369, allocations: 9.758 MB / 0.5155 GB, free: 21.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03721/1.406, allocations: 13.66 MB / 0.5289 GB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004461/1.406, allocations: 83.25 kB / 0.5289 GB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002129/1.408, allocations: 39.98 kB / 0.529 GB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003296/1.412, allocations: 1.477 MB / 0.5304 GB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4025/1.814, allocations: 68.04 MB / 0.5969 GB, free: 44.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/1.826, allocations: 6.222 MB / 0.6029 GB, free: 43.67 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008343/1.834, allocations: 4.738 MB / 0.6076 GB, free: 43.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001962/1.836, allocations: 1.281 MB / 0.6088 GB, free: 42.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.274e-05/1.836, allocations: 74.81 kB / 0.6089 GB, free: 42.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=287): time 6.562e-06/1.836, allocations: 0 / 0.6089 GB, free: 42.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=378): time 0.1486/1.985, allocations: 37.27 MB / 0.6453 GB, free: 34.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/1.985, allocations: 169.8 kB / 0.6455 GB, free: 34.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009238/1.994, allocations: 3.783 MB / 0.6492 GB, free: 32.13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001209/1.995, allocations: 29.7 kB / 0.6492 GB, free: 32.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004503/2, allocations: 4.019 MB / 0.6531 GB, free: 28.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00293/2.003, allocations: 1.323 MB / 0.6544 GB, free: 27.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/2.004, allocations: 0 / 0.6544 GB, free: 27.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0007455/2.005, allocations: 0.6563 MB / 0.655 GB, free: 26.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01383/2.019, allocations: 4.318 MB / 0.6593 GB, free: 22.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01724/2.036, allocations: 8.642 MB / 0.6677 GB, free: 12.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01751/2.054, allocations: 6.085 MB / 0.6736 GB, free: 7.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001892/2.054, allocations: 44 kB / 0.6737 GB, free: 7.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=1083) (initialization): time 0.07506/2.129, allocations: 18.35 MB / 0.6916 GB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/2.129, allocations: 76.03 kB / 0.6917 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002322/2.13, allocations: 152 kB / 0.6918 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03368/2.163, allocations: 6.474 MB / 0.6981 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01203/2.175, allocations: 1.8 MB / 0.6999 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3779/2.553, allocations: 33.76 MB / 0.7329 GB, free: 96.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/2.564, allocations: 429.9 kB / 0.7333 GB, free: 96.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00231/2.566, allocations: 478.8 kB / 0.7337 GB, free: 96.7 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.002852/2.569, allocations: 0.5016 MB / 0.7342 GB, free: 96.59 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04602/2.615, allocations: 13.18 MB / 0.7471 GB, free: 96.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002149/2.617, allocations: 462.9 kB / 0.7475 GB, free: 96.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04868/2.666, allocations: 13.32 MB / 0.7605 GB, free: 95.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.851e-05/2.666, allocations: 40.61 kB / 0.7606 GB, free: 95.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.807e-05/2.666, allocations: 25.44 kB / 0.7606 GB, free: 95.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.001e-05/2.666, allocations: 23.41 kB / 0.7606 GB, free: 95.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09063/2.757, allocations: 24.87 MB / 0.7849 GB, free: 86.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-05/2.757, allocations: 6.969 kB / 0.7849 GB, free: 86.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004805/2.762, allocations: 0.5264 MB / 0.7854 GB, free: 86.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03137/2.793, allocations: 6.248 MB / 0.7915 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001206/2.795, allocations: 18.95 kB / 0.7916 GB, free: 85.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0666/2.861, allocations: 30.6 MB / 0.8214 GB, free: 59.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/2.861, allocations: 7 kB / 0.8214 GB, free: 59.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05618/2.917, allocations: 19.7 MB / 0.8407 GB, free: 39.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004753/2.922, allocations: 1.268 MB / 0.8419 GB, free: 38.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00206/2.924, allocations: 12 kB / 0.8419 GB, free: 38.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006572/2.931, allocations: 287.5 kB / 0.8422 GB, free: 38.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002061/2.933, allocations: 272.5 kB / 0.8425 GB, free: 37.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006999/2.934, allocations: 96.61 kB / 0.8426 GB, free: 37.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006275/2.94, allocations: 2.559 MB / 0.8451 GB, free: 35.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.11e-07/2.94, allocations: 0 / 0.8451 GB, free: 35.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01264/2.953, allocations: 1.636 MB / 0.8467 GB, free: 33.49 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.05758/3.01, allocations: 21.09 MB / 0.8673 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.336/3.346, allocations: 11.3 MB / 0.8783 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/3.346, allocations: 1.375 kB / 0.8783 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01488/3.361, allocations: 5.481 MB / 0.8836 GB, free: 100.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005113/3.367, allocations: 461 kB / 0.8841 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06094/3.428, allocations: 16.03 MB / 0.8997 GB, free: 98.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01038/3.438, allocations: 4.688 MB / 0.9043 GB, free: 97.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01045/3.448, allocations: 2.455 MB / 0.9067 GB, free: 97.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006489/3.455, allocations: 2.741 MB / 0.9094 GB, free: 97.53 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/3.455, allocations: 0 / 0.9094 GB, free: 97.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6477/4.103, allocations: 138.4 MB / 1.045 GB, free: 84.46 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/4.103, allocations: 172.2 kB / 1.045 GB, free: 84.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/11.54, allocations: 1.875 kB / 1.045 GB, free: 84.27 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat