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.001404/0.001404, allocations: 112.6 kB / 17.07 MB, free: 5.984 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.001596/0.001596, allocations: 191 kB / 18 MB, free: 5.078 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.427/1.427, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001291/0.001291, allocations: 51.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1014, allocations: 46.62 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.2196/0.3211, allocations: 17.33 MB / 391.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.3347, allocations: 5.495 MB / 397.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003924/0.3387, allocations: 121.7 kB / 397.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009217/0.348, allocations: 4.365 MB / 401.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009708/0.3577, allocations: 2.759 MB / 404.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004553/0.3623, allocations: 1.46 MB / 406 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01411/0.3764, allocations: 8.148 MB / 414.2 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009396/0.3859, allocations: 5.39 MB / 419.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006504/0.3924, allocations: 2.691 MB / 422.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006651/0.3991, allocations: 3.856 MB / 426.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002142/0.4013, allocations: 0.5391 MB / 426.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00469/0.406, allocations: 1.619 MB / 428.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005119/0.4111, allocations: 3.343 MB / 431.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006767/0.4179, allocations: 3.666 MB / 435.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01538/0.4333, allocations: 11.28 MB / 446.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4334, allocations: 0 / 446.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4334, allocations: 0 / 446.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003825/0.4338, allocations: 0 / 446.6 MB, free: 7.27 MB / 366.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.02112/0.4549, allocations: 8.444 MB / 455 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.455, allocations: 12.03 kB / 455 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03044/0.4854, allocations: 3.717 MB / 458.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/0.4985, allocations: 5.624 MB / 464.4 MB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004156/0.499, allocations: 373.4 kB / 464.7 MB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002396/0.5014, allocations: 0.5152 MB / 465.2 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03424/0.5357, allocations: 16.23 MB / 481.5 MB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004035/0.5361, allocations: 83.41 kB / 481.6 MB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001903/0.538, allocations: 235.8 kB / 481.8 MB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005546/0.5436, allocations: 2.93 MB / 484.7 MB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03323/0.5769, allocations: 13.7 MB / 498.4 MB, free: 2.129 MB / 414.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.3053/0.8823, allocations: 64.66 MB / 0.5499 GB, free: 135 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02468/0.907, allocations: 7.872 MB / 0.5576 GB, free: 134.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007227/0.9142, allocations: 4.34 MB / 0.5618 GB, free: 134 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02712/0.9414, allocations: 19.38 MB / 0.5807 GB, free: 124.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.9415, allocations: 63.62 kB / 0.5808 GB, free: 124.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=290): time 6.111e-06/0.9415, allocations: 0 / 0.5808 GB, free: 124.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=372): time 0.1537/1.095, allocations: 50.3 MB / 0.6299 GB, free: 88.62 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/1.095, allocations: 269.8 kB / 0.6302 GB, free: 88.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007136/1.103, allocations: 6.111 MB / 0.6361 GB, free: 82.19 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008912/1.103, allocations: 81.7 kB / 0.6362 GB, free: 82.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002152/1.106, allocations: 4.853 MB / 0.641 GB, free: 77.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001566/1.107, allocations: 1.434 MB / 0.6424 GB, free: 75.86 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002287/1.109, allocations: 1.933 MB / 0.6442 GB, free: 73.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.386e-05/1.11, allocations: 305.1 kB / 0.6445 GB, free: 73.61 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00491/1.114, allocations: 4.227 MB / 0.6487 GB, free: 69.38 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007022/1.121, allocations: 9.453 MB / 0.6579 GB, free: 57.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/1.136, allocations: 14.62 MB / 0.6722 GB, free: 40.38 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001564/1.136, allocations: 52 kB / 0.6722 GB, free: 40.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03519/1.172, allocations: 17.58 MB / 0.6894 GB, free: 22.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/1.172, allocations: 80 kB / 0.6895 GB, free: 22.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002616/1.172, allocations: 180.9 kB / 0.6896 GB, free: 22.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01371/1.186, allocations: 4.559 MB / 0.6941 GB, free: 17.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007237/1.193, allocations: 2.129 MB / 0.6962 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03553/1.229, allocations: 25.39 MB / 0.721 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008086/1.237, allocations: 0.5267 MB / 0.7215 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001819/1.239, allocations: 0.5429 MB / 0.722 GB, free: 5.02 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * 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 (1136): * Single equations (assignments): 1131 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006654/1.245, allocations: 3.12 MB / 0.7251 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/1.247, allocations: 0.6014 MB / 0.7256 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3207/1.568, allocations: 10.71 MB / 0.7361 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-05/1.568, allocations: 37.28 kB / 0.7361 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.76e-05/1.568, allocations: 17.78 kB / 0.7361 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.817e-05/1.568, allocations: 20.92 kB / 0.7362 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04752/1.616, allocations: 20.38 MB / 0.7561 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.385e-05/1.616, allocations: 1.375 kB / 0.7561 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002933/1.619, allocations: 0.5349 MB / 0.7566 GB, free: 155.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01261/1.631, allocations: 4.183 MB / 0.7607 GB, free: 154.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000645/1.632, allocations: 62.56 kB / 0.7607 GB, free: 154.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03074/1.663, allocations: 23.15 MB / 0.7833 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.663, allocations: 0 / 0.7833 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02533/1.688, allocations: 15.66 MB / 0.7986 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00408/1.692, allocations: 1.209 MB / 0.7998 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002519/1.695, allocations: 61.22 kB / 0.7999 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004731/1.699, allocations: 211.7 kB / 0.8001 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001265/1.701, allocations: 229.6 kB / 0.8003 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005581/1.701, allocations: 95.98 kB / 0.8004 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.009498/1.711, allocations: 3.809 MB / 0.8041 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.81e-07/1.711, allocations: 0 / 0.8041 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01325/1.724, allocations: 1.937 MB / 0.806 GB, free: 120.9 MB / 0.4981 GB 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 (272): * Single equations (assignments): 267 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001496/1.726, allocations: 218.4 kB / 0.8062 GB, free: 120.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01665/1.742, allocations: 10.53 MB / 0.8165 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.742, allocations: 4 kB / 0.8165 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00645/1.749, allocations: 4.128 MB / 0.8205 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007315/1.756, allocations: 0.7856 MB / 0.8213 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03254/1.789, allocations: 16.52 MB / 0.8374 GB, free: 88.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007716/1.797, allocations: 4.879 MB / 0.8422 GB, free: 84.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007608/1.804, allocations: 2.793 MB / 0.8449 GB, free: 81.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/1.806, allocations: 383.4 kB / 0.8453 GB, free: 80.88 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/1.806, allocations: 0 / 0.8453 GB, free: 80.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.335/2.141, allocations: 80.28 MB / 0.9237 GB, free: 146 MB / 0.4981 GB 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)