Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.102/2.102, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.437e-05/3.452e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09721/0.09728, allocations: 44.51 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4505/0.5478, allocations: 92.3 MB / 392.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/0.5482, allocations: 83.98 kB / 392.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5856/1.134, allocations: 117.5 MB / 0.4979 GB, free: 6.785 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.525e-06/1.134, allocations: 0 / 0.4979 GB, free: 6.785 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004886/1.134, allocations: 124 kB / 0.498 GB, free: 6.664 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2063 * Number of variables: 2063 Notification: Performance of Generate backend data structure: time 0.02913/1.164, allocations: 6.085 MB / 0.5039 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/1.164, allocations: 12.02 kB / 0.504 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005571/1.169, allocations: 1.038 MB / 0.505 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02394/1.193, allocations: 2.781 MB / 0.5077 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0298/1.223, allocations: 7.641 MB / 0.5151 GB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007605/1.224, allocations: 460 kB / 0.5156 GB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003955/1.228, allocations: 0.5974 MB / 0.5162 GB, free: 3.898 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3639/1.592, allocations: 15.57 MB / 0.5314 GB, free: 62.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007036/1.593, allocations: 79.08 kB / 0.5314 GB, free: 62.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003543/1.596, allocations: 291.1 kB / 0.5317 GB, free: 62.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004276/1.6, allocations: 1.48 MB / 0.5332 GB, free: 62.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04462/1.645, allocations: 13.27 MB / 0.5461 GB, free: 62.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1755/1.821, allocations: 70.27 MB / 0.6148 GB, free: 36.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03202/1.853, allocations: 7.271 MB / 0.6219 GB, free: 34.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01264/1.865, allocations: 4.826 MB / 0.6266 GB, free: 32.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002827/1.868, allocations: 1.285 MB / 0.6278 GB, free: 30.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/1.869, allocations: 65.69 kB / 0.6279 GB, free: 30.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 1.07e-05/1.869, allocations: 0 / 0.6279 GB, free: 30.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=378): time 0.3532/2.222, allocations: 40.62 MB / 0.6676 GB, free: 7.082 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/2.222, allocations: 166.6 kB / 0.6677 GB, free: 6.891 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01834/2.24, allocations: 4.559 MB / 0.6722 GB, free: 2.922 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001711/2.242, allocations: 85.64 kB / 0.6722 GB, free: 2.832 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3097/2.552, allocations: 3.804 MB / 0.676 GB, free: 78.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002847/2.555, allocations: 1.376 MB / 0.6773 GB, free: 78.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/2.556, allocations: 165.7 kB / 0.6775 GB, free: 78.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007926/2.557, allocations: 0.6475 MB / 0.6781 GB, free: 78.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01297/2.57, allocations: 4.438 MB / 0.6824 GB, free: 78.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01637/2.587, allocations: 8.664 MB / 0.6909 GB, free: 72.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01502/2.602, allocations: 6.198 MB / 0.6969 GB, free: 72.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002283/2.602, allocations: 41.92 kB / 0.697 GB, free: 72.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.06603/2.668, allocations: 18.69 MB / 0.7152 GB, free: 71.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/2.668, allocations: 69.88 kB / 0.7153 GB, free: 71.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002442/2.669, allocations: 148.3 kB / 0.7154 GB, free: 71.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03375/2.702, allocations: 6.577 MB / 0.7219 GB, free: 71.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01181/2.714, allocations: 1.763 MB / 0.7236 GB, free: 71.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08971/2.804, allocations: 35.82 MB / 0.7586 GB, free: 57.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/2.816, allocations: 0.5701 MB / 0.7591 GB, free: 57.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002612/2.818, allocations: 463.6 kB / 0.7596 GB, free: 57.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * 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.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (900): * Single equations (assignments): 892 * 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 {(6,80.6%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004347/2.823, allocations: 0.7093 MB / 0.7603 GB, free: 57.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/2.824, allocations: 499.9 kB / 0.7607 GB, free: 57.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05119/2.876, allocations: 13.68 MB / 0.7741 GB, free: 50.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.538e-05/2.876, allocations: 43.2 kB / 0.7741 GB, free: 50.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.168e-05/2.876, allocations: 28 kB / 0.7742 GB, free: 50.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.051e-05/2.876, allocations: 18.17 kB / 0.7742 GB, free: 50.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08709/2.963, allocations: 26.27 MB / 0.7998 GB, free: 29.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.839e-05/2.963, allocations: 4 kB / 0.7998 GB, free: 29.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004948/2.968, allocations: 0.521 MB / 0.8004 GB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03281/3.001, allocations: 6.321 MB / 0.8065 GB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001325/3.002, allocations: 72.17 kB / 0.8066 GB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3932/3.396, allocations: 32.46 MB / 0.8383 GB, free: 64.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/3.396, allocations: 7.062 kB / 0.8383 GB, free: 64.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06286/3.459, allocations: 20.16 MB / 0.858 GB, free: 62.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005328/3.464, allocations: 1.342 MB / 0.8593 GB, free: 62.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002227/3.466, allocations: 63.66 kB / 0.8594 GB, free: 62.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007058/3.473, allocations: 349.8 kB / 0.8597 GB, free: 62.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002272/3.476, allocations: 264.9 kB / 0.8599 GB, free: 62.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009909/3.477, allocations: 103.8 kB / 0.86 GB, free: 62.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008735/3.485, allocations: 3.264 MB / 0.8632 GB, free: 62.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.052e-06/3.485, allocations: 0 / 0.8632 GB, free: 62.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01316/3.499, allocations: 1.888 MB / 0.8651 GB, free: 62.46 MB / 426.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 223 * 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,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06367/3.562, allocations: 21.5 MB / 0.8861 GB, free: 58.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02957/3.592, allocations: 11.73 MB / 0.8975 GB, free: 54.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/3.592, allocations: 0 / 0.8975 GB, free: 54.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01605/3.608, allocations: 5.619 MB / 0.903 GB, free: 51.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006401/3.615, allocations: 0.6207 MB / 0.9036 GB, free: 51.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06853/3.683, allocations: 17.26 MB / 0.9205 GB, free: 44.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01133/3.695, allocations: 4.696 MB / 0.9251 GB, free: 42.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007225/3.702, allocations: 2.817 MB / 0.9278 GB, free: 39.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.552e-06/3.702, allocations: 0 / 0.9278 GB, free: 39.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.405/10.11, allocations: 257.7 MB / 1.179 GB, free: 104.6 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat