Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.708e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3252, allocations: 44.49 MB / 294.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.4779, allocations: 83.5 MB / 377.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.4783, allocations: 79.95 kB / 377.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5112/0.9896, allocations: 60.2 MB / 438 MB, free: 90.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.9896, allocations: 3.281 kB / 438 MB, free: 90.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001404/0.9898, allocations: 46.94 kB / 438 MB, free: 90.11 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.01262/1.002, allocations: 3.037 MB / 441.1 MB, free: 88.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.002, allocations: 14.59 kB / 441.1 MB, free: 88.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01518/1.018, allocations: 1.994 MB / 443.1 MB, free: 88.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/1.03, allocations: 3.534 MB / 446.6 MB, free: 88.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/1.031, allocations: 88.44 kB / 446.7 MB, free: 88.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001593/1.032, allocations: 159.9 kB / 446.8 MB, free: 88.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0111/1.043, allocations: 4.537 MB / 451.4 MB, free: 87.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/1.061, allocations: 7.172 MB / 458.6 MB, free: 83.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002066/1.061, allocations: 53.75 kB / 458.6 MB, free: 83.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001367/1.062, allocations: 29.75 kB / 458.6 MB, free: 83.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001783/1.064, allocations: 0.7839 MB / 459.4 MB, free: 83.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05197/1.116, allocations: 39.97 MB / 499.4 MB, free: 46.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/1.12, allocations: 2.33 MB / 0.49 GB, free: 43.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/1.123, allocations: 1.36 MB / 0.4913 GB, free: 42.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009403/1.124, allocations: 0.6352 MB / 0.4919 GB, free: 41.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/1.124, allocations: 51.06 kB / 0.492 GB, free: 41.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 5.009e-06/1.124, allocations: 0 / 0.492 GB, free: 41.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=152): time 0.06986/1.194, allocations: 16 MB / 0.5076 GB, free: 25.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/1.194, allocations: 141.3 kB / 0.5077 GB, free: 25.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005159/1.199, allocations: 2.457 MB / 0.5101 GB, free: 22.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005142/1.2, allocations: 25.7 kB / 0.5101 GB, free: 22.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001975/1.201, allocations: 2.375 MB / 0.5125 GB, free: 20.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001035/1.203, allocations: 0.5939 MB / 0.513 GB, free: 19.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007691/1.203, allocations: 4 kB / 0.5131 GB, free: 19.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003785/1.204, allocations: 0.534 MB / 0.5136 GB, free: 19.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0051/1.209, allocations: 2.275 MB / 0.5158 GB, free: 16.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007303/1.216, allocations: 5.555 MB / 0.5212 GB, free: 9.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007358/1.224, allocations: 3.506 MB / 0.5246 GB, free: 6.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/1.224, allocations: 35.98 kB / 0.5247 GB, free: 6.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=698) (initialization): time 0.04436/1.268, allocations: 10.74 MB / 0.5352 GB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/1.268, allocations: 56 kB / 0.5352 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001964/1.269, allocations: 116 kB / 0.5353 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02667/1.295, allocations: 4.118 MB / 0.5393 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007698/1.303, allocations: 1.205 MB / 0.5405 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03726/1.34, allocations: 12.7 MB / 0.5529 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006599/1.347, allocations: 263.3 kB / 0.5532 GB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001435/1.348, allocations: 340 kB / 0.5535 GB, free: 8.531 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.001498/1.35, allocations: 391.7 kB / 0.5539 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03485/1.385, allocations: 7.018 MB / 0.5607 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/1.386, allocations: 249.4 kB / 0.561 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3197/1.706, allocations: 6.742 MB / 0.5676 GB, free: 106.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.335e-05/1.706, allocations: 18.03 kB / 0.5676 GB, free: 106.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.859e-05/1.706, allocations: 7.969 kB / 0.5676 GB, free: 106.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.524e-05/1.706, allocations: 8.219 kB / 0.5676 GB, free: 106.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0537/1.76, allocations: 13.91 MB / 0.5812 GB, free: 105.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/1.76, allocations: 3.969 kB / 0.5812 GB, free: 105.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002088/1.762, allocations: 226.8 kB / 0.5814 GB, free: 105.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02692/1.789, allocations: 4.67 MB / 0.586 GB, free: 104.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005619/1.789, allocations: 26.8 kB / 0.586 GB, free: 104.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03251/1.822, allocations: 12.68 MB / 0.5984 GB, free: 99.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/1.822, allocations: 3.844 kB / 0.5984 GB, free: 99.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03957/1.862, allocations: 10.85 MB / 0.609 GB, free: 95.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008831/1.862, allocations: 312.5 kB / 0.6093 GB, free: 95.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/1.864, allocations: 15.11 kB / 0.6093 GB, free: 95.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003561/1.867, allocations: 175.5 kB / 0.6095 GB, free: 95.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007991/1.868, allocations: 98.92 kB / 0.6095 GB, free: 95.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002708/1.868, allocations: 51.94 kB / 0.6096 GB, free: 95.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003458/1.872, allocations: 1.621 MB / 0.6112 GB, free: 93.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.443e-06/1.872, allocations: 1.938 kB / 0.6112 GB, free: 93.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006281/1.878, allocations: 0.7761 MB / 0.6119 GB, free: 92.99 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.03867/1.917, allocations: 11.65 MB / 0.6233 GB, free: 81.41 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.01745/1.934, allocations: 6.589 MB / 0.6297 GB, free: 74.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.934, allocations: 0 / 0.6297 GB, free: 74.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009932/1.944, allocations: 3.154 MB / 0.6328 GB, free: 71.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/1.947, allocations: 237.5 kB / 0.6331 GB, free: 71.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02312/1.97, allocations: 7.853 MB / 0.6407 GB, free: 63.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004933/1.975, allocations: 2.551 MB / 0.6432 GB, free: 61.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003115/1.978, allocations: 1.292 MB / 0.6445 GB, free: 59.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.174e-06/1.978, allocations: 0 / 0.6445 GB, free: 59.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.754/6.732, allocations: 150.1 MB / 0.7911 GB, free: 65.21 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat