Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.933/1.933, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.304e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09273, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.5294, allocations: 84.14 MB / 384.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004197/0.5299, allocations: 88.98 kB / 384.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3542/0.8842, allocations: 61.18 MB / 445.4 MB, free: 2.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.8842, allocations: 0 / 445.4 MB, free: 2.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001538/0.8844, allocations: 55.94 kB / 445.4 MB, free: 2.129 MB / 330.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.01303/0.8974, allocations: 3.027 MB / 448.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.8975, allocations: 8.031 kB / 448.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002025/0.8995, allocations: 0.5351 MB / 449 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/0.9155, allocations: 1.995 MB / 451 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01449/0.93, allocations: 3.537 MB / 454.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006241/0.9307, allocations: 211.4 kB / 454.7 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002256/0.933, allocations: 277.2 kB / 455 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/0.9543, allocations: 7.898 MB / 462.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/0.9546, allocations: 55.55 kB / 463 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007022/0.9553, allocations: 144.4 kB / 463.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001984/0.9573, allocations: 0.7805 MB / 463.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02019/0.9775, allocations: 6.456 MB / 470.3 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06549/1.043, allocations: 41.4 MB / 0.4997 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/1.055, allocations: 2.932 MB / 0.5026 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003437/1.059, allocations: 1.395 MB / 0.504 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/1.06, allocations: 0.6351 MB / 0.5046 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.8e-05/1.06, allocations: 55.06 kB / 0.5046 GB, free: 9.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 5.38e-06/1.06, allocations: 0 / 0.5046 GB, free: 9.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=154): time 0.3873/1.447, allocations: 18.26 MB / 0.5225 GB, free: 109.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/1.447, allocations: 147.8 kB / 0.5226 GB, free: 109.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007726/1.455, allocations: 2.887 MB / 0.5254 GB, free: 108.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005446/1.456, allocations: 47.31 kB / 0.5255 GB, free: 108.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002096/1.458, allocations: 2.318 MB / 0.5277 GB, free: 107.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001121/1.459, allocations: 0.6105 MB / 0.5283 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006724/1.46, allocations: 104.4 kB / 0.5284 GB, free: 107.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003482/1.46, allocations: 0.5171 MB / 0.5289 GB, free: 107.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005832/1.466, allocations: 2.36 MB / 0.5312 GB, free: 107.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007942/1.474, allocations: 5.512 MB / 0.5366 GB, free: 103 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008007/1.482, allocations: 3.564 MB / 0.5401 GB, free: 103 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/1.482, allocations: 32 kB / 0.5401 GB, free: 103 MB / 410.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.04438/1.527, allocations: 11.37 MB / 0.5512 GB, free: 100.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.954e-05/1.527, allocations: 55.81 kB / 0.5513 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/1.527, allocations: 109.8 kB / 0.5514 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02559/1.553, allocations: 4.088 MB / 0.5554 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00694/1.56, allocations: 1.165 MB / 0.5565 GB, free: 99.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03527/1.595, allocations: 13.69 MB / 0.5699 GB, free: 94.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007085/1.602, allocations: 355.8 kB / 0.5702 GB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.603, allocations: 328.8 kB / 0.5706 GB, free: 93.92 MB / 410.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.001353/1.605, allocations: 0.4928 MB / 0.571 GB, free: 93.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.606, allocations: 271.2 kB / 0.5713 GB, free: 93.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03205/1.638, allocations: 6.912 MB / 0.578 GB, free: 90.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.328e-05/1.638, allocations: 16 kB / 0.5781 GB, free: 90.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.837e-05/1.638, allocations: 11.95 kB / 0.5781 GB, free: 90.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.539e-05/1.638, allocations: 7.312 kB / 0.5781 GB, free: 90.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05431/1.692, allocations: 14.57 MB / 0.5923 GB, free: 79.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.169e-05/1.692, allocations: 4 kB / 0.5923 GB, free: 79.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/1.695, allocations: 228.5 kB / 0.5925 GB, free: 79.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02692/1.721, allocations: 4.655 MB / 0.5971 GB, free: 75.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000528/1.722, allocations: 47.95 kB / 0.5971 GB, free: 75.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03417/1.756, allocations: 13.76 MB / 0.6106 GB, free: 61.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/1.756, allocations: 0 / 0.6106 GB, free: 61.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04045/1.797, allocations: 11.04 MB / 0.6213 GB, free: 50.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/1.798, allocations: 345.2 kB / 0.6217 GB, free: 50 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007432/1.799, allocations: 37.23 kB / 0.6217 GB, free: 49.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00321/1.802, allocations: 206.1 kB / 0.6219 GB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005946/1.802, allocations: 108.8 kB / 0.622 GB, free: 49.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/1.803, allocations: 50 kB / 0.6221 GB, free: 49.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004012/1.807, allocations: 2.006 MB / 0.624 GB, free: 47.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.807, allocations: 0 / 0.624 GB, free: 47.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00593/1.813, allocations: 0.9033 MB / 0.6249 GB, free: 46.71 MB / 410.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.03987/1.853, allocations: 11.86 MB / 0.6365 GB, free: 34.79 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2651:5-2655: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.2/Mechanics/MultiBody/Parts.mo:2651:5-2655: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.01822/1.871, allocations: 6.79 MB / 0.6431 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/1.871, allocations: 4 kB / 0.6431 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01004/1.881, allocations: 3.199 MB / 0.6462 GB, free: 24.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/1.884, allocations: 312.5 kB / 0.6465 GB, free: 24.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/1.906, allocations: 7.747 MB / 0.6541 GB, free: 16.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003366/1.909, allocations: 2.551 MB / 0.6566 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.2802/2.19, allocations: 1.608 MB / 0.6582 GB, free: 101 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003168/2.193, allocations: 1.268 MB / 0.6594 GB, free: 101 MB / 410.7 MB Notification: Performance of SimCode: time 1.492e-06/2.193, allocations: 0.5 kB / 0.6594 GB, free: 101 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1733/2.366, allocations: 75.39 MB / 0.733 GB, free: 69.9 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/2.366, allocations: 185.9 kB / 0.7332 GB, free: 69.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.86/7.226, allocations: 0 / 0.7332 GB, free: 69.68 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat