Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.87e-05/3.878e-05, allocations: 4 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4641/0.567, allocations: 103.2 MB / 420.2 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.5674, allocations: 90.62 kB / 420.3 MB, free: 0.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8738/1.441, allocations: 121.4 MB / 0.529 GB, free: 83.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.076e-06/1.441, allocations: 4.781 kB / 0.529 GB, free: 83.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005776/1.442, allocations: 131.8 kB / 0.5292 GB, free: 83.56 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: 2051 * Number of variables: 2051 Notification: Performance of Generate backend data structure: time 0.03076/1.473, allocations: 6.255 MB / 0.5353 GB, free: 81.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.473, allocations: 7.875 kB / 0.5353 GB, free: 81.28 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005472/1.478, allocations: 1.04 MB / 0.5363 GB, free: 81.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02276/1.501, allocations: 2.768 MB / 0.539 GB, free: 80.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0276/1.529, allocations: 7.716 MB / 0.5465 GB, free: 80.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006181/1.529, allocations: 458.4 kB / 0.547 GB, free: 80.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003882/1.533, allocations: 0.5927 MB / 0.5475 GB, free: 80.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04914/1.582, allocations: 15.54 MB / 0.5627 GB, free: 76.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006059/1.583, allocations: 82.45 kB / 0.5628 GB, free: 76.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00365/1.587, allocations: 291.7 kB / 0.5631 GB, free: 76.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003986/1.591, allocations: 1.465 MB / 0.5645 GB, free: 76.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04381/1.635, allocations: 13.23 MB / 0.5774 GB, free: 74.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1201/1.755, allocations: 68.96 MB / 0.6448 GB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03436/1.789, allocations: 7.617 MB / 0.6522 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009809/1.799, allocations: 4.997 MB / 0.6571 GB, free: 6.492 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03782/1.837, allocations: 14.43 MB / 0.6712 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03371/1.871, allocations: 5.627 MB / 0.6767 GB, free: 4.449 MB / 442.7 MB Notification: Performance of pre-optimization done (n=295): time 1.242e-05/1.871, allocations: 0 / 0.6767 GB, free: 4.449 MB / 442.7 MB Notification: Performance of matching and sorting (n=387): time 0.5726/2.443, allocations: 44.07 MB / 0.7197 GB, free: 90.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/2.444, allocations: 247.6 kB / 0.72 GB, free: 90.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/2.455, allocations: 4.552 MB / 0.7244 GB, free: 90.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001316/2.457, allocations: 85.92 kB / 0.7245 GB, free: 90.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004556/2.461, allocations: 4.035 MB / 0.7284 GB, free: 88.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002725/2.464, allocations: 1.417 MB / 0.7298 GB, free: 87.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/2.466, allocations: 160.2 kB / 0.73 GB, free: 87.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007195/2.466, allocations: 0.6582 MB / 0.7306 GB, free: 87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01125/2.478, allocations: 4.52 MB / 0.735 GB, free: 86.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01398/2.492, allocations: 8.757 MB / 0.7436 GB, free: 80.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/2.506, allocations: 6.28 MB / 0.7497 GB, free: 78.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000178/2.506, allocations: 46.12 kB / 0.7498 GB, free: 78.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=1074) (initialization): time 0.06316/2.57, allocations: 18.69 MB / 0.768 GB, free: 70.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/2.57, allocations: 68 kB / 0.7681 GB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002232/2.57, allocations: 148 kB / 0.7682 GB, free: 70.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03354/2.604, allocations: 6.778 MB / 0.7748 GB, free: 65.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01213/2.616, allocations: 1.798 MB / 0.7766 GB, free: 64.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08266/2.698, allocations: 35.46 MB / 0.8112 GB, free: 33.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01178/2.71, allocations: 0.5906 MB / 0.8118 GB, free: 33.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002562/2.713, allocations: 0.4933 MB / 0.8123 GB, free: 32.59 MB / 442.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 (912): * Single equations (assignments): 904 * 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 {(10,63.0%) 102,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004117/2.717, allocations: 0.7111 MB / 0.813 GB, free: 31.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/2.719, allocations: 497.6 kB / 0.8134 GB, free: 31.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06231/2.781, allocations: 13.86 MB / 0.827 GB, free: 17.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.622e-05/2.782, allocations: 40 kB / 0.827 GB, free: 17.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.637e-05/2.782, allocations: 28 kB / 0.827 GB, free: 17.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.762e-05/2.782, allocations: 23.92 kB / 0.8271 GB, free: 17.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4331/3.215, allocations: 26.57 MB / 0.853 GB, free: 79.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-05/3.215, allocations: 3.031 kB / 0.853 GB, free: 79.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00503/3.22, allocations: 0.5359 MB / 0.8535 GB, free: 79.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03816/3.258, allocations: 6.399 MB / 0.8598 GB, free: 79.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001355/3.26, allocations: 76.59 kB / 0.8599 GB, free: 79.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08567/3.345, allocations: 34.33 MB / 0.8934 GB, free: 73.24 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/3.345, allocations: 6.312 kB / 0.8934 GB, free: 73.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06149/3.407, allocations: 20.31 MB / 0.9132 GB, free: 65.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005203/3.412, allocations: 1.388 MB / 0.9146 GB, free: 65.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002451/3.415, allocations: 76.48 kB / 0.9147 GB, free: 65.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007203/3.422, allocations: 346.6 kB / 0.915 GB, free: 65.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002135/3.424, allocations: 281.2 kB / 0.9153 GB, free: 65.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001069/3.425, allocations: 97.67 kB / 0.9153 GB, free: 65.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00815/3.433, allocations: 3.258 MB / 0.9185 GB, free: 63.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.92e-07/3.433, allocations: 0 / 0.9185 GB, free: 63.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01217/3.446, allocations: 1.916 MB / 0.9204 GB, free: 63.67 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: 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 (240): * Single equations (assignments): 230 * 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.06429/3.51, allocations: 22.02 MB / 0.9419 GB, free: 48.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.04171/3.552, allocations: 11.76 MB / 0.9534 GB, free: 37.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/3.552, allocations: 0 / 0.9534 GB, free: 37.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02122/3.573, allocations: 5.689 MB / 0.9589 GB, free: 32.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007568/3.581, allocations: 0.6174 MB / 0.9595 GB, free: 32.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07058/3.651, allocations: 16.66 MB / 0.9758 GB, free: 18.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01114/3.662, allocations: 4.709 MB / 0.9804 GB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01591/3.678, allocations: 2.525 MB / 0.9829 GB, free: 12.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008978/3.687, allocations: 2.803 MB / 0.9856 GB, free: 9.391 MB / 442.7 MB Notification: Performance of SimCode: time 1.853e-06/3.687, allocations: 0 / 0.9856 GB, free: 9.391 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7701/4.458, allocations: 151.1 MB / 1.133 GB, free: 21.94 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/4.458, allocations: 238.5 kB / 1.133 GB, free: 21.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/12.59, allocations: 0 / 1.133 GB, free: 21.62 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat