Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.224e-05, allocations: 4 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 50.42 MB / 342.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4968/0.6025, allocations: 105 MB / 447.6 MB, free: 5.273 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.6028, allocations: 90.52 kB / 447.7 MB, free: 5.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8635/1.466, allocations: 122.4 MB / 0.5568 GB, free: 93.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.466, allocations: 3.969 kB / 0.5568 GB, free: 93.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005807/1.467, allocations: 125.5 kB / 0.5569 GB, free: 93.18 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: 2047 * Number of variables: 2047 Notification: Performance of Generate backend data structure: time 0.03706/1.504, allocations: 6.227 MB / 0.563 GB, free: 90.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.944e-05/1.504, allocations: 10.09 kB / 0.563 GB, free: 90.88 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007673/1.512, allocations: 1.035 MB / 0.564 GB, free: 90.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02404/1.536, allocations: 2.769 MB / 0.5667 GB, free: 90.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02437/1.56, allocations: 7.236 MB / 0.5738 GB, free: 89.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005674/1.561, allocations: 456.6 kB / 0.5742 GB, free: 89.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003492/1.565, allocations: 0.6009 MB / 0.5748 GB, free: 89.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04797/1.613, allocations: 15.52 MB / 0.59 GB, free: 83.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003803/1.613, allocations: 83.61 kB / 0.59 GB, free: 83.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00227/1.615, allocations: 285 kB / 0.5903 GB, free: 83.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003374/1.619, allocations: 1.458 MB / 0.5917 GB, free: 83.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04207/1.661, allocations: 13.22 MB / 0.6046 GB, free: 77.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1117/1.773, allocations: 68.77 MB / 0.6718 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0331/1.806, allocations: 7.586 MB / 0.6792 GB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009037/1.815, allocations: 4.977 MB / 0.6841 GB, free: 496 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3586/2.174, allocations: 14.35 MB / 0.6981 GB, free: 85.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03188/2.205, allocations: 5.614 MB / 0.7036 GB, free: 84.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 1.364e-05/2.206, allocations: 0.8438 kB / 0.7036 GB, free: 84.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=388): time 0.2448/2.45, allocations: 44.26 MB / 0.7468 GB, free: 76.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/2.451, allocations: 246.8 kB / 0.747 GB, free: 76.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/2.462, allocations: 4.5 MB / 0.7514 GB, free: 74.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001286/2.463, allocations: 87.83 kB / 0.7515 GB, free: 74.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004872/2.468, allocations: 4.018 MB / 0.7554 GB, free: 71.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004311/2.473, allocations: 1.427 MB / 0.7568 GB, free: 70.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002681/2.475, allocations: 169 kB / 0.757 GB, free: 70.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001423/2.477, allocations: 0.6559 MB / 0.7576 GB, free: 69.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01308/2.49, allocations: 4.561 MB / 0.7621 GB, free: 67.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.014/2.504, allocations: 8.796 MB / 0.7707 GB, free: 59.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/2.518, allocations: 6.328 MB / 0.7768 GB, free: 54.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000144/2.518, allocations: 44 kB / 0.7769 GB, free: 54.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.06279/2.581, allocations: 18.78 MB / 0.7952 GB, free: 39.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/2.581, allocations: 72 kB / 0.7953 GB, free: 39.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/2.582, allocations: 148 kB / 0.7954 GB, free: 38.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0332/2.615, allocations: 6.582 MB / 0.8019 GB, free: 33.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01172/2.627, allocations: 1.809 MB / 0.8036 GB, free: 31.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08534/2.712, allocations: 35.63 MB / 0.8384 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01156/2.724, allocations: 0.5889 MB / 0.839 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002424/2.726, allocations: 0.4921 MB / 0.8395 GB, free: 10.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (913): * Single equations (assignments): 905 * 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 {(7,75.5%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003289/2.729, allocations: 0.7174 MB / 0.8402 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001683/2.731, allocations: 0.4898 MB / 0.8407 GB, free: 9.664 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3805/3.112, allocations: 13.95 MB / 0.8543 GB, free: 88.38 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.919e-05/3.112, allocations: 43.84 kB / 0.8543 GB, free: 88.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.956e-05/3.112, allocations: 28.73 kB / 0.8544 GB, free: 88.38 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.092e-05/3.112, allocations: 17.75 kB / 0.8544 GB, free: 88.38 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09126/3.203, allocations: 26.71 MB / 0.8804 GB, free: 86.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.24e-05/3.203, allocations: 4.938 kB / 0.8805 GB, free: 86.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005051/3.208, allocations: 0.535 MB / 0.881 GB, free: 86.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03289/3.241, allocations: 6.401 MB / 0.8872 GB, free: 86.94 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001316/3.243, allocations: 80.84 kB / 0.8873 GB, free: 86.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09672/3.339, allocations: 34.32 MB / 0.9208 GB, free: 72.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-05/3.339, allocations: 5.844 kB / 0.9208 GB, free: 72.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05943/3.399, allocations: 20.47 MB / 0.9408 GB, free: 64.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/3.401, allocations: 0.5763 MB / 0.9414 GB, free: 64.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002531/3.403, allocations: 67.69 kB / 0.9414 GB, free: 64.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0069/3.41, allocations: 356.4 kB / 0.9418 GB, free: 64.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001774/3.412, allocations: 277.6 kB / 0.942 GB, free: 64.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005625/3.413, allocations: 104.1 kB / 0.9421 GB, free: 63.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007444/3.42, allocations: 3.211 MB / 0.9453 GB, free: 61.14 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.32e-07/3.42, allocations: 0 / 0.9453 GB, free: 61.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01771/3.438, allocations: 1.921 MB / 0.9472 GB, free: 59.24 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(10,63.0%) 99,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06736/3.505, allocations: 22.18 MB / 0.9688 GB, free: 40.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02778/3.533, allocations: 11.77 MB / 0.9803 GB, free: 29.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/3.533, allocations: 0 / 0.9803 GB, free: 29.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01561/3.549, allocations: 5.732 MB / 0.9859 GB, free: 23.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005813/3.555, allocations: 0.6033 MB / 0.9865 GB, free: 22.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09887/3.654, allocations: 16.77 MB / 1.003 GB, free: 5.941 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01055/3.664, allocations: 4.692 MB / 1.007 GB, free: 1.234 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01182/3.676, allocations: 2.527 MB / 1.01 GB, free: 14.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007703/3.684, allocations: 2.776 MB / 1.013 GB, free: 11.95 MB / 474.7 MB Notification: Performance of SimCode: time 2.024e-06/3.684, allocations: 0 / 1.013 GB, free: 11.95 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6488/4.333, allocations: 151.1 MB / 1.16 GB, free: 16.48 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/4.333, allocations: 242.1 kB / 1.16 GB, free: 16.16 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/12.56, allocations: 0 / 1.16 GB, free: 16.16 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat