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.573/2.573, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.065e-05/4.09e-05, allocations: 3.969 kB / 249.8 MB, free: 5.238 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1363, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5199/0.6563, allocations: 83.49 MB / 377.8 MB, free: 6.785 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.6566, allocations: 88.94 kB / 377.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3016/0.9582, allocations: 60.2 MB / 438.1 MB, free: 108 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.9582, allocations: 0 / 438.1 MB, free: 108 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001901/0.9584, allocations: 55.94 kB / 438.1 MB, free: 52 kB / 330.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.01596/0.9744, allocations: 3.03 MB / 441.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.9745, allocations: 8.031 kB / 441.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01978/0.9943, allocations: 2.001 MB / 443.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0173/1.012, allocations: 3.527 MB / 446.7 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/1.012, allocations: 92 kB / 446.8 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001848/1.014, allocations: 171.8 kB / 446.9 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01491/1.029, allocations: 4.531 MB / 451.5 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0222/1.051, allocations: 7.166 MB / 458.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/1.051, allocations: 55.5 kB / 458.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001188/1.052, allocations: 32 kB / 458.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/1.055, allocations: 0.7768 MB / 459.5 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07319/1.128, allocations: 39.98 MB / 499.5 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3294/1.458, allocations: 2.309 MB / 0.49 GB, free: 102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004219/1.462, allocations: 1.364 MB / 0.4914 GB, free: 102 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/1.463, allocations: 0.6363 MB / 0.492 GB, free: 101.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/1.463, allocations: 49.88 kB / 0.492 GB, free: 101.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 6.112e-06/1.463, allocations: 0 / 0.492 GB, free: 101.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=152): time 0.1109/1.574, allocations: 16 MB / 0.5077 GB, free: 99.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/1.574, allocations: 146.3 kB / 0.5078 GB, free: 99.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005977/1.58, allocations: 2.453 MB / 0.5102 GB, free: 99.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006198/1.581, allocations: 25.7 kB / 0.5102 GB, free: 99.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002307/1.583, allocations: 2.374 MB / 0.5125 GB, free: 98.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001189/1.585, allocations: 0.5877 MB / 0.5131 GB, free: 97.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007385/1.585, allocations: 0 / 0.5131 GB, free: 97.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006291/1.586, allocations: 0.5868 MB / 0.5137 GB, free: 97.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006158/1.592, allocations: 2.282 MB / 0.5159 GB, free: 97.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009573/1.602, allocations: 5.543 MB / 0.5213 GB, free: 92.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/1.614, allocations: 3.51 MB / 0.5248 GB, free: 91.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001831/1.614, allocations: 31.75 kB / 0.5248 GB, free: 91.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=698) (initialization): time 0.08996/1.704, allocations: 10.79 MB / 0.5353 GB, free: 88.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/1.704, allocations: 55.16 kB / 0.5354 GB, free: 88.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000267/1.705, allocations: 123 kB / 0.5355 GB, free: 88.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03852/1.743, allocations: 4.109 MB / 0.5395 GB, free: 87.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01008/1.753, allocations: 1.214 MB / 0.5407 GB, free: 87.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04185/1.795, allocations: 12.7 MB / 0.5531 GB, free: 79.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008294/1.804, allocations: 265.7 kB / 0.5533 GB, free: 78.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/1.805, allocations: 343.7 kB / 0.5537 GB, free: 78.56 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.001836/1.807, allocations: 388.9 kB / 0.554 GB, free: 78.18 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03907/1.846, allocations: 7.027 MB / 0.5609 GB, free: 73.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/1.847, allocations: 244.8 kB / 0.5611 GB, free: 72.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03787/1.885, allocations: 6.738 MB / 0.5677 GB, free: 67.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-05/1.885, allocations: 16 kB / 0.5677 GB, free: 67.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-05/1.885, allocations: 12 kB / 0.5677 GB, free: 67.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.796e-05/1.885, allocations: 7.969 kB / 0.5678 GB, free: 67.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06301/1.948, allocations: 13.92 MB / 0.5813 GB, free: 53.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-05/1.948, allocations: 0 / 0.5813 GB, free: 53.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/1.951, allocations: 231.6 kB / 0.5816 GB, free: 53.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03276/1.984, allocations: 4.666 MB / 0.5861 GB, free: 48.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005563/1.984, allocations: 27.97 kB / 0.5862 GB, free: 48.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03729/2.022, allocations: 12.68 MB / 0.5985 GB, free: 35.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/2.022, allocations: 8.672 kB / 0.5985 GB, free: 35.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04618/2.068, allocations: 10.85 MB / 0.6091 GB, free: 24.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008818/2.069, allocations: 305.7 kB / 0.6094 GB, free: 24.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/2.07, allocations: 11.98 kB / 0.6094 GB, free: 24.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003927/2.074, allocations: 179.7 kB / 0.6096 GB, free: 24.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008002/2.075, allocations: 104.6 kB / 0.6097 GB, free: 24.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002962/2.075, allocations: 51.72 kB / 0.6098 GB, free: 24.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003871/2.079, allocations: 1.622 MB / 0.6114 GB, free: 22.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.82e-07/2.079, allocations: 0 / 0.6114 GB, free: 22.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007529/2.087, allocations: 0.7825 MB / 0.6121 GB, free: 21.73 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.04787/2.134, allocations: 11.64 MB / 0.6235 GB, free: 10.02 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.34/2.475, allocations: 6.58 MB / 0.6299 GB, free: 95.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/2.475, allocations: 0 / 0.6299 GB, free: 95.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01434/2.489, allocations: 3.154 MB / 0.633 GB, free: 95.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/2.492, allocations: 230.6 kB / 0.6332 GB, free: 95.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/2.523, allocations: 7.494 MB / 0.6405 GB, free: 94.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00541/2.528, allocations: 2.549 MB / 0.643 GB, free: 93.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009019/2.537, allocations: 1.637 MB / 0.6446 GB, free: 93.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003573/2.541, allocations: 1.256 MB / 0.6458 GB, free: 93.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/2.541, allocations: 0 / 0.6458 GB, free: 93.29 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2937/2.835, allocations: 69.79 MB / 0.714 GB, free: 53.93 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002601/2.835, allocations: 170.3 kB / 0.7142 GB, free: 53.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.824/8.659, allocations: 32 / 0.7142 GB, free: 53.73 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat