Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.004672/0.004672, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001078/0.001078, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.459/1.459, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001155/0.001155, allocations: 52.8 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.107, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01832/0.1254, allocations: 17.32 MB / 390.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.1381, allocations: 5.499 MB / 396 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003971/0.1422, allocations: 115.6 kB / 396.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008756/0.1509, allocations: 4.376 MB / 400.5 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008519/0.1595, allocations: 2.844 MB / 403.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003828/0.1634, allocations: 1.455 MB / 404.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01365/0.177, allocations: 8.152 MB / 413 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009302/0.1864, allocations: 5.383 MB / 418.3 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005849/0.1923, allocations: 2.687 MB / 421 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007596/0.1999, allocations: 3.863 MB / 424.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00231/0.2022, allocations: 0.5391 MB / 425.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004808/0.2071, allocations: 1.619 MB / 427 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004997/0.2121, allocations: 3.406 MB / 430.5 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006708/0.2188, allocations: 3.666 MB / 434.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.2328, allocations: 11.23 MB / 445.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2329, allocations: 0 / 445.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2329, allocations: 4 kB / 445.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004432/0.2333, allocations: 4 kB / 445.4 MB, free: 8.82 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.02229/0.2556, allocations: 8.218 MB / 453.6 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2557, allocations: 12.03 kB / 453.6 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2517/0.5074, allocations: 3.67 MB / 457.3 MB, free: 40.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01462/0.5221, allocations: 5.599 MB / 462.9 MB, free: 39.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/0.5224, allocations: 372.7 kB / 463.2 MB, free: 39.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001851/0.5243, allocations: 0.5139 MB / 463.7 MB, free: 39.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0298/0.5541, allocations: 16.25 MB / 480 MB, free: 34.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000269/0.5544, allocations: 77.38 kB / 480.1 MB, free: 34.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008955/0.5553, allocations: 235.3 kB / 480.3 MB, free: 34.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004092/0.5594, allocations: 2.929 MB / 483.2 MB, free: 32.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02576/0.5852, allocations: 13.71 MB / 496.9 MB, free: 19.26 MB / 382.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.0785/0.6637, allocations: 64.56 MB / 0.5483 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02281/0.6866, allocations: 7.857 MB / 0.556 GB, free: 9.777 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005866/0.6925, allocations: 4.349 MB / 0.5602 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02937/0.7219, allocations: 19.37 MB / 0.5792 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.867e-05/0.722, allocations: 64.56 kB / 0.5792 GB, free: 1.539 MB / 462.1 MB Notification: Performance of pre-optimization done (n=290): time 6.492e-06/0.722, allocations: 0 / 0.5792 GB, free: 1.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=372): time 0.1742/0.8962, allocations: 49.92 MB / 0.628 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.8964, allocations: 273.3 kB / 0.6282 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/0.9075, allocations: 6.099 MB / 0.6342 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009865/0.9085, allocations: 85.7 kB / 0.6343 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003549/0.9121, allocations: 4.677 MB / 0.6388 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00235/0.9144, allocations: 1.367 MB / 0.6402 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003033/0.9175, allocations: 1.916 MB / 0.642 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.9176, allocations: 303.3 kB / 0.6423 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2228/1.14, allocations: 4.218 MB / 0.6464 GB, free: 191.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/1.151, allocations: 9.453 MB / 0.6557 GB, free: 183.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01499/1.166, allocations: 14.63 MB / 0.67 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000222/1.166, allocations: 56.47 kB / 0.67 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03382/1.2, allocations: 17.54 MB / 0.6871 GB, free: 166.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/1.2, allocations: 87.89 kB / 0.6872 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001916/1.201, allocations: 180 kB / 0.6874 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01395/1.214, allocations: 4.545 MB / 0.6918 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007962/1.222, allocations: 2.133 MB / 0.6939 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03096/1.253, allocations: 25.37 MB / 0.7187 GB, free: 135.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008691/1.262, allocations: 0.5281 MB / 0.7192 GB, free: 135.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/1.264, allocations: 0.5351 MB / 0.7197 GB, free: 134.8 MB / 0.5137 GB 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.005341/1.269, allocations: 3.122 MB / 0.7228 GB, free: 131.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/1.271, allocations: 0.567 MB / 0.7233 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02025/1.291, allocations: 10.72 MB / 0.7338 GB, free: 120.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.234e-05/1.291, allocations: 36 kB / 0.7338 GB, free: 120.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.505e-05/1.291, allocations: 20 kB / 0.7339 GB, free: 120.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-05/1.291, allocations: 15.94 kB / 0.7339 GB, free: 120.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03526/1.326, allocations: 20.37 MB / 0.7538 GB, free: 100.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-05/1.326, allocations: 4 kB / 0.7538 GB, free: 100.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00288/1.329, allocations: 0.5305 MB / 0.7543 GB, free: 99.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01253/1.342, allocations: 4.187 MB / 0.7584 GB, free: 95.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000906/1.343, allocations: 66.42 kB / 0.7584 GB, free: 95.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02762/1.371, allocations: 23.12 MB / 0.781 GB, free: 72.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.371, allocations: 9.062 kB / 0.781 GB, free: 72.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02589/1.396, allocations: 15.65 MB / 0.7963 GB, free: 56.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004752/1.401, allocations: 1.181 MB / 0.7975 GB, free: 55.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001897/1.403, allocations: 56.88 kB / 0.7975 GB, free: 55.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004187/1.407, allocations: 219.7 kB / 0.7977 GB, free: 55.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001141/1.409, allocations: 222.2 kB / 0.7979 GB, free: 54.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003122/1.409, allocations: 103.2 kB / 0.798 GB, free: 54.69 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005594/1.415, allocations: 3.805 MB / 0.8018 GB, free: 50.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/1.415, allocations: 3.938 kB / 0.8018 GB, free: 50.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009187/1.424, allocations: 1.931 MB / 0.8036 GB, free: 48.96 MB / 0.5137 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.0008447/1.425, allocations: 220.8 kB / 0.8039 GB, free: 48.74 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01559/1.44, allocations: 10.52 MB / 0.8141 GB, free: 38.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.44, allocations: 0 / 0.8141 GB, free: 38.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005503/1.446, allocations: 4.131 MB / 0.8182 GB, free: 34.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00494/1.451, allocations: 0.7792 MB / 0.8189 GB, free: 33.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2428/1.694, allocations: 16.27 MB / 0.8348 GB, free: 176.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008495/1.702, allocations: 4.875 MB / 0.8396 GB, free: 175.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006513/1.709, allocations: 2.788 MB / 0.8423 GB, free: 175.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/1.71, allocations: 386.5 kB / 0.8427 GB, free: 175.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/1.71, allocations: 0 / 0.8427 GB, free: 175.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.1217/1.831, allocations: 80.26 MB / 0.9211 GB, free: 109.8 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1)