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.618/1.618, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.913e-05, allocations: 4 kB / 219.6 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2697, allocations: 38.77 MB / 258.3 MB, free: 12.14 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.4676, allocations: 85.9 MB / 344.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.4679, allocations: 87.94 kB / 344.3 MB, free: 7.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6209/1.089, allocations: 115 MB / 459.3 MB, free: 16.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.425e-06/1.089, allocations: 0 / 459.3 MB, free: 16.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003892/1.089, allocations: 127.9 kB / 459.4 MB, free: 16.41 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.02401/1.113, allocations: 6.078 MB / 465.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.113, allocations: 8.031 kB / 465.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02147/1.135, allocations: 2.785 MB / 468.3 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0232/1.158, allocations: 7.625 MB / 475.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/1.158, allocations: 199.9 kB / 476.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002778/1.161, allocations: 359.8 kB / 476.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02644/1.188, allocations: 9.766 MB / 486.2 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03779/1.226, allocations: 13.65 MB / 499.9 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004039/1.226, allocations: 83.25 kB / 500 MB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002169/1.228, allocations: 39.94 kB / 500 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003987/1.232, allocations: 1.474 MB / 0.4897 GB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3431/1.575, allocations: 68.03 MB / 0.5562 GB, free: 23.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.011/1.586, allocations: 6.215 MB / 0.5622 GB, free: 20.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008133/1.595, allocations: 4.741 MB / 0.5669 GB, free: 18.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001896/1.597, allocations: 1.285 MB / 0.5681 GB, free: 17.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/1.597, allocations: 59.75 kB / 0.5682 GB, free: 16.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=286): time 6.192e-06/1.597, allocations: 0 / 0.5682 GB, free: 16.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=377): time 0.1465/1.743, allocations: 37.28 MB / 0.6046 GB, free: 12.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/1.743, allocations: 170.5 kB / 0.6047 GB, free: 12.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008049/1.751, allocations: 3.792 MB / 0.6084 GB, free: 9.008 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001161/1.753, allocations: 29.7 kB / 0.6085 GB, free: 8.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003848/1.756, allocations: 3.922 MB / 0.6123 GB, free: 5.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002528/1.759, allocations: 1.324 MB / 0.6136 GB, free: 4.379 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009586/1.76, allocations: 4 kB / 0.6136 GB, free: 4.375 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006111/1.761, allocations: 0.6566 MB / 0.6142 GB, free: 3.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01087/1.771, allocations: 4.345 MB / 0.6185 GB, free: 0 / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01558/1.787, allocations: 8.642 MB / 0.6269 GB, free: 5.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01462/1.802, allocations: 6.081 MB / 0.6329 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000169/1.802, allocations: 44 kB / 0.6329 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.3162/2.118, allocations: 18.6 MB / 0.6511 GB, free: 81.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/2.118, allocations: 72.38 kB / 0.6511 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002294/2.119, allocations: 152.7 kB / 0.6513 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03778/2.156, allocations: 6.531 MB / 0.6577 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01488/2.171, allocations: 1.799 MB / 0.6594 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08589/2.257, allocations: 33.6 MB / 0.6922 GB, free: 73.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/2.268, allocations: 433 kB / 0.6926 GB, free: 73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002287/2.27, allocations: 475 kB / 0.6931 GB, free: 72.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 (923): * Single equations (assignments): 915 * 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.002799/2.273, allocations: 0.5073 MB / 0.6936 GB, free: 72.63 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04638/2.32, allocations: 13.17 MB / 0.7064 GB, free: 67.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002033/2.322, allocations: 455.8 kB / 0.7069 GB, free: 66.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05628/2.378, allocations: 13.32 MB / 0.7199 GB, free: 56.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/2.378, allocations: 40 kB / 0.7199 GB, free: 56.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.672e-05/2.378, allocations: 24 kB / 0.72 GB, free: 56.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.694e-05/2.378, allocations: 21.39 kB / 0.72 GB, free: 56.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09366/2.472, allocations: 24.87 MB / 0.7443 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.284e-05/2.472, allocations: 4 kB / 0.7443 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004894/2.477, allocations: 0.5284 MB / 0.7448 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03217/2.509, allocations: 6.236 MB / 0.7509 GB, free: 27.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001228/2.51, allocations: 15.98 kB / 0.7509 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3576/2.868, allocations: 30.63 MB / 0.7808 GB, free: 74.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/2.868, allocations: 5.969 kB / 0.7808 GB, free: 74.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0584/2.927, allocations: 19.71 MB / 0.8001 GB, free: 73.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00475/2.931, allocations: 1.271 MB / 0.8013 GB, free: 73.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002287/2.934, allocations: 7.312 kB / 0.8013 GB, free: 73.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006601/2.94, allocations: 290.1 kB / 0.8016 GB, free: 73.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002055/2.943, allocations: 270.8 kB / 0.8018 GB, free: 73.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009204/2.943, allocations: 95.89 kB / 0.8019 GB, free: 73.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00663/2.95, allocations: 2.561 MB / 0.8044 GB, free: 73.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.32e-07/2.95, allocations: 4.797 kB / 0.8044 GB, free: 73.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01184/2.962, allocations: 1.629 MB / 0.806 GB, free: 73.17 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,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05902/3.021, allocations: 21.08 MB / 0.8266 GB, free: 66.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02748/3.049, allocations: 11.36 MB / 0.8377 GB, free: 62.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/3.049, allocations: 0 / 0.8377 GB, free: 62.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01488/3.064, allocations: 5.492 MB / 0.8431 GB, free: 59.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005069/3.069, allocations: 470.3 kB / 0.8435 GB, free: 58.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06391/3.133, allocations: 16.76 MB / 0.8599 GB, free: 44.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01088/3.144, allocations: 4.692 MB / 0.8645 GB, free: 41.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007191/3.151, allocations: 2.802 MB / 0.8672 GB, free: 38.62 MB / 378.7 MB Notification: Performance of SimCode: time 1.854e-06/3.151, allocations: 3.5 kB / 0.8672 GB, free: 38.62 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.054/9.205, allocations: 253.1 MB / 1.114 GB, free: 87.1 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