Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.047/2.047, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.292e-05, allocations: 4 kB / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 50.41 MB / 342.6 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4436/0.5551, allocations: 90.98 MB / 433.6 MB, free: 3.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.5554, allocations: 84.14 kB / 433.7 MB, free: 3.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.266/0.8215, allocations: 60.07 MB / 493.8 MB, free: 11.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.8216, allocations: 0 / 493.8 MB, free: 11.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001446/0.8217, allocations: 52 kB / 493.8 MB, free: 11.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.01405/0.8358, allocations: 2.916 MB / 496.8 MB, free: 8.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.8359, allocations: 12.03 kB / 496.8 MB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001709/0.8376, allocations: 494.1 kB / 497.2 MB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/0.8537, allocations: 1.942 MB / 499.2 MB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/0.8671, allocations: 3.298 MB / 0.4907 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.8674, allocations: 185 kB / 0.4909 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008777/0.8683, allocations: 251.8 kB / 0.4911 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/0.8876, allocations: 7.248 MB / 0.4982 GB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.8878, allocations: 51.61 kB / 0.4983 GB, free: 9.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006894/0.8885, allocations: 127.9 kB / 0.4984 GB, free: 9.605 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001809/0.8904, allocations: 0.7339 MB / 0.4991 GB, free: 8.871 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.9092, allocations: 6.058 MB / 0.505 GB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3624/1.272, allocations: 36.86 MB / 0.541 GB, free: 92.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/1.287, allocations: 2.985 MB / 0.5439 GB, free: 91.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/1.29, allocations: 1.407 MB / 0.5453 GB, free: 91.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/1.3, allocations: 4.203 MB / 0.5494 GB, free: 90.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/1.3, allocations: 49.52 kB / 0.5494 GB, free: 90.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 4.929e-06/1.3, allocations: 0 / 0.5494 GB, free: 90.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=150): time 0.1061/1.406, allocations: 18.48 MB / 0.5675 GB, free: 88.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/1.407, allocations: 169.3 kB / 0.5677 GB, free: 88.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005328/1.412, allocations: 2.562 MB / 0.5702 GB, free: 87.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004727/1.412, allocations: 48.33 kB / 0.5702 GB, free: 87.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001841/1.414, allocations: 2.12 MB / 0.5723 GB, free: 86.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000987/1.415, allocations: 0.585 MB / 0.5728 GB, free: 85.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007098/1.416, allocations: 96.06 kB / 0.5729 GB, free: 85.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003219/1.416, allocations: 0.5118 MB / 0.5734 GB, free: 85.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005408/1.422, allocations: 2.297 MB / 0.5757 GB, free: 84.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007322/1.429, allocations: 5.223 MB / 0.5808 GB, free: 79.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007489/1.437, allocations: 3.434 MB / 0.5841 GB, free: 78.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.832e-05/1.437, allocations: 28.59 kB / 0.5842 GB, free: 78.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.06841/1.505, allocations: 10.83 MB / 0.5947 GB, free: 75.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/1.505, allocations: 52.06 kB / 0.5948 GB, free: 75.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001887/1.506, allocations: 104.4 kB / 0.5949 GB, free: 75.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03022/1.536, allocations: 4.114 MB / 0.5989 GB, free: 74.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006632/1.543, allocations: 1.118 MB / 0.6 GB, free: 74.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03354/1.576, allocations: 13.69 MB / 0.6134 GB, free: 63.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006501/1.583, allocations: 351.6 kB / 0.6137 GB, free: 63.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001201/1.584, allocations: 339.5 kB / 0.614 GB, free: 62.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 15 (world.groundColor[3],world.groundColor[2],world.groundColor[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 (575): * Single equations (assignments): 565 * 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.001264/1.585, allocations: 465.1 kB / 0.6145 GB, free: 62.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000802/1.586, allocations: 252.8 kB / 0.6147 GB, free: 62.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03136/1.617, allocations: 6.893 MB / 0.6214 GB, free: 55.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.354e-05/1.618, allocations: 19.64 kB / 0.6215 GB, free: 55.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.409e-05/1.618, allocations: 16 kB / 0.6215 GB, free: 55.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-05/1.618, allocations: 7.969 kB / 0.6215 GB, free: 55.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05282/1.671, allocations: 14.19 MB / 0.6353 GB, free: 41.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/1.671, allocations: 4 kB / 0.6353 GB, free: 41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/1.673, allocations: 223.7 kB / 0.6356 GB, free: 40.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02672/1.699, allocations: 4.681 MB / 0.6401 GB, free: 36.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004715/1.7, allocations: 47.95 kB / 0.6402 GB, free: 36.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03354/1.734, allocations: 13.77 MB / 0.6536 GB, free: 22.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.734, allocations: 0 / 0.6536 GB, free: 22.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03911/1.773, allocations: 11.03 MB / 0.6644 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009696/1.774, allocations: 341.7 kB / 0.6647 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008802/1.775, allocations: 36.92 kB / 0.6647 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003654/1.778, allocations: 199.7 kB / 0.6649 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008736/1.779, allocations: 114.2 kB / 0.665 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002633/1.78, allocations: 51.97 kB / 0.6651 GB, free: 10.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004736/1.784, allocations: 1.766 MB / 0.6668 GB, free: 8.492 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.393e-06/1.784, allocations: 0 / 0.6668 GB, free: 8.492 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006262/1.791, allocations: 0.8603 MB / 0.6677 GB, free: 7.641 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (100): * Single equations (assignments): 90 * 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.04173/1.832, allocations: 12.04 MB / 0.6794 GB, free: 11.53 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72: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 4.0.0/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72: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.02077/1.853, allocations: 6.488 MB / 0.6858 GB, free: 4.918 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.853, allocations: 0 / 0.6858 GB, free: 4.918 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01134/1.865, allocations: 3.139 MB / 0.6888 GB, free: 1.645 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/1.867, allocations: 265.5 kB / 0.6891 GB, free: 1.387 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3182/2.185, allocations: 7.216 MB / 0.6961 GB, free: 126.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005999/2.191, allocations: 2.378 MB / 0.6984 GB, free: 125.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0102/2.202, allocations: 1.561 MB / 0.7 GB, free: 125.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00391/2.206, allocations: 1.147 MB / 0.7011 GB, free: 125.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.783e-06/2.206, allocations: 0 / 0.7011 GB, free: 125.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1595/2.365, allocations: 70.21 MB / 0.7696 GB, free: 92.57 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/2.365, allocations: 187.3 kB / 0.7698 GB, free: 92.35 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.461/6.826, allocations: 0 / 0.7698 GB, free: 92.35 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat