Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.966e-05/3.971e-05, allocations: 7.984 kB / 292.2 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 50.42 MB / 342.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4771/0.5915, allocations: 99.62 MB / 442.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/0.5919, allocations: 90.31 kB / 442.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7815/1.373, allocations: 116.2 MB / 0.5455 GB, free: 91.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.373, allocations: 1.375 kB / 0.5455 GB, free: 91.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004853/1.374, allocations: 116.9 kB / 0.5456 GB, free: 91.79 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.02887/1.403, allocations: 5.955 MB / 0.5514 GB, free: 89.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/1.403, allocations: 11.78 kB / 0.5515 GB, free: 89.64 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005046/1.408, allocations: 0.9869 MB / 0.5524 GB, free: 89.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02268/1.431, allocations: 2.725 MB / 0.5551 GB, free: 89.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02489/1.456, allocations: 7.099 MB / 0.562 GB, free: 88.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005383/1.456, allocations: 434.1 kB / 0.5624 GB, free: 88.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003383/1.46, allocations: 0.5687 MB / 0.563 GB, free: 88.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04703/1.507, allocations: 14.88 MB / 0.5775 GB, free: 85.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005479/1.507, allocations: 79.36 kB / 0.5776 GB, free: 85.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003143/1.511, allocations: 270.7 kB / 0.5779 GB, free: 85.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003557/1.514, allocations: 1.427 MB / 0.5792 GB, free: 85.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04125/1.555, allocations: 12.82 MB / 0.5918 GB, free: 81.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.111/1.667, allocations: 65.69 MB / 0.6559 GB, free: 26.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03229/1.699, allocations: 7.305 MB / 0.663 GB, free: 20 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009097/1.708, allocations: 4.837 MB / 0.6678 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03255/1.741, allocations: 13.96 MB / 0.6814 GB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.498e-05/1.741, allocations: 64.55 kB / 0.6815 GB, free: 1.543 MB / 442.7 MB Notification: Performance of pre-optimization done (n=282): time 7.454e-06/1.741, allocations: 4 kB / 0.6815 GB, free: 1.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=373): time 0.5857/2.326, allocations: 40.98 MB / 0.7215 GB, free: 98.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/2.327, allocations: 192.7 kB / 0.7217 GB, free: 98.03 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/2.337, allocations: 4.213 MB / 0.7258 GB, free: 97.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00135/2.338, allocations: 81.92 kB / 0.7259 GB, free: 97.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003529/2.342, allocations: 3.743 MB / 0.7295 GB, free: 95.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002653/2.345, allocations: 1.354 MB / 0.7308 GB, free: 94.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001361/2.346, allocations: 155.6 kB / 0.731 GB, free: 94.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005597/2.347, allocations: 0.629 MB / 0.7316 GB, free: 94.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01032/2.357, allocations: 4.366 MB / 0.7359 GB, free: 94.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01296/2.37, allocations: 8.358 MB / 0.744 GB, free: 89.53 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/2.383, allocations: 6.046 MB / 0.7499 GB, free: 87.76 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/2.384, allocations: 38.19 kB / 0.75 GB, free: 87.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.06082/2.444, allocations: 18.14 MB / 0.7677 GB, free: 82.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/2.444, allocations: 64.47 kB / 0.7677 GB, free: 82.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/2.445, allocations: 141.6 kB / 0.7679 GB, free: 82.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03306/2.478, allocations: 6.65 MB / 0.7744 GB, free: 80.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01142/2.489, allocations: 1.719 MB / 0.7761 GB, free: 80.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08156/2.571, allocations: 35.32 MB / 0.8105 GB, free: 53.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01162/2.583, allocations: 0.5702 MB / 0.8111 GB, free: 52.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002458/2.585, allocations: 473.9 kB / 0.8116 GB, free: 52.54 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.003994/2.589, allocations: 0.6876 MB / 0.8122 GB, free: 51.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002117/2.591, allocations: 473.9 kB / 0.8127 GB, free: 51.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05156/2.643, allocations: 13.55 MB / 0.8259 GB, free: 40.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.208e-05/2.643, allocations: 46.38 kB / 0.826 GB, free: 40.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-05/2.643, allocations: 26.88 kB / 0.826 GB, free: 40.03 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.527e-05/2.643, allocations: 23.11 kB / 0.826 GB, free: 40.01 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08343/2.727, allocations: 25.77 MB / 0.8512 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.899e-05/2.727, allocations: 7 kB / 0.8512 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00488/2.732, allocations: 0.5148 MB / 0.8517 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03746/2.769, allocations: 6.272 MB / 0.8578 GB, free: 7.316 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001683/2.771, allocations: 71.97 kB / 0.8579 GB, free: 7.246 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4872/3.258, allocations: 32.57 MB / 0.8897 GB, free: 90 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/3.258, allocations: 8.219 kB / 0.8897 GB, free: 90 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05769/3.316, allocations: 20.04 MB / 0.9093 GB, free: 84.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/3.318, allocations: 0.5532 MB / 0.9098 GB, free: 83.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002032/3.32, allocations: 65.27 kB / 0.9099 GB, free: 83.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006429/3.326, allocations: 349.2 kB / 0.9102 GB, free: 83.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001574/3.328, allocations: 263.2 kB / 0.9104 GB, free: 83.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005182/3.328, allocations: 102.4 kB / 0.9105 GB, free: 83.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006681/3.335, allocations: 3.005 MB / 0.9135 GB, free: 82.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.22e-07/3.335, allocations: 0 / 0.9135 GB, free: 82.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01135/3.347, allocations: 1.838 MB / 0.9153 GB, free: 82.48 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.05899/3.406, allocations: 21.47 MB / 0.9362 GB, free: 73.51 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02893/3.435, allocations: 11.38 MB / 0.9474 GB, free: 68.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/3.435, allocations: 0 / 0.9474 GB, free: 68.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01557/3.45, allocations: 5.516 MB / 0.9527 GB, free: 63.24 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006241/3.457, allocations: 0.5659 MB / 0.9533 GB, free: 62.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06464/3.521, allocations: 15.85 MB / 0.9688 GB, free: 49.42 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01064/3.532, allocations: 4.493 MB / 0.9732 GB, free: 46.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01172/3.544, allocations: 2.4 MB / 0.9755 GB, free: 44.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006502/3.55, allocations: 2.624 MB / 0.9781 GB, free: 42.14 MB / 458.7 MB Notification: Performance of SimCode: time 1.272e-06/3.55, allocations: 1.312 kB / 0.9781 GB, free: 42.14 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.663/4.213, allocations: 144.6 MB / 1.119 GB, free: 71.36 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/4.214, allocations: 197.9 kB / 1.119 GB, free: 71.13 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/11.95, allocations: 0 / 1.119 GB, free: 71.13 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat