Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001271/0.001271, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001388/0.001388, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.33/1.33, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.001223/0.001223, allocations: 52.39 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2432, allocations: 46.63 MB / 324.9 MB, free: 2.219 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.06974/0.3129, allocations: 73.23 MB / 398.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03674/0.3497, allocations: 14.59 MB / 412.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01402/0.3639, allocations: 323.2 kB / 413 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008434/0.3723, allocations: 4.207 MB / 417.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007391/0.3798, allocations: 2.569 MB / 419.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.3835, allocations: 1.381 MB / 421.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01242/0.3959, allocations: 8.378 MB / 429.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008882/0.4049, allocations: 5.667 MB / 435.2 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005068/0.41, allocations: 2.753 MB / 437.9 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005975/0.416, allocations: 4.273 MB / 442.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001811/0.4178, allocations: 0.5352 MB / 442.8 MB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003912/0.4217, allocations: 1.639 MB / 444.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004599/0.4264, allocations: 3.406 MB / 447.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006252/0.4326, allocations: 3.694 MB / 451.5 MB, free: 5.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2165/0.6492, allocations: 10.96 MB / 462.4 MB, free: 20.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.6492, allocations: 0 / 462.4 MB, free: 20.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.6492, allocations: 0.75 kB / 462.4 MB, free: 20.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004625/0.6497, allocations: 0 / 462.4 MB, free: 20.83 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.02703/0.6767, allocations: 8.238 MB / 470.7 MB, free: 17.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6768, allocations: 7.469 kB / 470.7 MB, free: 17.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02678/0.7036, allocations: 3.679 MB / 474.4 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.7175, allocations: 5.492 MB / 479.9 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004315/0.7179, allocations: 365 kB / 480.2 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003423/0.7214, allocations: 0.5232 MB / 480.7 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03849/0.7599, allocations: 16.25 MB / 497 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003322/0.7603, allocations: 80.19 kB / 497.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001651/0.7619, allocations: 234 kB / 497.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004353/0.7663, allocations: 2.925 MB / 0.4885 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02775/0.7941, allocations: 13.7 MB / 0.5019 GB, free: 0.8008 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.09561/0.8897, allocations: 64.85 MB / 0.5652 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02309/0.9129, allocations: 7.864 MB / 0.5729 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006994/0.9199, allocations: 4.346 MB / 0.5771 GB, free: 2.617 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03695/0.9569, allocations: 19.37 MB / 0.596 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.268e-05/0.957, allocations: 64.56 kB / 0.5961 GB, free: 14.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 6.121e-06/0.957, allocations: 0 / 0.5961 GB, free: 14.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=372): time 0.3987/1.356, allocations: 49.91 MB / 0.6448 GB, free: 220 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.356, allocations: 271.7 kB / 0.6451 GB, free: 219.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008349/1.364, allocations: 6.091 MB / 0.6511 GB, free: 217.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/1.365, allocations: 77.42 kB / 0.6511 GB, free: 217.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002426/1.368, allocations: 4.677 MB / 0.6557 GB, free: 213.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00166/1.37, allocations: 1.368 MB / 0.657 GB, free: 212.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0027/1.372, allocations: 1.918 MB / 0.6589 GB, free: 212 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.752e-05/1.372, allocations: 306.4 kB / 0.6592 GB, free: 211.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005651/1.378, allocations: 4.218 MB / 0.6633 GB, free: 208.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008402/1.386, allocations: 9.458 MB / 0.6726 GB, free: 197.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/1.402, allocations: 14.64 MB / 0.6868 GB, free: 180.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001788/1.403, allocations: 52 kB / 0.6869 GB, free: 180.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03883/1.441, allocations: 17.56 MB / 0.704 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002383/1.442, allocations: 87.28 kB / 0.7041 GB, free: 163 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003266/1.442, allocations: 180 kB / 0.7043 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01441/1.456, allocations: 4.561 MB / 0.7087 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007392/1.464, allocations: 2.129 MB / 0.7108 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03214/1.496, allocations: 25.38 MB / 0.7356 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00885/1.505, allocations: 0.5304 MB / 0.7361 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002464/1.507, allocations: 0.5429 MB / 0.7367 GB, free: 129.4 MB / 0.4981 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.008068/1.515, allocations: 3.127 MB / 0.7397 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001845/1.517, allocations: 0.5706 MB / 0.7403 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02342/1.541, allocations: 10.7 MB / 0.7507 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-05/1.541, allocations: 39.94 kB / 0.7508 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.245e-05/1.541, allocations: 20 kB / 0.7508 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-05/1.541, allocations: 19.92 kB / 0.7508 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04818/1.589, allocations: 20.51 MB / 0.7708 GB, free: 94.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.268e-05/1.589, allocations: 4 kB / 0.7708 GB, free: 94.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003143/1.592, allocations: 0.5344 MB / 0.7714 GB, free: 93.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01267/1.605, allocations: 4.199 MB / 0.7755 GB, free: 89.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001066/1.606, allocations: 63.98 kB / 0.7755 GB, free: 89.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0295/1.636, allocations: 23.15 MB / 0.7981 GB, free: 66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.636, allocations: 5.875 kB / 0.7981 GB, free: 65.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03288/1.669, allocations: 15.63 MB / 0.8134 GB, free: 50.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003806/1.673, allocations: 1.177 MB / 0.8145 GB, free: 49.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001576/1.674, allocations: 56 kB / 0.8146 GB, free: 49.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003483/1.678, allocations: 219.6 kB / 0.8148 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008245/1.679, allocations: 229.9 kB / 0.815 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002821/1.679, allocations: 95.98 kB / 0.8151 GB, free: 48.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00593/1.685, allocations: 3.809 MB / 0.8188 GB, free: 44.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.685, allocations: 0 / 0.8188 GB, free: 44.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01077/1.696, allocations: 1.932 MB / 0.8207 GB, free: 42.76 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.0009718/1.697, allocations: 220.1 kB / 0.8209 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02471/1.721, allocations: 15.42 MB / 0.836 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.721, allocations: 4 kB / 0.836 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.1897/1.911, allocations: 4.117 MB / 0.84 GB, free: 213 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006473/1.918, allocations: 0.7731 MB / 0.8408 GB, free: 213 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03082/1.948, allocations: 19.7 MB / 0.86 GB, free: 205.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005967/1.954, allocations: 4.879 MB / 0.8648 GB, free: 204.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007688/1.962, allocations: 2.786 MB / 0.8675 GB, free: 204.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/1.964, allocations: 385.3 kB / 0.8679 GB, free: 204.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.212e-06/1.964, allocations: 4 kB / 0.8679 GB, free: 204.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.1486/2.112, allocations: 84.88 MB / 0.9508 GB, free: 123.3 MB / 0.4981 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1)