Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.683/2.683, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.375e-05, allocations: 4.531 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5113/0.6246, allocations: 83.48 MB / 377.8 MB, free: 6.816 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/0.625, allocations: 89.09 kB / 377.8 MB, free: 6.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3348/0.9599, allocations: 60.41 MB / 438.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.9599, allocations: 0 / 438.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002073/0.9602, allocations: 52 kB / 438.3 MB, free: 15.84 MB / 346.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.01742/0.9776, allocations: 3.029 MB / 441.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/0.9777, allocations: 8.031 kB / 441.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002916/0.9806, allocations: 428.9 kB / 441.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02125/1.002, allocations: 2.001 MB / 443.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01859/1.021, allocations: 3.533 MB / 447.3 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/1.021, allocations: 121.5 kB / 447.4 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/1.023, allocations: 163.9 kB / 447.6 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01607/1.039, allocations: 4.535 MB / 452.1 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02387/1.063, allocations: 7.173 MB / 459.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002536/1.063, allocations: 47.56 kB / 459.3 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001567/1.065, allocations: 35.95 kB / 459.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002665/1.068, allocations: 0.7726 MB / 460.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4233/1.491, allocations: 39.98 MB / 0.4884 GB, free: 98.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009984/1.501, allocations: 2.324 MB / 0.4907 GB, free: 97.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006111/1.507, allocations: 1.358 MB / 0.492 GB, free: 97.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002074/1.509, allocations: 0.6322 MB / 0.4926 GB, free: 96.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.003e-05/1.51, allocations: 50.8 kB / 0.4927 GB, free: 96.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 1.11e-05/1.51, allocations: 2.812 kB / 0.4927 GB, free: 96.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=152): time 0.1205/1.63, allocations: 16 MB / 0.5083 GB, free: 95.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/1.63, allocations: 146.3 kB / 0.5084 GB, free: 95.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007413/1.638, allocations: 2.449 MB / 0.5108 GB, free: 95.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008118/1.638, allocations: 25.7 kB / 0.5108 GB, free: 94.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003391/1.642, allocations: 2.381 MB / 0.5132 GB, free: 93.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001478/1.643, allocations: 0.5858 MB / 0.5137 GB, free: 93.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/1.645, allocations: 0 / 0.5137 GB, free: 93.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0008212/1.646, allocations: 0.5869 MB / 0.5143 GB, free: 93.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008032/1.654, allocations: 2.277 MB / 0.5165 GB, free: 93.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01008/1.664, allocations: 5.542 MB / 0.5219 GB, free: 88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/1.675, allocations: 3.508 MB / 0.5254 GB, free: 86.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001587/1.675, allocations: 33.94 kB / 0.5254 GB, free: 86.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=698) (initialization): time 0.06211/1.737, allocations: 10.79 MB / 0.5359 GB, free: 83.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.737, allocations: 55 kB / 0.536 GB, free: 83.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002221/1.738, allocations: 120.8 kB / 0.5361 GB, free: 83.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03619/1.774, allocations: 4.108 MB / 0.5401 GB, free: 83.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009744/1.784, allocations: 1.217 MB / 0.5413 GB, free: 83.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04515/1.829, allocations: 12.7 MB / 0.5537 GB, free: 74.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008525/1.837, allocations: 259.2 kB / 0.554 GB, free: 74.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/1.839, allocations: 334.3 kB / 0.5543 GB, free: 74.11 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.002521/1.842, allocations: 392.6 kB / 0.5547 GB, free: 73.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/1.843, allocations: 252.7 kB / 0.5549 GB, free: 73.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04188/1.885, allocations: 6.743 MB / 0.5615 GB, free: 68.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.272e-05/1.885, allocations: 21.38 kB / 0.5615 GB, free: 68.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.53e-05/1.885, allocations: 8 kB / 0.5615 GB, free: 68.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.927e-05/1.885, allocations: 7.688 kB / 0.5615 GB, free: 68.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07107/1.956, allocations: 13.92 MB / 0.5751 GB, free: 56.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.703e-05/1.956, allocations: 0 / 0.5751 GB, free: 56.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/1.959, allocations: 227.7 kB / 0.5753 GB, free: 55.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03661/1.995, allocations: 4.662 MB / 0.5799 GB, free: 51.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007002/1.996, allocations: 27.95 kB / 0.5799 GB, free: 51.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04895/2.045, allocations: 12.7 MB / 0.5923 GB, free: 38.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/2.045, allocations: 0 / 0.5923 GB, free: 38.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06337/2.109, allocations: 10.85 MB / 0.6029 GB, free: 27.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/2.11, allocations: 305.8 kB / 0.6032 GB, free: 27.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001888/2.112, allocations: 15.98 kB / 0.6032 GB, free: 27.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006719/2.119, allocations: 171.7 kB / 0.6034 GB, free: 26.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00144/2.12, allocations: 108.5 kB / 0.6035 GB, free: 26.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000742/2.121, allocations: 52.75 kB / 0.6035 GB, free: 26.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.007025/2.128, allocations: 1.622 MB / 0.6051 GB, free: 25.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.393e-06/2.128, allocations: 4 kB / 0.6051 GB, free: 25.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01519/2.143, allocations: 0.7759 MB / 0.6059 GB, free: 24.35 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.07963/2.223, allocations: 11.65 MB / 0.6173 GB, free: 12.64 MB / 394.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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.0344/2.258, allocations: 6.58 MB / 0.6237 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/2.258, allocations: 0 / 0.6237 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01985/2.278, allocations: 3.145 MB / 0.6268 GB, free: 2.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/2.282, allocations: 256.9 kB / 0.627 GB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5157/2.798, allocations: 7.5 MB / 0.6343 GB, free: 109 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008025/2.806, allocations: 2.549 MB / 0.6368 GB, free: 108.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0126/2.818, allocations: 1.636 MB / 0.6384 GB, free: 108.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004546/2.823, allocations: 1.253 MB / 0.6396 GB, free: 108.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.154e-06/2.823, allocations: 0 / 0.6396 GB, free: 108.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.307/3.13, allocations: 70.69 MB / 0.7087 GB, free: 73.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0001955/3.13, allocations: 168.4 kB / 0.7088 GB, free: 72.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.351/9.481, allocations: 0 / 0.7088 GB, free: 72.99 MB / 410.7 MB