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.0008256/0.0008257, allocations: 88.06 kB / 16.31 MB, free: 5.648 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.0008567/0.0008568, allocations: 180.3 kB / 17.21 MB, free: 5.57 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.472/1.472, allocations: 205.4 MB / 223.4 MB, free: 5.211 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.000517/0.000517, allocations: 12 kB / 280.1 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2583, allocations: 47.58 MB / 327.7 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.06208/0.3204, allocations: 66.42 MB / 394.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03455/0.355, allocations: 14.01 MB / 408.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01356/0.3686, allocations: 319.2 kB / 408.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01264/0.3813, allocations: 3.425 MB / 411.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03083/0.4122, allocations: 10.2 MB / 422.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006098/0.4183, allocations: 1.283 MB / 423.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2813/0.6996, allocations: 37.33 MB / 460.7 MB, free: 34.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.7102, allocations: 6.378 MB / 467.1 MB, free: 33.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004743/0.715, allocations: 2.257 MB / 469.4 MB, free: 33.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005702/0.7207, allocations: 3.695 MB / 473 MB, free: 33.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00169/0.7224, allocations: 248.5 kB / 473.3 MB, free: 33.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.7259, allocations: 1.199 MB / 474.5 MB, free: 33.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003408/0.7294, allocations: 2.997 MB / 477.5 MB, free: 33.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.7314, allocations: 1.304 MB / 478.8 MB, free: 33.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009775/0.7412, allocations: 8.54 MB / 487.3 MB, free: 31.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.7412, allocations: 6.328 kB / 487.3 MB, free: 31.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7412, allocations: 2.344 kB / 487.3 MB, free: 31.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004804/0.7417, allocations: 0 / 487.3 MB, free: 31.45 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.01922/0.7609, allocations: 6.908 MB / 494.2 MB, free: 27.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.761, allocations: 9.219 kB / 494.3 MB, free: 27.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02489/0.7859, allocations: 3.769 MB / 498 MB, free: 25.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/0.7986, allocations: 5.4 MB / 0.4916 GB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003113/0.799, allocations: 372.5 kB / 0.492 GB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002047/0.801, allocations: 0.5079 MB / 0.4925 GB, free: 22.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02853/0.8296, allocations: 16.27 MB / 0.5084 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002741/0.8299, allocations: 78.62 kB / 0.5084 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009425/0.8308, allocations: 236.5 kB / 0.5087 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003947/0.8348, allocations: 2.933 MB / 0.5115 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02711/0.8619, allocations: 13.7 MB / 0.5249 GB, free: 13.49 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.09235/0.9543, allocations: 64.8 MB / 0.5882 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02326/0.9776, allocations: 7.978 MB / 0.596 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006593/0.9843, allocations: 4.333 MB / 0.6002 GB, free: 7.855 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0329/1.017, allocations: 19.37 MB / 0.6191 GB, free: 4.023 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.251e-05/1.017, allocations: 64.56 kB / 0.6192 GB, free: 3.949 MB / 478.1 MB Notification: Performance of pre-optimization done (n=290): time 7.644e-06/1.017, allocations: 1.969 kB / 0.6192 GB, free: 3.949 MB / 478.1 MB Notification: Performance of matching and sorting (n=372): time 0.3263/1.344, allocations: 50.55 MB / 0.6685 GB, free: 169.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.344, allocations: 269.8 kB / 0.6688 GB, free: 169.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007061/1.351, allocations: 6.056 MB / 0.6747 GB, free: 163.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000781/1.352, allocations: 81.7 kB / 0.6748 GB, free: 163.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/1.354, allocations: 4.679 MB / 0.6794 GB, free: 158.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001477/1.355, allocations: 1.37 MB / 0.6807 GB, free: 157.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005139/1.356, allocations: 192 kB / 0.6809 GB, free: 157.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003597/1.356, allocations: 0.7151 MB / 0.6816 GB, free: 156.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005757/1.362, allocations: 4.184 MB / 0.6857 GB, free: 152.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00969/1.372, allocations: 9.414 MB / 0.6949 GB, free: 140.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009436/1.381, allocations: 6.073 MB / 0.7008 GB, free: 134.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001703/1.382, allocations: 52 kB / 0.7008 GB, free: 134.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03359/1.415, allocations: 17.51 MB / 0.7179 GB, free: 116.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.415, allocations: 88.03 kB / 0.718 GB, free: 116.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/1.415, allocations: 182.1 kB / 0.7182 GB, free: 116.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01283/1.428, allocations: 4.6 MB / 0.7227 GB, free: 111.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007171/1.436, allocations: 2.129 MB / 0.7248 GB, free: 109.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02972/1.465, allocations: 23.74 MB / 0.748 GB, free: 85.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008007/1.473, allocations: 0.5233 MB / 0.7485 GB, free: 85.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002465/1.476, allocations: 0.5475 MB / 0.749 GB, free: 84.54 MB / 478.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 (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,(2,100.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006129/1.482, allocations: 3.117 MB / 0.752 GB, free: 81.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.483, allocations: 0.5709 MB / 0.7526 GB, free: 80.82 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0202/1.503, allocations: 10.73 MB / 0.7631 GB, free: 70.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.625e-05/1.503, allocations: 36 kB / 0.7631 GB, free: 70 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.019e-05/1.504, allocations: 20 kB / 0.7631 GB, free: 69.98 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.25e-05/1.504, allocations: 15.94 kB / 0.7632 GB, free: 69.97 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03672/1.54, allocations: 20.55 MB / 0.7832 GB, free: 49.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.064e-05/1.54, allocations: 0 / 0.7832 GB, free: 49.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/1.543, allocations: 0.5344 MB / 0.7837 GB, free: 48.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01215/1.555, allocations: 4.22 MB / 0.7879 GB, free: 44.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008001/1.556, allocations: 63.98 kB / 0.7879 GB, free: 44.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2258/1.782, allocations: 21.53 MB / 0.8089 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.782, allocations: 4.5 kB / 0.8089 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02693/1.809, allocations: 15.63 MB / 0.8242 GB, free: 168.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002375/1.811, allocations: 1.187 MB / 0.8254 GB, free: 167.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008578/1.812, allocations: 61.11 kB / 0.8254 GB, free: 167.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002571/1.815, allocations: 222.7 kB / 0.8256 GB, free: 167.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006461/1.816, allocations: 225.7 kB / 0.8259 GB, free: 167.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002704/1.816, allocations: 96.8 kB / 0.826 GB, free: 167.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005283/1.821, allocations: 3.767 MB / 0.8296 GB, free: 166.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.821, allocations: 3.812 kB / 0.8296 GB, free: 166.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0088/1.83, allocations: 1.943 MB / 0.8315 GB, free: 166.2 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 (272): * Single equations (assignments): 267 * 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.0007065/1.831, allocations: 216.2 kB / 0.8317 GB, free: 166.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0144/1.845, allocations: 10.45 MB / 0.8419 GB, free: 162.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/1.845, allocations: 3.906 kB / 0.8419 GB, free: 162.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005467/1.851, allocations: 4.121 MB / 0.846 GB, free: 160.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004319/1.855, allocations: 0.7459 MB / 0.8467 GB, free: 159.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02358/1.879, allocations: 19.02 MB / 0.8653 GB, free: 142.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00514/1.884, allocations: 4.873 MB / 0.87 GB, free: 138.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006629/1.89, allocations: 2.789 MB / 0.8728 GB, free: 137.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.892, allocations: 386.9 kB / 0.8731 GB, free: 136.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.253e-06/1.892, allocations: 3.938 kB / 0.8731 GB, free: 136.8 MB / 478.1 MB Notification: Performance of Templates: time 0.1146/2.006, allocations: 78.65 MB / 0.9499 GB, free: 58.13 MB / 478.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)