Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.669/1.669, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.922e-05, allocations: 4 kB / 219.6 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2495, allocations: 38.77 MB / 258.3 MB, free: 12.09 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.3823, allocations: 77.84 MB / 336.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.3826, allocations: 83.95 kB / 336.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4526/0.8352, allocations: 60.2 MB / 396.5 MB, free: 77.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.8352, allocations: 4 kB / 396.5 MB, free: 77.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001155/0.8354, allocations: 48 kB / 396.5 MB, free: 77.59 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01146/0.8468, allocations: 3.03 MB / 399.5 MB, free: 74.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.8469, allocations: 12.03 kB / 399.5 MB, free: 74.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.8617, allocations: 1.993 MB / 401.5 MB, free: 72.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.8738, allocations: 3.543 MB / 405.1 MB, free: 68.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.8739, allocations: 88 kB / 405.2 MB, free: 68.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009775/0.8749, allocations: 164 kB / 405.3 MB, free: 68.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009914/0.8848, allocations: 4.535 MB / 409.9 MB, free: 64.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/0.8984, allocations: 7.163 MB / 417 MB, free: 55.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/0.8986, allocations: 59.47 kB / 417.1 MB, free: 55.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005841/0.8992, allocations: 35.94 kB / 417.1 MB, free: 55.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001571/0.9007, allocations: 0.7764 MB / 417.9 MB, free: 55.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04737/0.9481, allocations: 39.97 MB / 457.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/0.952, allocations: 2.326 MB / 460.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002369/0.9544, allocations: 1.356 MB / 461.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009045/0.9553, allocations: 0.6429 MB / 462.2 MB, free: 9.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.9554, allocations: 47.05 kB / 462.2 MB, free: 9.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=120): time 4.378e-06/0.9554, allocations: 0 / 462.2 MB, free: 9.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=152): time 0.06899/1.024, allocations: 16 MB / 478.2 MB, free: 9.383 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/1.025, allocations: 149.3 kB / 478.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005328/1.03, allocations: 2.449 MB / 480.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004881/1.03, allocations: 29.7 kB / 480.9 MB, free: 6.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002593/1.033, allocations: 2.386 MB / 483.3 MB, free: 4.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/1.034, allocations: 0.5824 MB / 483.8 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007173/1.035, allocations: 0 / 483.8 MB, free: 3.699 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005266/1.036, allocations: 0.5456 MB / 484.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005855/1.041, allocations: 2.279 MB / 486.7 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009007/1.05, allocations: 5.548 MB / 492.2 MB, free: 9.648 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008637/1.059, allocations: 3.503 MB / 495.7 MB, free: 6.141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001234/1.059, allocations: 36 kB / 495.7 MB, free: 6.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=698) (initialization): time 0.2724/1.332, allocations: 10.74 MB / 0.4946 GB, free: 91.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/1.332, allocations: 59.11 kB / 0.4947 GB, free: 91.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/1.332, allocations: 118.3 kB / 0.4948 GB, free: 91.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02466/1.357, allocations: 4.117 MB / 0.4988 GB, free: 91.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007167/1.364, allocations: 1.202 MB / 0.5 GB, free: 91.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03257/1.397, allocations: 12.7 MB / 0.5124 GB, free: 88.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00641/1.403, allocations: 268 kB / 0.5126 GB, free: 88.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/1.404, allocations: 339.9 kB / 0.513 GB, free: 88.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[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],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (638): * Single equations (assignments): 628 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001735/1.406, allocations: 390.2 kB / 0.5133 GB, free: 88.64 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03185/1.438, allocations: 7.019 MB / 0.5202 GB, free: 86.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000954/1.439, allocations: 248.9 kB / 0.5204 GB, free: 86.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03108/1.47, allocations: 6.74 MB / 0.527 GB, free: 85.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.758e-05/1.47, allocations: 17.19 kB / 0.527 GB, free: 85.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.794e-05/1.47, allocations: 13.86 kB / 0.527 GB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.591e-05/1.47, allocations: 8.109 kB / 0.527 GB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05174/1.522, allocations: 13.92 MB / 0.5406 GB, free: 73.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.36e-05/1.522, allocations: 4 kB / 0.5406 GB, free: 73.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/1.524, allocations: 226.7 kB / 0.5409 GB, free: 73.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02656/1.551, allocations: 4.667 MB / 0.5454 GB, free: 68.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005183/1.551, allocations: 27.95 kB / 0.5454 GB, free: 68.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03202/1.583, allocations: 12.69 MB / 0.5578 GB, free: 55.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/1.583, allocations: 3.375 kB / 0.5578 GB, free: 55.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03815/1.621, allocations: 10.84 MB / 0.5684 GB, free: 44.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008348/1.622, allocations: 306.5 kB / 0.5687 GB, free: 44.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001279/1.624, allocations: 15.98 kB / 0.5687 GB, free: 44.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003766/1.627, allocations: 175.6 kB / 0.5689 GB, free: 44.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009173/1.628, allocations: 112.6 kB / 0.569 GB, free: 44.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003444/1.629, allocations: 47.97 kB / 0.569 GB, free: 44.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003959/1.633, allocations: 1.618 MB / 0.5706 GB, free: 42.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.545e-06/1.633, allocations: 0 / 0.5706 GB, free: 42.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006652/1.64, allocations: 0.7815 MB / 0.5714 GB, free: 41.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03895/1.678, allocations: 11.65 MB / 0.5828 GB, free: 30.09 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678:74:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678:74:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01757/1.696, allocations: 6.587 MB / 0.5892 GB, free: 23.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.696, allocations: 0 / 0.5892 GB, free: 23.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009943/1.706, allocations: 3.159 MB / 0.5923 GB, free: 20.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/1.709, allocations: 224.5 kB / 0.5925 GB, free: 19.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/1.731, allocations: 7.858 MB / 0.6002 GB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003544/1.735, allocations: 2.553 MB / 0.6027 GB, free: 9.453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002655/1.738, allocations: 1.292 MB / 0.6039 GB, free: 8.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/1.738, allocations: 0 / 0.6039 GB, free: 8.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.904/6.642, allocations: 150.1 MB / 0.7505 GB, free: 110.8 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat