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.063/2.063, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.526e-05, allocations: 4 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09196/0.09204, allocations: 44.5 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4753/0.5674, allocations: 92.31 MB / 392.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.5678, allocations: 90.22 kB / 392.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5066/1.074, allocations: 117.5 MB / 0.498 GB, free: 6.133 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.756e-06/1.075, allocations: 4 kB / 0.498 GB, free: 6.129 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004668/1.075, allocations: 124 kB / 0.4981 GB, free: 6.008 MB / 394.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.02774/1.103, allocations: 6.089 MB / 0.504 GB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/1.103, allocations: 8.031 kB / 0.504 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006016/1.109, allocations: 1.038 MB / 0.5051 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03248/1.141, allocations: 2.781 MB / 0.5078 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03602/1.177, allocations: 7.633 MB / 0.5152 GB, free: 4.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000895/1.178, allocations: 452 kB / 0.5157 GB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004495/1.183, allocations: 0.6051 MB / 0.5162 GB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3343/1.517, allocations: 15.5 MB / 0.5314 GB, free: 63.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005666/1.518, allocations: 82.97 kB / 0.5315 GB, free: 63.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003094/1.521, allocations: 283.7 kB / 0.5317 GB, free: 63.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003932/1.525, allocations: 1.487 MB / 0.5332 GB, free: 63.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04082/1.566, allocations: 13.04 MB / 0.5459 GB, free: 63.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1183/1.684, allocations: 70.29 MB / 0.6146 GB, free: 38.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03125/1.716, allocations: 7.228 MB / 0.6216 GB, free: 35.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009228/1.725, allocations: 4.822 MB / 0.6263 GB, free: 33.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/1.727, allocations: 1.289 MB / 0.6276 GB, free: 32.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.056e-05/1.727, allocations: 63.62 kB / 0.6276 GB, free: 32.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 7.414e-06/1.727, allocations: 7.406 kB / 0.6276 GB, free: 32.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=378): time 0.2366/1.964, allocations: 40.61 MB / 0.6673 GB, free: 8.137 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.964, allocations: 167.7 kB / 0.6675 GB, free: 7.941 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01187/1.976, allocations: 4.559 MB / 0.6719 GB, free: 3.977 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001298/1.977, allocations: 81.7 kB / 0.672 GB, free: 3.891 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004888/1.982, allocations: 3.969 MB / 0.6759 GB, free: 420 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2948/2.277, allocations: 1.373 MB / 0.6772 GB, free: 79.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001989/2.279, allocations: 163.7 kB / 0.6774 GB, free: 79.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009953/2.28, allocations: 0.6482 MB / 0.678 GB, free: 78.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01261/2.293, allocations: 4.437 MB / 0.6823 GB, free: 78.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01604/2.309, allocations: 8.618 MB / 0.6908 GB, free: 73.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/2.324, allocations: 6.204 MB / 0.6968 GB, free: 73.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002898/2.324, allocations: 42.78 kB / 0.6969 GB, free: 73.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.06462/2.389, allocations: 18.45 MB / 0.7149 GB, free: 72.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/2.389, allocations: 67 kB / 0.7149 GB, free: 72.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002291/2.389, allocations: 151.2 kB / 0.7151 GB, free: 72.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04105/2.431, allocations: 6.573 MB / 0.7215 GB, free: 72.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01843/2.449, allocations: 1.761 MB / 0.7232 GB, free: 72.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1226/2.572, allocations: 35.84 MB / 0.7582 GB, free: 59.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/2.583, allocations: 0.5721 MB / 0.7588 GB, free: 59.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002432/2.586, allocations: 473.8 kB / 0.7592 GB, free: 59.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * 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 (900): * Single equations (assignments): 892 * 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.004548/2.59, allocations: 0.7014 MB / 0.7599 GB, free: 59.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002058/2.592, allocations: 0.4925 MB / 0.7604 GB, free: 58.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05226/2.645, allocations: 13.69 MB / 0.7738 GB, free: 52.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.557e-05/2.645, allocations: 37.48 kB / 0.7738 GB, free: 52.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.578e-05/2.645, allocations: 28 kB / 0.7738 GB, free: 52.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-05/2.645, allocations: 16.83 kB / 0.7738 GB, free: 52.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08509/2.73, allocations: 26.25 MB / 0.7995 GB, free: 31.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.204e-05/2.73, allocations: 4 kB / 0.7995 GB, free: 31.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005014/2.735, allocations: 0.5301 MB / 0.8 GB, free: 31.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03317/2.768, allocations: 6.322 MB / 0.8062 GB, free: 27.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001498/2.77, allocations: 71.88 kB / 0.8062 GB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4016/3.172, allocations: 32.47 MB / 0.8379 GB, free: 64.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/3.172, allocations: 7.406 kB / 0.838 GB, free: 64.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06206/3.234, allocations: 20.16 MB / 0.8576 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005125/3.239, allocations: 1.343 MB / 0.859 GB, free: 62.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002174/3.241, allocations: 63.69 kB / 0.859 GB, free: 62.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00709/3.248, allocations: 350.2 kB / 0.8593 GB, free: 62.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002038/3.25, allocations: 266.6 kB / 0.8596 GB, free: 62.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007113/3.251, allocations: 94.91 kB / 0.8597 GB, free: 62.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008289/3.259, allocations: 3.27 MB / 0.8629 GB, free: 62.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.272e-06/3.259, allocations: 0 / 0.8629 GB, free: 62.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01216/3.272, allocations: 1.887 MB / 0.8647 GB, free: 62.59 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.06167/3.333, allocations: 21.51 MB / 0.8857 GB, free: 59.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02897/3.362, allocations: 11.45 MB / 0.8969 GB, free: 55.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/3.362, allocations: 7.812 kB / 0.8969 GB, free: 55.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01514/3.378, allocations: 5.536 MB / 0.9023 GB, free: 52.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006286/3.384, allocations: 0.6106 MB / 0.9029 GB, free: 52.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06395/3.448, allocations: 16.51 MB / 0.919 GB, free: 46.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01071/3.459, allocations: 4.694 MB / 0.9236 GB, free: 44.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01135/3.47, allocations: 2.461 MB / 0.926 GB, free: 43.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00672/3.477, allocations: 2.756 MB / 0.9287 GB, free: 40.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.293e-06/3.477, allocations: 6.156 kB / 0.9287 GB, free: 40.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6219/4.099, allocations: 149.6 MB / 1.075 GB, free: 53.72 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/4.099, allocations: 209.7 kB / 1.075 GB, free: 53.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/11.95, allocations: 0 / 1.075 GB, free: 53.48 MB / 442.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