Notification: Performance of loadModel(Modelica): time 1.061/1.061, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.626e-05, allocations: 3.938 kB / 145.9 MB, free: 4.043 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1469, allocations: 25.16 MB / 171.1 MB, free: 1.727 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09655/0.2435, allocations: 52.28 MB / 223.4 MB, free: 1.199 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.2439, allocations: 75.95 kB / 223.4 MB, free: 1.125 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.585/1.829, allocations: 268.4 MB / 491.9 MB, free: 16.13 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0005731/1.83, allocations: 167.8 kB / 492 MB, free: 16.13 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: 3137 * Number of variables: 3137 Notification: Performance of Generate backend data structure: time 0.07286/1.903, allocations: 12.2 MB / 0.4924 GB, free: 12.74 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.719e-05/1.903, allocations: 7.375 kB / 0.4924 GB, free: 12.74 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5691/2.472, allocations: 43.05 MB / 0.5345 GB, free: 30.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03905/2.511, allocations: 10.47 MB / 0.5447 GB, free: 30.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001198/2.512, allocations: 290.8 kB / 0.545 GB, free: 30.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01221/2.524, allocations: 485.8 kB / 0.5454 GB, free: 30.1 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06094/2.585, allocations: 26.19 MB / 0.571 GB, free: 26.04 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08046/2.666, allocations: 28.27 MB / 0.5986 GB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006468/2.667, allocations: 57.55 kB / 0.5987 GB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008529/2.675, allocations: 26.34 kB / 0.5987 GB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1342/2.809, allocations: 15.66 MB / 0.614 GB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.715/4.525, allocations: 199.9 MB / 0.8092 GB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02057/4.546, allocations: 10.72 MB / 0.8197 GB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01382/4.56, allocations: 6.679 MB / 0.8262 GB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5078/5.067, allocations: 54.76 MB / 0.8797 GB, free: 52.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.916e-05/5.067, allocations: 81.44 kB / 0.8798 GB, free: 52.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=454): time 1.185e-05/5.068, allocations: 0 / 0.8798 GB, free: 52.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=504): time 0.1564/5.224, allocations: 38.58 MB / 0.9175 GB, free: 36.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.908e-05/5.224, allocations: 226 kB / 0.9177 GB, free: 36.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01513/5.239, allocations: 5.751 MB / 0.9233 GB, free: 31.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001866/5.241, allocations: 29.7 kB / 0.9233 GB, free: 31.51 MB / 282.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:2345:5-2348:81:writable] Warning: The parameter universalSpherical.rodLength has fixed = false and a binding equation universalSpherical.rodLength = 1.048808848170152, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. Notification: Performance of collectInitialEqns (initialization): time 0.004722/5.246, allocations: 5.964 MB / 0.9291 GB, free: 26.13 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003599/5.25, allocations: 1.788 MB / 0.9309 GB, free: 24.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003125/5.253, allocations: 0 / 0.9309 GB, free: 24.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.001233/5.254, allocations: 0.8534 MB / 0.9317 GB, free: 23.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1498/5.404, allocations: 7.854 MB / 0.9394 GB, free: 49.99 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02165/5.426, allocations: 14.27 MB / 0.9533 GB, free: 40.96 MB / 282.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.2191/5.645, allocations: 28.41 MB / 0.9811 GB, free: 40.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003778/5.645, allocations: 69.34 kB / 0.9811 GB, free: 40.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=1664) (initialization): time 0.09611/5.741, allocations: 24.75 MB / 1.005 GB, free: 35 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002597/5.742, allocations: 115 kB / 1.005 GB, free: 34.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004685/5.742, allocations: 248 kB / 1.006 GB, free: 34.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05065/5.793, allocations: 6.458 MB / 1.012 GB, free: 34.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02231/5.815, allocations: 3.039 MB / 1.015 GB, free: 33.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2054/6.021, allocations: 24.97 MB / 1.039 GB, free: 38.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03815/6.059, allocations: 2.785 MB / 1.042 GB, free: 38.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004636/6.064, allocations: 1.026 MB / 1.043 GB, free: 38.15 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: universalSpherical.rodLength:VARIABLE(min = 0.0 start = 1.048808848170152 unit = "m" fixed = false final = true ) "Length of rod (distance between origin of frame_a and origin of frame_b)" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: j1.phi = $START.j1.phi. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1134 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1528): * Single equations (assignments): 1505 * Array equations: 21 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 1 {1 15} Notification: Performance of prepare postOptimizeDAE: time 0.006609/6.07, allocations: 0.7202 MB / 1.044 GB, free: 37.91 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06354/6.134, allocations: 15.47 MB / 1.059 GB, free: 37.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003744/6.138, allocations: 0.5986 MB / 1.059 GB, free: 37.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05945/6.197, allocations: 14.32 MB / 1.073 GB, free: 36.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04004/6.237, allocations: 4.39 MB / 1.078 GB, free: 36.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-05/6.237, allocations: 11.28 kB / 1.078 GB, free: 36.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000173/6.237, allocations: 22.78 kB / 1.078 GB, free: 36.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2123/6.45, allocations: 41.46 MB / 1.118 GB, free: 18.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-05/6.45, allocations: 8 kB / 1.118 GB, free: 18.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008899/6.459, allocations: 0.8186 MB / 1.119 GB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03292/6.492, allocations: 4.096 MB / 1.123 GB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001887/6.494, allocations: 139.6 kB / 1.123 GB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1685/6.662, allocations: 15.94 MB / 1.139 GB, free: 36.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.268e-05/6.662, allocations: 9.688 kB / 1.139 GB, free: 36.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07778/6.74, allocations: 24.62 MB / 1.163 GB, free: 34.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00781/6.748, allocations: 2.025 MB / 1.165 GB, free: 34.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004096/6.752, allocations: 7.188 kB / 1.165 GB, free: 34.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02944/6.782, allocations: 2.437 MB / 1.167 GB, free: 34.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001737/6.783, allocations: 225 kB / 1.167 GB, free: 34.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002073/6.785, allocations: 377.9 kB / 1.168 GB, free: 34.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.01053/6.796, allocations: 3.81 MB / 1.171 GB, free: 33.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.062e-06/6.796, allocations: 0 / 1.171 GB, free: 33.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.01904/6.815, allocations: 2.143 MB / 1.174 GB, free: 33.64 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (389): * Single equations (assignments): 366 * Array equations: 21 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.08514/6.9, allocations: 26.26 MB / 1.199 GB, free: 22.77 MB / 282.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:269:5-279:3:writable] Warning: Variable j1.phi has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.1002/7.001, allocations: 22.02 MB / 1.221 GB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/7.001, allocations: 4 kB / 1.221 GB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.06257/7.063, allocations: 12.07 MB / 1.232 GB, free: 2.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006419/7.07, allocations: 0.5218 MB / 1.233 GB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2007/7.27, allocations: 22.06 MB / 1.255 GB, free: 56.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01504/7.286, allocations: 6.215 MB / 1.261 GB, free: 55.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.02964/7.315, allocations: 5.191 MB / 1.266 GB, free: 55.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01536/7.331, allocations: 4.534 MB / 1.27 GB, free: 55.15 MB / 298.7 MB Notification: Performance of SimCode: time 1.804e-06/7.331, allocations: 0 / 1.27 GB, free: 55.15 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6919/8.023, allocations: 199 MB / 1.464 GB, free: 29.56 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.003534/8.026, allocations: 140.9 kB / 1.465 GB, free: 29.37 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.869/17.9, allocations: 5.75 kB / 1.465 GB, free: 29.37 MB / 298.7 MB