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.00201/0.00201, allocations: 188.1 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.409/1.409, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001529/0.001529, allocations: 115.5 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.408e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1182, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3611/0.4793, allocations: 96.1 MB / 438.7 MB, free: 52 kB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.4795, allocations: 85.77 kB / 438.8 MB, free: 8 kB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5108/0.9904, allocations: 133 MB / 0.5584 GB, free: 68.65 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.9904, allocations: 0.9688 kB / 0.5584 GB, free: 68.65 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.000409/0.9909, allocations: 132.1 kB / 0.5585 GB, free: 68.64 MB / 395.1 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.02403/1.015, allocations: 7.043 MB / 0.5654 GB, free: 66.02 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/1.015, allocations: 9.906 kB / 0.5654 GB, free: 66.02 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02913/1.044, allocations: 7.565 MB / 0.5728 GB, free: 65.53 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02122/1.065, allocations: 9.674 MB / 0.5823 GB, free: 64.43 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/1.066, allocations: 210.6 kB / 0.5825 GB, free: 64.43 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/1.067, allocations: 393.8 kB / 0.5828 GB, free: 64.41 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01288/1.08, allocations: 9.687 MB / 0.5923 GB, free: 61.12 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02063/1.101, allocations: 14.24 MB / 0.6062 GB, free: 53.18 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003699/1.101, allocations: 101.9 kB / 0.6063 GB, free: 53.08 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00157/1.103, allocations: 44 kB / 0.6063 GB, free: 53.04 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002063/1.105, allocations: 1.587 MB / 0.6079 GB, free: 51.72 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.296/1.401, allocations: 73.67 MB / 0.6798 GB, free: 38.5 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00652/1.408, allocations: 5.237 MB / 0.6849 GB, free: 37.84 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004119/1.412, allocations: 3.769 MB / 0.6886 GB, free: 37.8 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002046/1.414, allocations: 2.258 MB / 0.6908 GB, free: 35.82 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.82e-05/1.414, allocations: 67.25 kB / 0.6909 GB, free: 35.78 MB / 411.1 MB Notification: Performance of pre-optimization done (n=301): time 6.532e-06/1.414, allocations: 0 / 0.6909 GB, free: 35.78 MB / 411.1 MB Notification: Performance of matching and sorting (n=381): time 0.1005/1.515, allocations: 40.66 MB / 0.7306 GB, free: 26.5 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/1.515, allocations: 266 kB / 0.7309 GB, free: 26.22 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008069/1.523, allocations: 4.641 MB / 0.7354 GB, free: 24.59 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001014/1.524, allocations: 28.55 kB / 0.7354 GB, free: 24.56 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003005/1.527, allocations: 4.777 MB / 0.7401 GB, free: 21.04 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001857/1.529, allocations: 1.353 MB / 0.7414 GB, free: 20.02 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007619/1.53, allocations: 0 / 0.7414 GB, free: 20.02 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0004794/1.53, allocations: 0.7054 MB / 0.7421 GB, free: 19.54 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004818/1.535, allocations: 3.651 MB / 0.7457 GB, free: 18.21 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008849/1.544, allocations: 8.917 MB / 0.7544 GB, free: 9.785 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009357/1.553, allocations: 5.581 MB / 0.7598 GB, free: 8.016 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002449/1.553, allocations: 54.98 kB / 0.7599 GB, free: 8.012 MB / 411.1 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.03632/1.59, allocations: 15.53 MB / 0.775 GB, free: 15.42 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/1.59, allocations: 88 kB / 0.7751 GB, free: 15.33 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002731/1.59, allocations: 184 kB / 0.7753 GB, free: 15.15 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01319/1.603, allocations: 4.085 MB / 0.7793 GB, free: 12.31 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008332/1.612, allocations: 2.106 MB / 0.7813 GB, free: 10.47 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0342/1.646, allocations: 21.04 MB / 0.8019 GB, free: 8.496 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008792/1.655, allocations: 380.2 kB / 0.8022 GB, free: 8.203 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002145/1.657, allocations: 0.5453 MB / 0.8028 GB, free: 7.672 MB / 443.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1121): * Single equations (assignments): 1116 * 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.002138/1.659, allocations: 0.5859 MB / 0.8034 GB, free: 7.086 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.661, allocations: 0.5399 MB / 0.8039 GB, free: 6.539 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02211/1.683, allocations: 9.595 MB / 0.8133 GB, free: 15.27 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.439e-05/1.683, allocations: 42.27 kB / 0.8133 GB, free: 15.23 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.241e-05/1.683, allocations: 16 kB / 0.8133 GB, free: 15.21 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-05/1.683, allocations: 14.81 kB / 0.8133 GB, free: 15.21 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2717/1.955, allocations: 18.15 MB / 0.831 GB, free: 110.9 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.786e-05/1.955, allocations: 2 kB / 0.831 GB, free: 110.9 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/1.958, allocations: 0.5319 MB / 0.8316 GB, free: 110.9 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01153/1.969, allocations: 3.51 MB / 0.835 GB, free: 110.9 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001199/1.971, allocations: 19.06 kB / 0.835 GB, free: 110.9 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02457/1.995, allocations: 17.66 MB / 0.8523 GB, free: 108.4 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/1.995, allocations: 6.25 kB / 0.8523 GB, free: 108.4 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02756/2.023, allocations: 14.29 MB / 0.8662 GB, free: 107.1 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00466/2.028, allocations: 1.088 MB / 0.8673 GB, free: 106.8 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002095/2.03, allocations: 11.56 kB / 0.8673 GB, free: 106.8 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003572/2.033, allocations: 171.6 kB / 0.8675 GB, free: 106.8 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006955/2.034, allocations: 235.7 kB / 0.8677 GB, free: 106.7 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002916/2.034, allocations: 98.31 kB / 0.8678 GB, free: 106.7 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.006193/2.041, allocations: 3.124 MB / 0.8708 GB, free: 105.6 MB / 459.1 MB Notification: Performance of sort global known variables: time 5.81e-07/2.041, allocations: 0 / 0.8708 GB, free: 105.6 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.01023/2.051, allocations: 1.611 MB / 0.8724 GB, free: 105.6 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 279 * 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.0008421/2.052, allocations: 174.7 kB / 0.8726 GB, free: 105.5 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.01326/2.065, allocations: 9.23 MB / 0.8816 GB, free: 102.5 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/2.065, allocations: 0 / 0.8816 GB, free: 102.5 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005185/2.07, allocations: 3.669 MB / 0.8852 GB, free: 100.9 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004261/2.075, allocations: 0.5884 MB / 0.8857 GB, free: 100.7 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02424/2.099, allocations: 13.06 MB / 0.8985 GB, free: 96.16 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006188/2.105, allocations: 5.015 MB / 0.9034 GB, free: 94.59 MB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.007687/2.113, allocations: 2.882 MB / 0.9062 GB, free: 94.53 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/2.114, allocations: 363.8 kB / 0.9066 GB, free: 94.52 MB / 459.1 MB Notification: Performance of SimCode: time 1.242e-06/2.114, allocations: 2.688 kB / 0.9066 GB, free: 94.52 MB / 459.1 MB Notification: Performance of Templates: time 0.1074/2.221, allocations: 69.18 MB / 0.9741 GB, free: 43.82 MB / 459.1 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)