Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.658/1.658, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.356e-05/2.357e-05, allocations: 4 kB / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2719, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.4262, allocations: 91.01 MB / 349.3 MB, free: 2.77 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.4266, allocations: 83.89 kB / 349.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6517/1.078, allocations: 120.3 MB / 469.7 MB, free: 6.219 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.078, allocations: 3.938 kB / 469.7 MB, free: 6.215 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003768/1.079, allocations: 128 kB / 469.9 MB, free: 6.09 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2152 * Number of variables: 2152 Notification: Performance of Generate backend data structure: time 0.02403/1.103, allocations: 6.377 MB / 476.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/1.103, allocations: 12.02 kB / 476.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02271/1.126, allocations: 2.816 MB / 479.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02607/1.152, allocations: 7.767 MB / 486.8 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003744/1.152, allocations: 204 kB / 487 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002873/1.155, allocations: 383.9 kB / 487.4 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2633/1.418, allocations: 10.08 MB / 497.5 MB, free: 36.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/1.45, allocations: 14.2 MB / 0.4997 GB, free: 33.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003525/1.451, allocations: 92.77 kB / 0.4998 GB, free: 33.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/1.452, allocations: 37.25 kB / 0.4998 GB, free: 33.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003217/1.455, allocations: 1.511 MB / 0.5013 GB, free: 33.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1069/1.562, allocations: 71.17 MB / 0.5708 GB, free: 6.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/1.575, allocations: 6.445 MB / 0.5771 GB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008956/1.584, allocations: 4.881 MB / 0.5819 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002206/1.586, allocations: 1.282 MB / 0.5831 GB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01001/1.596, allocations: 4.834 MB / 0.5878 GB, free: 12.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=297): time 6.632e-06/1.596, allocations: 0 / 0.5878 GB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=388): time 0.4539/2.05, allocations: 39.73 MB / 0.6266 GB, free: 78.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/2.05, allocations: 165.4 kB / 0.6268 GB, free: 78.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009596/2.06, allocations: 4.074 MB / 0.6308 GB, free: 78.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001218/2.061, allocations: 25.7 kB / 0.6308 GB, free: 78.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004443/2.065, allocations: 4.201 MB / 0.6349 GB, free: 76.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002603/2.068, allocations: 1.371 MB / 0.6362 GB, free: 75.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001756/2.07, allocations: 2.5 kB / 0.6362 GB, free: 75.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0008657/2.071, allocations: 0.6803 MB / 0.6369 GB, free: 75.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01014/2.081, allocations: 4.442 MB / 0.6412 GB, free: 75.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01258/2.094, allocations: 9.012 MB / 0.65 GB, free: 69.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01332/2.107, allocations: 6.286 MB / 0.6562 GB, free: 69.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001736/2.107, allocations: 48.09 kB / 0.6562 GB, free: 69.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=1136) (initialization): time 0.06363/2.171, allocations: 18.25 MB / 0.674 GB, free: 68.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002232/2.171, allocations: 104.2 kB / 0.6741 GB, free: 68.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003098/2.171, allocations: 163.6 kB / 0.6743 GB, free: 68.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04487/2.216, allocations: 6.508 MB / 0.6807 GB, free: 66.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01251/2.229, allocations: 1.877 MB / 0.6825 GB, free: 66.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07363/2.303, allocations: 33.86 MB / 0.7156 GB, free: 45.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01613/2.319, allocations: 440.7 kB / 0.716 GB, free: 44.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002777/2.322, allocations: 0.4932 MB / 0.7165 GB, free: 44.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 735 * Number of states: 0 () * Number of discrete variables: 57 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,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.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],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[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 (972): * Single equations (assignments): 963 * Array equations: 3 * Algorithm blocks: 1 * 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 {(6,80.6%) 106,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00275/2.324, allocations: 0.5261 MB / 0.717 GB, free: 43.86 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06449/2.389, allocations: 13.36 MB / 0.73 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002898/2.392, allocations: 477.8 kB / 0.7305 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05066/2.443, allocations: 13.54 MB / 0.7437 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.302e-05/2.443, allocations: 40 kB / 0.7437 GB, free: 21.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.097e-05/2.443, allocations: 24 kB / 0.7438 GB, free: 21.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.282e-05/2.443, allocations: 19.92 kB / 0.7438 GB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3713/2.814, allocations: 25.36 MB / 0.7685 GB, free: 69.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-05/2.814, allocations: 3.906 kB / 0.7685 GB, free: 69.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004954/2.819, allocations: 0.5341 MB / 0.7691 GB, free: 69.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03157/2.851, allocations: 6.306 MB / 0.7752 GB, free: 69.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001056/2.852, allocations: 21.25 kB / 0.7752 GB, free: 69.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06856/2.92, allocations: 32.28 MB / 0.8068 GB, free: 63.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/2.92, allocations: 14.3 kB / 0.8068 GB, free: 63.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05476/2.975, allocations: 19.87 MB / 0.8262 GB, free: 56.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00475/2.98, allocations: 1.307 MB / 0.8275 GB, free: 55.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001906/2.982, allocations: 15.16 kB / 0.8275 GB, free: 55.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006206/2.988, allocations: 286.8 kB / 0.8278 GB, free: 55.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002067/2.99, allocations: 272 kB / 0.828 GB, free: 55.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005802/2.991, allocations: 108 kB / 0.8281 GB, free: 55.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006167/2.997, allocations: 2.737 MB / 0.8308 GB, free: 53.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.41e-07/2.997, allocations: 1.531 kB / 0.8308 GB, free: 53.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01194/3.009, allocations: 1.716 MB / 0.8325 GB, free: 52.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 232 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.05899/3.068, allocations: 21.4 MB / 0.8534 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02715/3.095, allocations: 11.68 MB / 0.8648 GB, free: 24.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/3.095, allocations: 0 / 0.8648 GB, free: 24.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01467/3.11, allocations: 5.603 MB / 0.8702 GB, free: 19.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005257/3.115, allocations: 499.5 kB / 0.8707 GB, free: 18.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06438/3.18, allocations: 17.36 MB / 0.8877 GB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2813/3.461, allocations: 4.883 MB / 0.8924 GB, free: 82.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0142/3.475, allocations: 2.932 MB / 0.8953 GB, free: 82.36 MB / 394.7 MB Notification: Performance of SimCode: time 1.944e-06/3.475, allocations: 0 / 0.8953 GB, free: 82.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.068/9.543, allocations: 263.5 MB / 1.153 GB, free: 9.984 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat