Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.978/1.978, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.383e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4392/0.5396, allocations: 97.93 MB / 415 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.54, allocations: 83.83 kB / 415 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8046/1.345, allocations: 115.2 MB / 0.5179 GB, free: 82.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.345, allocations: 0 / 0.5179 GB, free: 82.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000487/1.345, allocations: 116.9 kB / 0.518 GB, free: 82.62 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.03083/1.376, allocations: 5.983 MB / 0.5238 GB, free: 80.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/1.376, allocations: 10.31 kB / 0.5238 GB, free: 80.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005425/1.382, allocations: 0.9856 MB / 0.5248 GB, free: 80.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02353/1.405, allocations: 2.733 MB / 0.5275 GB, free: 80.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02656/1.432, allocations: 7.55 MB / 0.5348 GB, free: 79.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005878/1.432, allocations: 426 kB / 0.5352 GB, free: 79.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003843/1.436, allocations: 0.5739 MB / 0.5358 GB, free: 79.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0501/1.486, allocations: 14.89 MB / 0.5503 GB, free: 76.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005733/1.487, allocations: 75.61 kB / 0.5504 GB, free: 76.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003669/1.491, allocations: 270.9 kB / 0.5507 GB, free: 76.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00383/1.495, allocations: 1.431 MB / 0.5521 GB, free: 76.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04082/1.536, allocations: 12.81 MB / 0.5646 GB, free: 76.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1113/1.647, allocations: 65.77 MB / 0.6288 GB, free: 29.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03175/1.679, allocations: 7.318 MB / 0.6359 GB, free: 23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009262/1.688, allocations: 4.832 MB / 0.6407 GB, free: 18.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03261/1.721, allocations: 14 MB / 0.6543 GB, free: 6.418 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/1.721, allocations: 64.52 kB / 0.6544 GB, free: 6.348 MB / 426.7 MB Notification: Performance of pre-optimization done (n=282): time 7.354e-06/1.721, allocations: 3.938 kB / 0.6544 GB, free: 6.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=373): time 0.6082/2.329, allocations: 41.35 MB / 0.6948 GB, free: 88.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/2.329, allocations: 193.6 kB / 0.695 GB, free: 88.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/2.341, allocations: 4.263 MB / 0.6991 GB, free: 88.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001356/2.343, allocations: 83.48 kB / 0.6992 GB, free: 88.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003835/2.347, allocations: 3.744 MB / 0.7029 GB, free: 86.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002559/2.349, allocations: 1.347 MB / 0.7042 GB, free: 85.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001833/2.351, allocations: 159.1 kB / 0.7043 GB, free: 85.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007111/2.352, allocations: 0.6321 MB / 0.7049 GB, free: 85.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01105/2.363, allocations: 4.366 MB / 0.7092 GB, free: 85.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01429/2.377, allocations: 8.355 MB / 0.7174 GB, free: 80.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/2.392, allocations: 6.04 MB / 0.7233 GB, free: 80.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002156/2.392, allocations: 40.12 kB / 0.7233 GB, free: 80.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.08134/2.474, allocations: 18.14 MB / 0.741 GB, free: 76.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/2.474, allocations: 64.31 kB / 0.7411 GB, free: 76.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000289/2.474, allocations: 142.2 kB / 0.7412 GB, free: 76.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04018/2.514, allocations: 6.655 MB / 0.7477 GB, free: 75.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01157/2.526, allocations: 1.715 MB / 0.7494 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08948/2.616, allocations: 35.32 MB / 0.7839 GB, free: 54.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01194/2.628, allocations: 0.5667 MB / 0.7844 GB, free: 53.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002417/2.63, allocations: 482.7 kB / 0.7849 GB, free: 53.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 640 * 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.groundColor[3],world.groundColor[2],world.groundColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (860): * Single equations (assignments): 852 * 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,67.9%) 100,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004035/2.634, allocations: 0.6726 MB / 0.7856 GB, free: 52.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002158/2.636, allocations: 485.3 kB / 0.786 GB, free: 52.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05114/2.687, allocations: 13.56 MB / 0.7993 GB, free: 41.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.531e-05/2.688, allocations: 43.19 kB / 0.7993 GB, free: 41.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.331e-05/2.688, allocations: 25.42 kB / 0.7993 GB, free: 41.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.112e-05/2.688, allocations: 27.19 kB / 0.7994 GB, free: 41.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08598/2.774, allocations: 25.77 MB / 0.8245 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.969e-05/2.774, allocations: 7.969 kB / 0.8245 GB, free: 19.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004871/2.779, allocations: 0.5109 MB / 0.825 GB, free: 19.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03268/2.812, allocations: 6.274 MB / 0.8312 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00133/2.813, allocations: 68.61 kB / 0.8312 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4202/3.233, allocations: 32.58 MB / 0.863 GB, free: 80.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/3.233, allocations: 6.406 kB / 0.863 GB, free: 80.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06358/3.297, allocations: 20.06 MB / 0.8826 GB, free: 78.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005421/3.302, allocations: 1.337 MB / 0.8839 GB, free: 77.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002829/3.305, allocations: 64.84 kB / 0.884 GB, free: 77.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007352/3.313, allocations: 350.2 kB / 0.8843 GB, free: 77.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002265/3.315, allocations: 270.6 kB / 0.8846 GB, free: 77.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001053/3.316, allocations: 100.5 kB / 0.8847 GB, free: 77.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008238/3.324, allocations: 3.048 MB / 0.8877 GB, free: 76.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.112e-06/3.324, allocations: 0 / 0.8877 GB, free: 76.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01336/3.338, allocations: 1.836 MB / 0.8895 GB, free: 76.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (226): * Single equations (assignments): 218 * 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 {(8,70.3%) 98,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06227/3.4, allocations: 21.46 MB / 0.9104 GB, free: 67.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03153/3.432, allocations: 11.4 MB / 0.9215 GB, free: 62.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/3.432, allocations: 0 / 0.9215 GB, free: 62.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01573/3.447, allocations: 5.507 MB / 0.9269 GB, free: 58.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006229/3.454, allocations: 0.5714 MB / 0.9275 GB, free: 58.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06259/3.516, allocations: 15.89 MB / 0.943 GB, free: 44.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01031/3.527, allocations: 4.514 MB / 0.9474 GB, free: 41.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01125/3.538, allocations: 2.406 MB / 0.9498 GB, free: 39.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00672/3.545, allocations: 2.631 MB / 0.9523 GB, free: 37.52 MB / 442.7 MB Notification: Performance of SimCode: time 2.204e-06/3.545, allocations: 0 / 0.9523 GB, free: 37.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7176/4.262, allocations: 144.9 MB / 1.094 GB, free: 61.67 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/4.263, allocations: 193.9 kB / 1.094 GB, free: 61.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/11.95, allocations: 0 / 1.094 GB, free: 61.45 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat