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 2.055/2.055, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.771e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3145, allocations: 44.49 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.4713, allocations: 83.49 MB / 377.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/0.4717, allocations: 79.95 kB / 377.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5385/1.01, allocations: 60.22 MB / 438 MB, free: 90.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/1.01, allocations: 0 / 438 MB, free: 90.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.00015/1.01, allocations: 54.72 kB / 438.1 MB, free: 90.27 MB / 362.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.01307/1.024, allocations: 3.026 MB / 441.1 MB, free: 88.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.024, allocations: 17.41 kB / 441.1 MB, free: 88.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/1.039, allocations: 1.986 MB / 443.1 MB, free: 88.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01689/1.056, allocations: 3.544 MB / 446.6 MB, free: 88.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003603/1.056, allocations: 89.34 kB / 446.7 MB, free: 88.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002264/1.059, allocations: 158.8 kB / 446.9 MB, free: 88.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01184/1.071, allocations: 4.535 MB / 451.4 MB, free: 87.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01737/1.088, allocations: 7.169 MB / 458.6 MB, free: 83.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002144/1.088, allocations: 56.06 kB / 458.6 MB, free: 83.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001489/1.09, allocations: 30.19 kB / 458.7 MB, free: 83.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001865/1.092, allocations: 0.7788 MB / 459.4 MB, free: 83.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05237/1.144, allocations: 39.97 MB / 499.4 MB, free: 46.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/1.148, allocations: 2.338 MB / 0.49 GB, free: 43.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002508/1.151, allocations: 1.36 MB / 0.4913 GB, free: 42.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/1.152, allocations: 0.6278 MB / 0.4919 GB, free: 41.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/1.152, allocations: 43.12 kB / 0.492 GB, free: 41.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 5.551e-06/1.152, allocations: 0 / 0.492 GB, free: 41.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=152): time 0.07369/1.226, allocations: 16.01 MB / 0.5076 GB, free: 25.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/1.226, allocations: 145.2 kB / 0.5078 GB, free: 25.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008744/1.234, allocations: 2.453 MB / 0.5101 GB, free: 22.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006166/1.235, allocations: 29.64 kB / 0.5102 GB, free: 22.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.009627/1.245, allocations: 2.372 MB / 0.5125 GB, free: 20.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.246, allocations: 0.5822 MB / 0.5131 GB, free: 19.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008512/1.247, allocations: 0 / 0.5131 GB, free: 19.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.006111/1.253, allocations: 0.5965 MB / 0.5136 GB, free: 19.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009971/1.263, allocations: 2.271 MB / 0.5159 GB, free: 16.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02175/1.285, allocations: 5.547 MB / 0.5213 GB, free: 9.699 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/1.298, allocations: 3.506 MB / 0.5247 GB, free: 6.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00015/1.298, allocations: 32 kB / 0.5247 GB, free: 6.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=698) (initialization): time 0.05837/1.357, allocations: 10.79 MB / 0.5353 GB, free: 11.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/1.357, allocations: 56 kB / 0.5353 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002388/1.357, allocations: 116 kB / 0.5354 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0343/1.392, allocations: 4.125 MB / 0.5395 GB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009237/1.401, allocations: 1.205 MB / 0.5406 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0496/1.45, allocations: 12.7 MB / 0.553 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006407/1.457, allocations: 263.3 kB / 0.5533 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/1.458, allocations: 336 kB / 0.5536 GB, free: 8.414 MB / 394.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.001138/1.459, allocations: 399.6 kB / 0.554 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03435/1.494, allocations: 7.021 MB / 0.5608 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.495, allocations: 253.4 kB / 0.5611 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.297/1.792, allocations: 6.728 MB / 0.5677 GB, free: 106.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-05/1.792, allocations: 18.59 kB / 0.5677 GB, free: 106.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.064e-05/1.792, allocations: 8.156 kB / 0.5677 GB, free: 106.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/1.792, allocations: 9.672 kB / 0.5677 GB, free: 106.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05326/1.845, allocations: 13.91 MB / 0.5813 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/1.845, allocations: 1.625 kB / 0.5813 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/1.847, allocations: 235 kB / 0.5815 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02696/1.874, allocations: 4.66 MB / 0.5861 GB, free: 104.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005175/1.875, allocations: 27.77 kB / 0.5861 GB, free: 104.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03261/1.907, allocations: 12.69 MB / 0.5985 GB, free: 99.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.907, allocations: 0 / 0.5985 GB, free: 99.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03871/1.946, allocations: 10.86 MB / 0.6091 GB, free: 95.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000869/1.947, allocations: 304.7 kB / 0.6094 GB, free: 95.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/1.948, allocations: 15.73 kB / 0.6094 GB, free: 95.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003426/1.952, allocations: 173.9 kB / 0.6096 GB, free: 95.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007801/1.952, allocations: 104 kB / 0.6097 GB, free: 95.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/1.953, allocations: 58.48 kB / 0.6097 GB, free: 95.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003138/1.956, allocations: 1.614 MB / 0.6113 GB, free: 93.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.956, allocations: 0 / 0.6113 GB, free: 93.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006537/1.962, allocations: 0.7802 MB / 0.612 GB, free: 92.91 MB / 394.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.03881/2.001, allocations: 11.65 MB / 0.6234 GB, free: 81.32 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.01752/2.019, allocations: 6.583 MB / 0.6299 GB, free: 74.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/2.019, allocations: 0 / 0.6299 GB, free: 74.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01018/2.029, allocations: 3.149 MB / 0.6329 GB, free: 71.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/2.031, allocations: 238.3 kB / 0.6332 GB, free: 71.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02746/2.059, allocations: 7.506 MB / 0.6405 GB, free: 63.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003761/2.063, allocations: 2.548 MB / 0.643 GB, free: 61.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.006905/2.07, allocations: 1.632 MB / 0.6446 GB, free: 59.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002881/2.073, allocations: 1.253 MB / 0.6458 GB, free: 58.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/2.073, allocations: 0 / 0.6458 GB, free: 58.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4541/2.527, allocations: 69.77 MB / 0.7139 GB, free: 108.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/2.527, allocations: 154.2 kB / 0.7141 GB, free: 108 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.551/7.078, allocations: 0 / 0.7141 GB, free: 108 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