Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.705/1.705, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.164e-05, allocations: 0 / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2599, allocations: 38.77 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.413, allocations: 86.55 MB / 350.4 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/0.4135, allocations: 91.92 kB / 350.5 MB, free: 3.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7085/1.122, allocations: 117.5 MB / 468 MB, free: 5.773 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/1.122, allocations: 0 / 468 MB, free: 5.773 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004203/1.122, allocations: 120 kB / 468.1 MB, free: 5.656 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: 2062 * Number of variables: 2062 Notification: Performance of Generate backend data structure: time 0.02531/1.148, allocations: 6.093 MB / 474.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/1.148, allocations: 8.031 kB / 474.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005116/1.153, allocations: 1.038 MB / 475.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02321/1.176, allocations: 2.789 MB / 478 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02727/1.204, allocations: 7.617 MB / 485.6 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00071/1.204, allocations: 456 kB / 486.1 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003634/1.208, allocations: 0.6051 MB / 486.7 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05335/1.261, allocations: 15.56 MB / 0.4905 GB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005677/1.262, allocations: 87.23 kB / 0.4905 GB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003117/1.265, allocations: 283.9 kB / 0.4908 GB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004042/1.269, allocations: 1.474 MB / 0.4923 GB, free: 224 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2903/1.56, allocations: 13.27 MB / 0.5052 GB, free: 49.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.111/1.671, allocations: 70.26 MB / 0.5738 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03102/1.702, allocations: 7.273 MB / 0.5809 GB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009119/1.711, allocations: 4.81 MB / 0.5856 GB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001919/1.713, allocations: 1.289 MB / 0.5869 GB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/1.713, allocations: 63.44 kB / 0.5869 GB, free: 3.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=286): time 6.362e-06/1.713, allocations: 0 / 0.5869 GB, free: 3.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=377): time 0.2452/1.958, allocations: 40.72 MB / 0.6267 GB, free: 5.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/1.958, allocations: 171 kB / 0.6269 GB, free: 5.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01239/1.971, allocations: 4.561 MB / 0.6313 GB, free: 1.246 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001246/1.972, allocations: 81.7 kB / 0.6314 GB, free: 1.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2608/2.233, allocations: 3.798 MB / 0.6351 GB, free: 79.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002736/2.236, allocations: 1.375 MB / 0.6365 GB, free: 79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001524/2.237, allocations: 165.4 kB / 0.6366 GB, free: 79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0008005/2.238, allocations: 0.656 MB / 0.6373 GB, free: 78.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01115/2.249, allocations: 4.434 MB / 0.6416 GB, free: 78.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01425/2.263, allocations: 8.659 MB / 0.65 GB, free: 73.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01449/2.278, allocations: 6.199 MB / 0.6561 GB, free: 73.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001886/2.278, allocations: 39.69 kB / 0.6561 GB, free: 73.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.0644/2.343, allocations: 18.68 MB / 0.6744 GB, free: 72.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/2.343, allocations: 70.62 kB / 0.6744 GB, free: 72.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002073/2.343, allocations: 147.5 kB / 0.6746 GB, free: 72.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03382/2.377, allocations: 6.637 MB / 0.6811 GB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/2.388, allocations: 1.76 MB / 0.6828 GB, free: 71.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08111/2.469, allocations: 35.67 MB / 0.7176 GB, free: 50.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/2.48, allocations: 0.5694 MB / 0.7182 GB, free: 49.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002193/2.483, allocations: 466.8 kB / 0.7186 GB, free: 49.17 MB / 378.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 (899): * Single equations (assignments): 891 * 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,73.4%) 101,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002686/2.485, allocations: 0.7083 MB / 0.7193 GB, free: 48.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/2.487, allocations: 0.4976 MB / 0.7198 GB, free: 47.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04801/2.535, allocations: 13.68 MB / 0.7332 GB, free: 37.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.952e-05/2.535, allocations: 40.98 kB / 0.7332 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.453e-05/2.535, allocations: 24 kB / 0.7332 GB, free: 37.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.567e-05/2.535, allocations: 19.33 kB / 0.7332 GB, free: 37.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0836/2.619, allocations: 26.26 MB / 0.7589 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.556e-05/2.619, allocations: 4 kB / 0.7589 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004816/2.624, allocations: 0.5265 MB / 0.7594 GB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03272/2.656, allocations: 6.319 MB / 0.7656 GB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001274/2.658, allocations: 71.98 kB / 0.7656 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3414/2.999, allocations: 32.46 MB / 0.7973 GB, free: 69.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/2.999, allocations: 14.06 kB / 0.7974 GB, free: 69.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0579/3.057, allocations: 20.16 MB / 0.817 GB, free: 63.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004936/3.062, allocations: 1.347 MB / 0.8184 GB, free: 62.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001627/3.064, allocations: 68.34 kB / 0.8184 GB, free: 62.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005956/3.07, allocations: 342.3 kB / 0.8187 GB, free: 62.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001489/3.071, allocations: 270.8 kB / 0.819 GB, free: 62.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005019/3.072, allocations: 100.3 kB / 0.8191 GB, free: 62.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007114/3.079, allocations: 3.264 MB / 0.8223 GB, free: 61.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.113e-06/3.079, allocations: 0 / 0.8223 GB, free: 61.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01039/3.089, allocations: 1.893 MB / 0.8241 GB, free: 61.25 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 222 * 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%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05802/3.147, allocations: 21.49 MB / 0.8451 GB, free: 49.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02826/3.176, allocations: 11.8 MB / 0.8566 GB, free: 38.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/3.176, allocations: 0 / 0.8566 GB, free: 38.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01476/3.191, allocations: 5.631 MB / 0.8621 GB, free: 33.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005368/3.196, allocations: 0.6198 MB / 0.8627 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05908/3.255, allocations: 17.15 MB / 0.8795 GB, free: 18.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01023/3.265, allocations: 4.698 MB / 0.8841 GB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006967/3.272, allocations: 2.814 MB / 0.8868 GB, free: 12.69 MB / 378.7 MB Notification: Performance of SimCode: time 1.203e-06/3.272, allocations: 3.375 kB / 0.8868 GB, free: 12.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.096/9.369, allocations: 257.6 MB / 1.138 GB, free: 54.86 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat