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.727/1.727, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.314e-05, allocations: 7.984 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.253, allocations: 38.77 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.4071, allocations: 78.52 MB / 342.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003875/0.4076, allocations: 75.95 kB / 342.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4951/0.9028, allocations: 61.18 MB / 403.6 MB, free: 69.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.9028, allocations: 3.938 kB / 403.6 MB, free: 69.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001355/0.903, allocations: 48 kB / 403.7 MB, free: 69.76 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.01202/0.915, allocations: 3.027 MB / 406.7 MB, free: 66.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.9151, allocations: 8.031 kB / 406.7 MB, free: 66.67 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001827/0.9169, allocations: 0.5321 MB / 407.2 MB, free: 66.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01503/0.932, allocations: 1.997 MB / 409.2 MB, free: 64.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/0.9447, allocations: 3.531 MB / 412.8 MB, free: 60.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.9449, allocations: 213.4 kB / 413 MB, free: 60.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/0.9464, allocations: 279.9 kB / 413.2 MB, free: 60.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01859/0.965, allocations: 7.895 MB / 421.1 MB, free: 51.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001871/0.9653, allocations: 59.41 kB / 421.2 MB, free: 51.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000942/0.9662, allocations: 151.9 kB / 421.3 MB, free: 50.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001569/0.9678, allocations: 0.7768 MB / 422.1 MB, free: 50.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/0.9847, allocations: 6.456 MB / 428.6 MB, free: 43.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05066/1.035, allocations: 41.39 MB / 470 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/1.047, allocations: 2.936 MB / 472.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/1.05, allocations: 1.383 MB / 474.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/1.051, allocations: 0.6395 MB / 474.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/1.051, allocations: 51.05 kB / 475 MB, free: 11.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 4.689e-06/1.051, allocations: 0 / 475 MB, free: 11.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.1107/1.162, allocations: 18.27 MB / 493.2 MB, free: 9.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.162, allocations: 145.2 kB / 493.4 MB, free: 9.129 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007475/1.17, allocations: 2.882 MB / 496.3 MB, free: 6.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005483/1.17, allocations: 49.7 kB / 496.3 MB, free: 6.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002655/1.173, allocations: 2.29 MB / 498.6 MB, free: 3.855 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001332/1.174, allocations: 0.6056 MB / 499.2 MB, free: 3.242 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007782/1.175, allocations: 100 kB / 499.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004897/1.176, allocations: 0.5336 MB / 499.8 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006468/1.182, allocations: 2.353 MB / 0.4904 GB, free: 248 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2445/1.427, allocations: 5.512 MB / 0.4958 GB, free: 91.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007799/1.435, allocations: 3.554 MB / 0.4993 GB, free: 91.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.435, allocations: 34.12 kB / 0.4993 GB, free: 91.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.04302/1.478, allocations: 11.3 MB / 0.5103 GB, free: 89.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/1.478, allocations: 52.72 kB / 0.5104 GB, free: 89.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000185/1.478, allocations: 114.7 kB / 0.5105 GB, free: 89.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03029/1.508, allocations: 4.085 MB / 0.5145 GB, free: 88.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009443/1.518, allocations: 1.166 MB / 0.5156 GB, free: 88.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04787/1.566, allocations: 13.69 MB / 0.529 GB, free: 81.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008915/1.575, allocations: 371.3 kB / 0.5294 GB, free: 81.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/1.576, allocations: 322.8 kB / 0.5297 GB, free: 81.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (616): * Single equations (assignments): 606 * 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.001374/1.577, allocations: 495.4 kB / 0.5301 GB, free: 80.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008072/1.578, allocations: 282.3 kB / 0.5304 GB, free: 80.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03178/1.61, allocations: 6.905 MB / 0.5372 GB, free: 75.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-05/1.61, allocations: 16 kB / 0.5372 GB, free: 75.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.22e-05/1.61, allocations: 8 kB / 0.5372 GB, free: 75.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.394e-05/1.61, allocations: 13.98 kB / 0.5372 GB, free: 75.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05238/1.663, allocations: 14.57 MB / 0.5514 GB, free: 62.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/1.663, allocations: 0 / 0.5514 GB, free: 62.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/1.665, allocations: 231.7 kB / 0.5516 GB, free: 62.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02639/1.691, allocations: 4.647 MB / 0.5562 GB, free: 57.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000505/1.692, allocations: 51.39 kB / 0.5562 GB, free: 57.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03356/1.725, allocations: 13.76 MB / 0.5697 GB, free: 43.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.725, allocations: 0 / 0.5697 GB, free: 43.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03909/1.764, allocations: 11.05 MB / 0.5805 GB, free: 32.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009158/1.765, allocations: 345.7 kB / 0.5808 GB, free: 32.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006212/1.766, allocations: 35.98 kB / 0.5808 GB, free: 32.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/1.769, allocations: 191.7 kB / 0.581 GB, free: 32.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005537/1.77, allocations: 108.8 kB / 0.5811 GB, free: 32.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/1.77, allocations: 55.72 kB / 0.5812 GB, free: 32.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003828/1.774, allocations: 2.002 MB / 0.5831 GB, free: 30.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.382e-06/1.774, allocations: 4 kB / 0.5831 GB, free: 30 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005388/1.779, allocations: 0.9108 MB / 0.584 GB, free: 29.11 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 (104): * Single equations (assignments): 94 * 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.0391/1.818, allocations: 11.86 MB / 0.5956 GB, free: 17.19 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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.01773/1.836, allocations: 6.79 MB / 0.6022 GB, free: 10.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.836, allocations: 0 / 0.6022 GB, free: 10.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009847/1.846, allocations: 3.203 MB / 0.6053 GB, free: 6.945 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/1.849, allocations: 320.5 kB / 0.6057 GB, free: 6.641 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/1.872, allocations: 8.104 MB / 0.6136 GB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005327/1.878, allocations: 2.556 MB / 0.6161 GB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003425/1.881, allocations: 1.312 MB / 0.6173 GB, free: 10.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/1.881, allocations: 0 / 0.6173 GB, free: 10.66 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.078/6.959, allocations: 152.8 MB / 0.7666 GB, free: 113.4 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