Notification: Performance of loadModel(Modelica): time 0.9899/0.9899, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.516e-05, allocations: 6.656 kB / 145.9 MB, free: 4.039 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1383, allocations: 25.16 MB / 171.1 MB, free: 1.855 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08078/0.2191, allocations: 43.64 MB / 214.7 MB, free: 9.934 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/0.2195, allocations: 71.95 kB / 214.8 MB, free: 9.863 MB / 186.7 MB Notification: Performance of FrontEnd: time 0.7253/0.9449, allocations: 131.2 MB / 346 MB, free: 8.383 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002143/0.9451, allocations: 76 kB / 346.1 MB, free: 8.309 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1501 * Number of variables: 1501 Notification: Performance of Generate backend data structure: time 0.03523/0.9804, allocations: 5.971 MB / 352.1 MB, free: 2.273 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.9805, allocations: 15.97 kB / 352.1 MB, free: 2.258 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3026/1.283, allocations: 19.37 MB / 371.5 MB, free: 39.25 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/1.302, allocations: 5.159 MB / 376.6 MB, free: 38.97 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000329/1.302, allocations: 135.2 kB / 376.7 MB, free: 38.97 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004167/1.306, allocations: 235.3 kB / 377 MB, free: 38.97 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02912/1.335, allocations: 12.65 MB / 389.6 MB, free: 38.95 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03884/1.374, allocations: 13.98 MB / 403.6 MB, free: 33.52 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002836/1.375, allocations: 43.78 kB / 403.7 MB, free: 33.49 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004209/1.379, allocations: 23.45 kB / 403.7 MB, free: 33.47 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0652/1.444, allocations: 7.802 MB / 411.5 MB, free: 28.73 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8788/2.323, allocations: 103.6 MB / 0.5031 GB, free: 30.03 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00721/2.33, allocations: 4.027 MB / 0.507 GB, free: 27.55 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004859/2.335, allocations: 2.583 MB / 0.5095 GB, free: 25.92 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/2.336, allocations: 0.649 MB / 0.5101 GB, free: 25.19 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/2.336, allocations: 69.59 kB / 0.5102 GB, free: 25.13 MB / 250.7 MB Notification: Performance of pre-optimization done (n=216): time 9.006e-06/2.336, allocations: 6.516 kB / 0.5102 GB, free: 25.13 MB / 250.7 MB Notification: Performance of matching and sorting (n=247): time 0.08559/2.422, allocations: 25.02 MB / 0.5347 GB, free: 2.648 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/2.422, allocations: 466 kB / 0.5351 GB, free: 2.094 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1147/2.537, allocations: 3.1 MB / 0.5381 GB, free: 46.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001039/2.538, allocations: 31.31 kB / 0.5382 GB, free: 46.72 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002474/2.54, allocations: 3.036 MB / 0.5411 GB, free: 45.38 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001811/2.542, allocations: 0.9059 MB / 0.542 GB, free: 44.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001446/2.544, allocations: 0 / 0.542 GB, free: 44.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0006998/2.544, allocations: 0.6592 MB / 0.5426 GB, free: 44.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008261/2.553, allocations: 3.688 MB / 0.5462 GB, free: 44.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01081/2.564, allocations: 7.733 MB / 0.5538 GB, free: 39.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009568/2.573, allocations: 4.605 MB / 0.5583 GB, free: 39.25 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001532/2.573, allocations: 42.72 kB / 0.5583 GB, free: 39.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=915) (initialization): time 0.0519/2.625, allocations: 13.8 MB / 0.5718 GB, free: 37.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/2.625, allocations: 65 kB / 0.5719 GB, free: 37.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005189/2.626, allocations: 279.1 kB / 0.5721 GB, free: 37.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0253/2.651, allocations: 4.142 MB / 0.5762 GB, free: 36.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/2.662, allocations: 1.698 MB / 0.5778 GB, free: 36.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0403/2.703, allocations: 12.77 MB / 0.5903 GB, free: 30.87 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03019/2.733, allocations: 1.59 MB / 0.5919 GB, free: 30.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004023/2.737, allocations: 0.5811 MB / 0.5924 GB, free: 30.76 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * 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 (837): * Single equations (assignments): 818 * Array equations: 12 * 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.004996/2.742, allocations: 451.1 kB / 0.5929 GB, free: 30.39 MB / 250.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05723/2.8, allocations: 9.065 MB / 0.6017 GB, free: 26.66 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002969/2.803, allocations: 327.5 kB / 0.602 GB, free: 26.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04269/2.845, allocations: 6.935 MB / 0.6088 GB, free: 21.37 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0527/2.898, allocations: 8.786 MB / 0.6174 GB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.586e-05/2.898, allocations: 12 kB / 0.6174 GB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.499e-05/2.898, allocations: 14.03 kB / 0.6174 GB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.24/3.138, allocations: 24.83 MB / 0.6417 GB, free: 38.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.98e-05/3.138, allocations: 10.75 kB / 0.6417 GB, free: 38.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003929/3.142, allocations: 432.3 kB / 0.6421 GB, free: 38.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02554/3.168, allocations: 3.911 MB / 0.6459 GB, free: 38.49 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00115/3.169, allocations: 107.2 kB / 0.646 GB, free: 38.49 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03063/3.2, allocations: 11.8 MB / 0.6575 GB, free: 36.12 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/3.2, allocations: 15.19 kB / 0.6575 GB, free: 36.12 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0462/3.246, allocations: 14.69 MB / 0.6719 GB, free: 30.08 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/3.248, allocations: 451.1 kB / 0.6723 GB, free: 29.9 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00203/3.25, allocations: 24.84 kB / 0.6723 GB, free: 29.9 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01606/3.266, allocations: 1.398 MB / 0.6737 GB, free: 29.89 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000936/3.267, allocations: 162.4 kB / 0.6739 GB, free: 29.87 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007619/3.267, allocations: 225.1 kB / 0.6741 GB, free: 29.85 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.004854/3.272, allocations: 2.048 MB / 0.6761 GB, free: 29.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.42e-07/3.272, allocations: 0 / 0.6761 GB, free: 29.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.01123/3.284, allocations: 1.075 MB / 0.6771 GB, free: 29.07 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (181): * Single equations (assignments): 163 * Array equations: 11 * 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.04913/3.333, allocations: 17.59 MB / 0.6943 GB, free: 17.46 MB / 250.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Parts.mo:2404:7-2406:80: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.1/Mechanics/MultiBody/Parts.mo:2404:7-2406:80: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.03228/3.365, allocations: 10.18 MB / 0.7042 GB, free: 9.051 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/3.365, allocations: 0 / 0.7042 GB, free: 9.051 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02446/3.39, allocations: 6.585 MB / 0.7107 GB, free: 3.516 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/3.393, allocations: 271.4 kB / 0.7109 GB, free: 3.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03677/3.43, allocations: 10.8 MB / 0.7215 GB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007956/3.438, allocations: 3.322 MB / 0.7247 GB, free: 5.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.1507/3.589, allocations: 2.595 MB / 0.7273 GB, free: 54.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007701/3.597, allocations: 2.068 MB / 0.7293 GB, free: 54.03 MB / 266.7 MB Notification: Performance of SimCode: time 3.196e-06/3.597, allocations: 0 / 0.7293 GB, free: 54.03 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3882/3.985, allocations: 110.4 MB / 0.837 GB, free: 47.52 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00458/3.989, allocations: 154.4 kB / 0.8372 GB, free: 47.33 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.296/10.29, allocations: 7.781 kB / 0.8372 GB, free: 47.33 MB / 266.7 MB