Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.00141/0.00141, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001722/0.001722, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004336/0.0004337, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.05544/0.2554, allocations: 62.65 MB / 389.1 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03237/0.2879, allocations: 14.65 MB / 403.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009173/0.2971, allocations: 327.2 kB / 404.1 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008208/0.3053, allocations: 3.083 MB / 407.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02288/0.3282, allocations: 8.953 MB / 416.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00437/0.3326, allocations: 1.26 MB / 417.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03821/0.3708, allocations: 28.11 MB / 445.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007979/0.3788, allocations: 6.352 MB / 451.8 MB, free: 5.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003142/0.382, allocations: 1.857 MB / 453.7 MB, free: 3.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003367/0.3854, allocations: 2.66 MB / 456.3 MB, free: 1.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007658/0.3862, allocations: 248 kB / 456.6 MB, free: 1.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1814/0.5676, allocations: 1.15 MB / 457.7 MB, free: 33.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005559/0.5732, allocations: 2.783 MB / 460.5 MB, free: 33.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003549/0.5768, allocations: 1.319 MB / 461.8 MB, free: 33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.5884, allocations: 8.884 MB / 470.7 MB, free: 32.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5884, allocations: 2.75 kB / 470.7 MB, free: 32.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.5884, allocations: 3.531 kB / 470.7 MB, free: 32.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005487/0.589, allocations: 0 / 470.7 MB, free: 32.38 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.02056/0.6095, allocations: 7.376 MB / 478.1 MB, free: 29.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.6096, allocations: 9 kB / 478.1 MB, free: 29.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1643/0.7739, allocations: 15.11 MB / 493.2 MB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/0.788, allocations: 6.195 MB / 499.4 MB, free: 22.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003101/0.7884, allocations: 373.2 kB / 499.8 MB, free: 22.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002098/0.7905, allocations: 0.5088 MB / 0.4886 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03062/0.8211, allocations: 16.34 MB / 0.5045 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002488/0.8214, allocations: 80.77 kB / 0.5046 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008595/0.8223, allocations: 236.5 kB / 0.5048 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003968/0.8263, allocations: 2.925 MB / 0.5077 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02696/0.8533, allocations: 13.7 MB / 0.5211 GB, free: 12.85 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.08806/0.9414, allocations: 64.51 MB / 0.5841 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02286/0.9643, allocations: 7.868 MB / 0.5917 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03493/0.9993, allocations: 18.93 MB / 0.6102 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.074e-05/0.9994, allocations: 66.91 kB / 0.6103 GB, free: 13.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=287): time 7.194e-06/0.9994, allocations: 0 / 0.6103 GB, free: 13.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=370): time 0.3642/1.364, allocations: 51.85 MB / 0.6609 GB, free: 178.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.364, allocations: 273.8 kB / 0.6612 GB, free: 177.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009812/1.374, allocations: 6.571 MB / 0.6676 GB, free: 171.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008949/1.374, allocations: 90.66 kB / 0.6677 GB, free: 171.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002924/1.377, allocations: 4.75 MB / 0.6723 GB, free: 166.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001909/1.379, allocations: 1.358 MB / 0.6737 GB, free: 165 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006503/1.38, allocations: 189.4 kB / 0.6738 GB, free: 164.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004242/1.38, allocations: 0.6986 MB / 0.6745 GB, free: 164.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005654/1.386, allocations: 3.883 MB / 0.6783 GB, free: 160.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008916/1.395, allocations: 9.086 MB / 0.6872 GB, free: 148.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008467/1.404, allocations: 5.753 MB / 0.6928 GB, free: 142.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000134/1.404, allocations: 52 kB / 0.6929 GB, free: 142.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03302/1.437, allocations: 16.34 MB / 0.7088 GB, free: 126.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.437, allocations: 92.2 kB / 0.7089 GB, free: 126.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/1.437, allocations: 180 kB / 0.7091 GB, free: 126.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01252/1.45, allocations: 4.104 MB / 0.7131 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007195/1.457, allocations: 2.059 MB / 0.7151 GB, free: 119.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02863/1.486, allocations: 22.74 MB / 0.7373 GB, free: 96.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008588/1.494, allocations: 0.4993 MB / 0.7378 GB, free: 96.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00177/1.496, allocations: 0.5363 MB / 0.7383 GB, free: 95.88 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.007425/1.503, allocations: 3.127 MB / 0.7414 GB, free: 92.74 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/1.505, allocations: 0.5824 MB / 0.7419 GB, free: 92.15 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01962/1.525, allocations: 9.849 MB / 0.7515 GB, free: 82.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.245e-05/1.525, allocations: 36 kB / 0.7516 GB, free: 82.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.562e-05/1.525, allocations: 19.98 kB / 0.7516 GB, free: 82.19 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001148/1.525, allocations: 19.94 kB / 0.7516 GB, free: 82.17 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0395/1.564, allocations: 19.61 MB / 0.7708 GB, free: 62.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.156e-05/1.564, allocations: 4 kB / 0.7708 GB, free: 62.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002936/1.567, allocations: 0.5382 MB / 0.7713 GB, free: 61.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01178/1.579, allocations: 3.664 MB / 0.7749 GB, free: 58.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008383/1.58, allocations: 67.98 kB / 0.7749 GB, free: 58.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02628/1.606, allocations: 20.67 MB / 0.7951 GB, free: 37.23 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.606, allocations: 0 / 0.7951 GB, free: 37.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2503/1.857, allocations: 14.57 MB / 0.8094 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004668/1.861, allocations: 1.167 MB / 0.8105 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002027/1.864, allocations: 61.12 kB / 0.8106 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004114/1.868, allocations: 202.9 kB / 0.8108 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008561/1.869, allocations: 229.4 kB / 0.811 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003243/1.869, allocations: 97.97 kB / 0.8111 GB, free: 168.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.008426/1.877, allocations: 4.182 MB / 0.8152 GB, free: 168.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.877, allocations: 0 / 0.8152 GB, free: 168.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01049/1.888, allocations: 1.874 MB / 0.817 GB, free: 168.1 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.001072/1.889, allocations: 240.4 kB / 0.8172 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01642/1.905, allocations: 9.943 MB / 0.8269 GB, free: 164.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/1.905, allocations: 2.109 kB / 0.8269 GB, free: 164.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006347/1.912, allocations: 3.929 MB / 0.8308 GB, free: 163.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005101/1.917, allocations: 0.7177 MB / 0.8315 GB, free: 162.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02998/1.947, allocations: 18.63 MB / 0.8496 GB, free: 154 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006288/1.953, allocations: 5.018 MB / 0.8546 GB, free: 151.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007326/1.961, allocations: 2.818 MB / 0.8573 GB, free: 150.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/1.962, allocations: 392.6 kB / 0.8577 GB, free: 149.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/1.962, allocations: 4 kB / 0.8577 GB, free: 149.8 MB / 478.1 MB Notification: Performance of Templates: time 0.1226/2.085, allocations: 77.15 MB / 0.933 GB, free: 75.9 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) Environment - environmentSimulation: