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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009526/0.0009527, allocations: 180.1 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.153/1.153, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001545/0.001545, allocations: 120.8 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002714, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07822/0.0785, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2502/0.3287, allocations: 96.85 MB / 451.9 MB, free: 8.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.3289, allocations: 88.39 kB / 452 MB, free: 8.934 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4546/0.7836, allocations: 135.7 MB / 0.5739 GB, free: 82.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.7836, allocations: 0 / 0.5739 GB, free: 82.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002775/0.7839, allocations: 140.1 kB / 0.574 GB, free: 82.11 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.02024/0.8042, allocations: 7.651 MB / 0.5815 GB, free: 77.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.8042, allocations: 10.44 kB / 0.5815 GB, free: 77.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02736/0.8316, allocations: 7.549 MB / 0.5889 GB, free: 73.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02071/0.8523, allocations: 9.726 MB / 0.5984 GB, free: 64.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003057/0.8527, allocations: 492.1 kB / 0.5988 GB, free: 63.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002164/0.8549, allocations: 0.653 MB / 0.5995 GB, free: 63.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02707/0.8819, allocations: 16.72 MB / 0.6158 GB, free: 45.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002953/0.8823, allocations: 103.1 kB / 0.6159 GB, free: 45.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009533/0.8833, allocations: 315 kB / 0.6162 GB, free: 44.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001681/0.8849, allocations: 1.578 MB / 0.6177 GB, free: 43.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02421/0.9092, allocations: 13.76 MB / 0.6312 GB, free: 29.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2384/1.148, allocations: 74.33 MB / 0.7038 GB, free: 24.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02095/1.169, allocations: 7.743 MB / 0.7113 GB, free: 23.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02722/1.196, allocations: 18.7 MB / 0.7296 GB, free: 18.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/1.196, allocations: 67.31 kB / 0.7296 GB, free: 18.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=286): time 5.951e-06/1.196, allocations: 0 / 0.7296 GB, free: 18.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=367): time 0.1645/1.36, allocations: 50.49 MB / 0.779 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/1.361, allocations: 276.8 kB / 0.7792 GB, free: 336 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009005/1.37, allocations: 5.443 MB / 0.7845 GB, free: 11.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007594/1.37, allocations: 81.7 kB / 0.7846 GB, free: 11.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003246/1.374, allocations: 4.753 MB / 0.7892 GB, free: 7.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001689/1.375, allocations: 1.352 MB / 0.7906 GB, free: 6.391 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/1.376, allocations: 184.9 kB / 0.7907 GB, free: 6.211 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004523/1.376, allocations: 0.6904 MB / 0.7914 GB, free: 5.621 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005488/1.382, allocations: 3.812 MB / 0.7951 GB, free: 2.406 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01037/1.392, allocations: 9.069 MB / 0.804 GB, free: 7.594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008138/1.4, allocations: 5.682 MB / 0.8095 GB, free: 2.051 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.831e-05/1.4, allocations: 52 kB / 0.8096 GB, free: 2 MB / 426.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.03846/1.439, allocations: 16.7 MB / 0.8259 GB, free: 1.598 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/1.439, allocations: 87.91 kB / 0.826 GB, free: 1.512 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/1.439, allocations: 184.2 kB / 0.8262 GB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.193/1.632, allocations: 4.142 MB / 0.8302 GB, free: 107.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006917/1.639, allocations: 2.039 MB / 0.8322 GB, free: 107.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03477/1.674, allocations: 22.89 MB / 0.8546 GB, free: 104.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008377/1.682, allocations: 0.546 MB / 0.8551 GB, free: 104.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002297/1.685, allocations: 0.5355 MB / 0.8556 GB, free: 104.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (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.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 (1083): * Single equations (assignments): 1078 * 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,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007371/1.692, allocations: 3.117 MB / 0.8587 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/1.694, allocations: 0.5724 MB / 0.8592 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01914/1.713, allocations: 9.848 MB / 0.8688 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.986e-05/1.713, allocations: 37.91 kB / 0.8689 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.142e-05/1.713, allocations: 15.06 kB / 0.8689 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.869e-05/1.713, allocations: 20.33 kB / 0.8689 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03535/1.748, allocations: 19.26 MB / 0.8877 GB, free: 94.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-05/1.748, allocations: 6.672 kB / 0.8877 GB, free: 94.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002655/1.751, allocations: 0.5019 MB / 0.8882 GB, free: 94.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01111/1.762, allocations: 3.619 MB / 0.8917 GB, free: 93.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007424/1.763, allocations: 58.12 kB / 0.8918 GB, free: 93.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.024/1.787, allocations: 19.81 MB / 0.9111 GB, free: 84.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.787, allocations: 2.906 kB / 0.9111 GB, free: 84.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02197/1.809, allocations: 14.35 MB / 0.9252 GB, free: 72.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003215/1.812, allocations: 1.126 MB / 0.9263 GB, free: 71.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006141/1.813, allocations: 59 kB / 0.9263 GB, free: 71.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002449/1.815, allocations: 233.2 kB / 0.9265 GB, free: 71.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005733/1.816, allocations: 219 kB / 0.9267 GB, free: 71.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.816, allocations: 95.5 kB / 0.9268 GB, free: 71.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004529/1.821, allocations: 3.786 MB / 0.9305 GB, free: 67.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.821, allocations: 0 / 0.9305 GB, free: 67.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006013/1.827, allocations: 1.856 MB / 0.9323 GB, free: 65.91 MB / 442.7 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%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005033/1.827, allocations: 223.4 kB / 0.9326 GB, free: 65.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01167/1.839, allocations: 9.724 MB / 0.9421 GB, free: 56.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.839, allocations: 5.812 kB / 0.9421 GB, free: 56.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004224/1.843, allocations: 3.789 MB / 0.9458 GB, free: 52.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/1.846, allocations: 0.7119 MB / 0.9465 GB, free: 51.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0235/1.87, allocations: 18.39 MB / 0.9644 GB, free: 33.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005003/1.875, allocations: 5.004 MB / 0.9693 GB, free: 28.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006657/1.882, allocations: 2.805 MB / 0.972 GB, free: 25.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009995/1.883, allocations: 383.4 kB / 0.9724 GB, free: 25.36 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/1.883, allocations: 0 / 0.9724 GB, free: 25.36 MB / 442.7 MB Notification: Performance of Templates: time 0.2967/2.179, allocations: 75.62 MB / 1.046 GB, free: 90.23 MB / 442.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (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)