Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.427e-05, allocations: 4 kB / 292.7 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 50.42 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4545/0.5631, allocations: 99.62 MB / 442.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.5635, allocations: 86.64 kB / 442.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.816/1.379, allocations: 116.2 MB / 0.546 GB, free: 91.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.38, allocations: 0 / 0.546 GB, free: 91.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004056/1.38, allocations: 118.3 kB / 0.5461 GB, free: 91.89 MB / 442.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.02647/1.406, allocations: 5.959 MB / 0.552 GB, free: 89.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.406, allocations: 7.344 kB / 0.552 GB, free: 89.74 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004172/1.411, allocations: 0.9874 MB / 0.5529 GB, free: 89.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02147/1.432, allocations: 2.731 MB / 0.5556 GB, free: 89.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02312/1.455, allocations: 7.094 MB / 0.5625 GB, free: 88.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004661/1.456, allocations: 438.1 kB / 0.5629 GB, free: 88.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003091/1.459, allocations: 0.5616 MB / 0.5635 GB, free: 88.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04456/1.504, allocations: 14.88 MB / 0.578 GB, free: 85.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004771/1.504, allocations: 76.28 kB / 0.5781 GB, free: 85.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003023/1.507, allocations: 271.2 kB / 0.5783 GB, free: 85.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00351/1.511, allocations: 1.432 MB / 0.5797 GB, free: 85.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04162/1.552, allocations: 12.82 MB / 0.5923 GB, free: 81.22 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1084/1.661, allocations: 65.69 MB / 0.6564 GB, free: 26.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03158/1.692, allocations: 7.314 MB / 0.6636 GB, free: 20.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00916/1.702, allocations: 4.832 MB / 0.6683 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03212/1.734, allocations: 13.96 MB / 0.6819 GB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/1.734, allocations: 64.56 kB / 0.682 GB, free: 1.539 MB / 442.7 MB Notification: Performance of pre-optimization done (n=282): time 6.693e-06/1.734, allocations: 0 / 0.682 GB, free: 1.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=373): time 0.5941/2.328, allocations: 40.98 MB / 0.722 GB, free: 98.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/2.328, allocations: 194.3 kB / 0.7222 GB, free: 98.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/2.339, allocations: 4.209 MB / 0.7263 GB, free: 97.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001418/2.34, allocations: 79.7 kB / 0.7264 GB, free: 97.67 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003722/2.344, allocations: 3.745 MB / 0.73 GB, free: 95.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002782/2.347, allocations: 1.357 MB / 0.7313 GB, free: 95.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/2.349, allocations: 152.2 kB / 0.7315 GB, free: 95.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006475/2.349, allocations: 0.6317 MB / 0.7321 GB, free: 94.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01068/2.36, allocations: 4.366 MB / 0.7364 GB, free: 94.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01326/2.373, allocations: 8.354 MB / 0.7445 GB, free: 89.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/2.387, allocations: 6.047 MB / 0.7504 GB, free: 87.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/2.387, allocations: 39.91 kB / 0.7505 GB, free: 87.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.06319/2.45, allocations: 18.14 MB / 0.7682 GB, free: 82.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/2.45, allocations: 69.98 kB / 0.7683 GB, free: 82.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000214/2.451, allocations: 139.3 kB / 0.7684 GB, free: 82.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03451/2.485, allocations: 6.651 MB / 0.7749 GB, free: 80.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01134/2.496, allocations: 1.717 MB / 0.7766 GB, free: 80.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07983/2.576, allocations: 35.32 MB / 0.811 GB, free: 53.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01147/2.588, allocations: 0.5655 MB / 0.8116 GB, free: 53.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002364/2.59, allocations: 477.3 kB / 0.8121 GB, free: 52.59 MB / 458.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.002588/2.593, allocations: 0.6847 MB / 0.8127 GB, free: 51.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001679/2.595, allocations: 473.9 kB / 0.8132 GB, free: 51.44 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04718/2.642, allocations: 13.54 MB / 0.8264 GB, free: 40.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.309e-05/2.642, allocations: 44.58 kB / 0.8264 GB, free: 40.06 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.017e-05/2.642, allocations: 28 kB / 0.8265 GB, free: 40.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.9e-05/2.642, allocations: 25 kB / 0.8265 GB, free: 40.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07938/2.721, allocations: 25.77 MB / 0.8517 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.637e-05/2.722, allocations: 4 kB / 0.8517 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004896/2.726, allocations: 0.5113 MB / 0.8522 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03334/2.76, allocations: 6.274 MB / 0.8583 GB, free: 7.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001275/2.761, allocations: 67.98 kB / 0.8584 GB, free: 7.254 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4061/3.167, allocations: 32.58 MB / 0.8902 GB, free: 90.28 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/3.167, allocations: 5.875 kB / 0.8902 GB, free: 90.28 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06093/3.228, allocations: 20.05 MB / 0.9098 GB, free: 84.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/3.23, allocations: 0.5472 MB / 0.9103 GB, free: 84.15 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002039/3.232, allocations: 70.31 kB / 0.9104 GB, free: 84.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006207/3.239, allocations: 350.3 kB / 0.9107 GB, free: 84.06 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001516/3.24, allocations: 268.5 kB / 0.9109 GB, free: 84.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000504/3.241, allocations: 94.11 kB / 0.911 GB, free: 84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007146/3.248, allocations: 3.012 MB / 0.914 GB, free: 82.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.32e-07/3.248, allocations: 0 / 0.914 GB, free: 82.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01186/3.26, allocations: 1.833 MB / 0.9158 GB, free: 82.72 MB / 458.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.06045/3.32, allocations: 21.46 MB / 0.9367 GB, free: 73.76 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03383/3.354, allocations: 11.38 MB / 0.9478 GB, free: 68.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/3.354, allocations: 0 / 0.9478 GB, free: 68.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02035/3.374, allocations: 5.524 MB / 0.9532 GB, free: 63.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007527/3.382, allocations: 0.5662 MB / 0.9538 GB, free: 62.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06948/3.452, allocations: 15.85 MB / 0.9693 GB, free: 49.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009861/3.462, allocations: 4.495 MB / 0.9737 GB, free: 46.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01153/3.473, allocations: 2.401 MB / 0.976 GB, free: 44.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006493/3.48, allocations: 2.623 MB / 0.9786 GB, free: 42.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/3.48, allocations: 5.312 kB / 0.9786 GB, free: 42.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6536/4.133, allocations: 144.6 MB / 1.12 GB, free: 71.37 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/4.133, allocations: 197.8 kB / 1.12 GB, free: 71.14 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/11.89, allocations: 0 / 1.12 GB, free: 71.14 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat