Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 225.8 MB / 239.3 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.387e-05, allocations: 4 kB / 292.7 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 50.42 MB / 343.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4645/0.5745, allocations: 90.75 MB / 433.9 MB, free: 6.086 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.5749, allocations: 83.83 kB / 434 MB, free: 6.074 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2605/0.8354, allocations: 60.07 MB / 494.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.8354, allocations: 4 kB / 494.1 MB, free: 10.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001563/0.8356, allocations: 48 kB / 494.1 MB, free: 10.23 MB / 378.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.0148/0.8504, allocations: 2.922 MB / 497 MB, free: 7.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.8505, allocations: 8.031 kB / 497 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001965/0.8525, allocations: 494.2 kB / 497.5 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01576/0.8683, allocations: 1.942 MB / 499.5 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01437/0.8827, allocations: 3.302 MB / 0.491 GB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.883, allocations: 181.1 kB / 0.4912 GB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001808/0.8849, allocations: 251.8 kB / 0.4914 GB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02403/0.9089, allocations: 7.248 MB / 0.4985 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/0.9092, allocations: 47.56 kB / 0.4985 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001331/0.9106, allocations: 127.9 kB / 0.4986 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002096/0.9127, allocations: 0.7339 MB / 0.4994 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.9321, allocations: 6.07 MB / 0.5053 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06055/0.9927, allocations: 36.86 MB / 0.5413 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/1.005, allocations: 2.992 MB / 0.5442 GB, free: 8.789 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/1.008, allocations: 1.415 MB / 0.5456 GB, free: 7.359 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/1.019, allocations: 4.207 MB / 0.5497 GB, free: 3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/1.019, allocations: 47.12 kB / 0.5497 GB, free: 2.945 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 4.648e-06/1.019, allocations: 3.938 kB / 0.5497 GB, free: 2.941 MB / 442.7 MB Notification: Performance of matching and sorting (n=150): time 0.4023/1.421, allocations: 18.44 MB / 0.5678 GB, free: 118.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/1.421, allocations: 172.3 kB / 0.5679 GB, free: 118.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005548/1.427, allocations: 2.559 MB / 0.5704 GB, free: 118.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005261/1.427, allocations: 44.36 kB / 0.5705 GB, free: 118.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001874/1.429, allocations: 2.114 MB / 0.5725 GB, free: 117 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001092/1.43, allocations: 0.5917 MB / 0.5731 GB, free: 116.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007111/1.431, allocations: 99.83 kB / 0.5732 GB, free: 116.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003413/1.432, allocations: 0.5103 MB / 0.5737 GB, free: 116.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005353/1.437, allocations: 2.307 MB / 0.5759 GB, free: 116.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007267/1.444, allocations: 5.22 MB / 0.581 GB, free: 112.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007702/1.452, allocations: 3.422 MB / 0.5844 GB, free: 112.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/1.452, allocations: 30 kB / 0.5844 GB, free: 112.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.04314/1.495, allocations: 10.83 MB / 0.595 GB, free: 109.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.788e-05/1.495, allocations: 48.25 kB / 0.595 GB, free: 109.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001419/1.496, allocations: 107 kB / 0.5951 GB, free: 109.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02541/1.521, allocations: 4.123 MB / 0.5992 GB, free: 108.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006783/1.528, allocations: 1.114 MB / 0.6003 GB, free: 108.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03462/1.562, allocations: 13.68 MB / 0.6136 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006951/1.569, allocations: 359.3 kB / 0.614 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/1.571, allocations: 343.1 kB / 0.6143 GB, free: 100.5 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.001189/1.572, allocations: 474 kB / 0.6147 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008566/1.573, allocations: 244.8 kB / 0.615 GB, free: 99.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03131/1.604, allocations: 6.899 MB / 0.6217 GB, free: 94.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.422e-05/1.604, allocations: 17.17 kB / 0.6217 GB, free: 94.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/1.604, allocations: 11.95 kB / 0.6217 GB, free: 94.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.161e-05/1.604, allocations: 11.78 kB / 0.6217 GB, free: 94.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06077/1.665, allocations: 14.18 MB / 0.6356 GB, free: 81.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.224e-05/1.665, allocations: 7.938 kB / 0.6356 GB, free: 81.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002874/1.668, allocations: 227.6 kB / 0.6358 GB, free: 81.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03289/1.701, allocations: 4.679 MB / 0.6404 GB, free: 76.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001267/1.702, allocations: 48.66 kB / 0.6404 GB, free: 76.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04867/1.751, allocations: 13.78 MB / 0.6539 GB, free: 62.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.751, allocations: 7.984 kB / 0.6539 GB, free: 62.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03888/1.79, allocations: 11.01 MB / 0.6647 GB, free: 51.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009704/1.791, allocations: 337.7 kB / 0.665 GB, free: 50.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008426/1.792, allocations: 35.98 kB / 0.665 GB, free: 50.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003535/1.795, allocations: 195.7 kB / 0.6652 GB, free: 50.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007028/1.796, allocations: 116.1 kB / 0.6653 GB, free: 50.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002584/1.796, allocations: 51.95 kB / 0.6654 GB, free: 50.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004039/1.8, allocations: 1.77 MB / 0.6671 GB, free: 48.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.024e-06/1.801, allocations: 0 / 0.6671 GB, free: 48.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006243/1.807, allocations: 0.863 MB / 0.6679 GB, free: 47.87 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.03996/1.847, allocations: 12.04 MB / 0.6797 GB, free: 35.74 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/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.01801/1.865, allocations: 6.484 MB / 0.686 GB, free: 29.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.865, allocations: 0 / 0.686 GB, free: 29.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0104/1.875, allocations: 3.134 MB / 0.6891 GB, free: 25.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/1.878, allocations: 261.1 kB / 0.6893 GB, free: 25.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02199/1.9, allocations: 7.226 MB / 0.6964 GB, free: 18.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003775/1.904, allocations: 2.375 MB / 0.6987 GB, free: 16.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007027/1.911, allocations: 1.565 MB / 0.7002 GB, free: 14.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003004/1.914, allocations: 1.144 MB / 0.7013 GB, free: 13.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/1.914, allocations: 0 / 0.7013 GB, free: 13.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5129/2.427, allocations: 70.21 MB / 0.7699 GB, free: 91.02 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/2.427, allocations: 179.4 kB / 0.7701 GB, free: 90.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.739/7.166, allocations: 4.062 kB / 0.7701 GB, free: 90.79 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat