Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 94.14 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009879/0.0009879, allocations: 179 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004928, allocations: 8 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2234, allocations: 47.58 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.05642/0.2798, allocations: 62.66 MB / 390.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0339/0.3138, allocations: 14.65 MB / 405 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01359/0.3274, allocations: 319.2 kB / 405.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.3378, allocations: 3.095 MB / 408.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02743/0.3652, allocations: 8.949 MB / 417.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005142/0.3704, allocations: 1.26 MB / 418.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.04081/0.4112, allocations: 28.11 MB / 446.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/0.4219, allocations: 6.349 MB / 453.1 MB, free: 5.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003917/0.4258, allocations: 1.861 MB / 454.9 MB, free: 3.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004025/0.4299, allocations: 2.656 MB / 457.6 MB, free: 1.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001258/0.4312, allocations: 252 kB / 457.8 MB, free: 1.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2012/0.6324, allocations: 1.154 MB / 459 MB, free: 33.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005095/0.6375, allocations: 2.779 MB / 461.8 MB, free: 33.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002656/0.6402, allocations: 1.319 MB / 463.1 MB, free: 33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009003/0.6492, allocations: 8.879 MB / 472 MB, free: 32.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6492, allocations: 0.75 kB / 472 MB, free: 32.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6492, allocations: 0 / 472 MB, free: 32.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003092/0.6496, allocations: 1.188 kB / 472 MB, free: 32.37 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.01805/0.6676, allocations: 7.378 MB / 479.3 MB, free: 29.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.6677, allocations: 18.44 kB / 479.4 MB, free: 29.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.165/0.8327, allocations: 15.1 MB / 494.5 MB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/0.8473, allocations: 6.196 MB / 0.4889 GB, free: 22.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.8476, allocations: 368.3 kB / 0.4893 GB, free: 22.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/0.8497, allocations: 0.5104 MB / 0.4898 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02773/0.8774, allocations: 16.34 MB / 0.5057 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002438/0.8777, allocations: 83.7 kB / 0.5058 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008388/0.8785, allocations: 237.7 kB / 0.506 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00386/0.8824, allocations: 2.926 MB / 0.5089 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02772/0.9101, allocations: 13.7 MB / 0.5223 GB, free: 12.91 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08372/0.9939, allocations: 64.51 MB / 0.5853 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02185/1.016, allocations: 7.873 MB / 0.593 GB, free: 16 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02994/1.046, allocations: 18.93 MB / 0.6115 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/1.046, allocations: 67.75 kB / 0.6115 GB, free: 13.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=287): time 5.33e-06/1.046, allocations: 0 / 0.6115 GB, free: 13.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=370): time 0.3401/1.386, allocations: 51.85 MB / 0.6621 GB, free: 178.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/1.386, allocations: 277.8 kB / 0.6624 GB, free: 177.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007876/1.394, allocations: 6.569 MB / 0.6688 GB, free: 171.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008582/1.395, allocations: 81.7 kB / 0.6689 GB, free: 171.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002189/1.397, allocations: 4.752 MB / 0.6735 GB, free: 166.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001311/1.398, allocations: 1.358 MB / 0.6749 GB, free: 165 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004351/1.399, allocations: 188 kB / 0.6751 GB, free: 164.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003325/1.399, allocations: 0.6908 MB / 0.6757 GB, free: 164.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004657/1.404, allocations: 3.897 MB / 0.6795 GB, free: 160.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006766/1.411, allocations: 9.086 MB / 0.6884 GB, free: 148.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007025/1.418, allocations: 5.753 MB / 0.694 GB, free: 142.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.322e-05/1.418, allocations: 52 kB / 0.6941 GB, free: 142.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.02881/1.447, allocations: 16.34 MB / 0.71 GB, free: 126.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.44e-05/1.447, allocations: 87.95 kB / 0.7101 GB, free: 126.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/1.447, allocations: 184.8 kB / 0.7103 GB, free: 126.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/1.458, allocations: 4.106 MB / 0.7143 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006661/1.465, allocations: 2.059 MB / 0.7163 GB, free: 119.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.027/1.492, allocations: 22.74 MB / 0.7385 GB, free: 96.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0074/1.499, allocations: 0.5158 MB / 0.739 GB, free: 96.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009087/1.5, allocations: 0.524 MB / 0.7395 GB, free: 95.87 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1088): * Single equations (assignments): 1083 * Array equations: 3 * 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: 2 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004436/1.505, allocations: 3.122 MB / 0.7426 GB, free: 92.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009006/1.506, allocations: 0.5746 MB / 0.7431 GB, free: 92.15 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01763/1.523, allocations: 9.851 MB / 0.7528 GB, free: 82.24 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-05/1.523, allocations: 36 kB / 0.7528 GB, free: 82.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.741e-05/1.523, allocations: 20 kB / 0.7528 GB, free: 82.19 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.046e-05/1.523, allocations: 23.88 kB / 0.7528 GB, free: 82.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03383/1.557, allocations: 19.62 MB / 0.772 GB, free: 62.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/1.557, allocations: 3.938 kB / 0.772 GB, free: 62.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002556/1.56, allocations: 0.5382 MB / 0.7725 GB, free: 61.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01074/1.571, allocations: 3.668 MB / 0.7761 GB, free: 58.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000535/1.571, allocations: 63.98 kB / 0.7762 GB, free: 58.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02412/1.595, allocations: 20.66 MB / 0.7964 GB, free: 37.22 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.595, allocations: 4 kB / 0.7964 GB, free: 37.22 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1987/1.794, allocations: 14.58 MB / 0.8106 GB, free: 169.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004499/1.799, allocations: 1.162 MB / 0.8117 GB, free: 169.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001863/1.801, allocations: 56.77 kB / 0.8118 GB, free: 169.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003851/1.804, allocations: 209.3 kB / 0.812 GB, free: 169.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009059/1.805, allocations: 226.6 kB / 0.8122 GB, free: 169.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003077/1.806, allocations: 98.12 kB / 0.8123 GB, free: 169.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007871/1.814, allocations: 4.179 MB / 0.8164 GB, free: 169.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.814, allocations: 3.438 kB / 0.8164 GB, free: 169.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009297/1.823, allocations: 1.879 MB / 0.8182 GB, free: 169.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 265 * Array equations: 3 * 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: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008678/1.824, allocations: 237.4 kB / 0.8184 GB, free: 169.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01509/1.839, allocations: 9.936 MB / 0.8281 GB, free: 166.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.839, allocations: 0 / 0.8281 GB, free: 166.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005446/1.844, allocations: 3.932 MB / 0.832 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003988/1.848, allocations: 0.7173 MB / 0.8327 GB, free: 164.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02615/1.875, allocations: 18.64 MB / 0.8509 GB, free: 155.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005209/1.88, allocations: 5.013 MB / 0.8558 GB, free: 152 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006739/1.887, allocations: 2.82 MB / 0.8585 GB, free: 150.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/1.888, allocations: 390.4 kB / 0.8589 GB, free: 149.9 MB / 478.1 MB Notification: Performance of SimCode: time 9.31e-07/1.888, allocations: 0 / 0.8589 GB, free: 149.9 MB / 478.1 MB Notification: Performance of Templates: time 0.1038/1.992, allocations: 77.16 MB / 0.9343 GB, free: 75.98 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) Environment - environmentSimulation: