Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 93.61 kB / 16.3 MB, free: 6.133 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.001296/0.001296, allocations: 177.5 kB / 17.2 MB, free: 6.016 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.344/1.344, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004414/0.0004415, allocations: 8 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07902/0.07948, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.04504/0.1245, allocations: 49.64 MB / 377.3 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.197/0.3216, allocations: 11.67 MB / 389 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0118/0.3334, allocations: 243 kB / 389.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.3434, allocations: 2.462 MB / 391.7 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02465/0.3681, allocations: 7.167 MB / 398.9 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004405/0.3726, allocations: 0.6144 MB / 399.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02007/0.3927, allocations: 14.36 MB / 413.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006989/0.3997, allocations: 5.074 MB / 418.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.4021, allocations: 1.14 MB / 420.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/0.4047, allocations: 1.481 MB / 421.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009949/0.4057, allocations: 164 kB / 421.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.4084, allocations: 0.9266 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002897/0.4113, allocations: 1.798 MB / 424.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.4132, allocations: 0.9558 MB / 425.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007118/0.4203, allocations: 6.391 MB / 431.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4203, allocations: 0 / 431.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4203, allocations: 0 / 431.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001595/0.4205, allocations: 0 / 431.8 MB, free: 6.855 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.009655/0.4302, allocations: 4.819 MB / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.4302, allocations: 9.781 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02533/0.4556, allocations: 5.123 MB / 441.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007241/0.4628, allocations: 3.085 MB / 444.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/0.4631, allocations: 267.8 kB / 445.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.4647, allocations: 354.4 kB / 445.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/0.4878, allocations: 11.71 MB / 457.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/0.488, allocations: 43.59 kB / 457.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005787/0.4886, allocations: 172.3 kB / 457.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003886/0.4925, allocations: 2.336 MB / 459.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0197/0.5122, allocations: 9.983 MB / 469.7 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0574/0.5696, allocations: 44.44 MB / 0.502 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/0.5833, allocations: 5.409 MB / 0.5073 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01585/0.5992, allocations: 8.05 MB / 0.5152 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.5993, allocations: 57.19 kB / 0.5152 GB, free: 9.152 MB / 430.1 MB Notification: Performance of pre-optimization done (n=216): time 5.841e-06/0.5993, allocations: 0 / 0.5152 GB, free: 9.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=237): time 0.05601/0.6553, allocations: 20.7 MB / 0.5355 GB, free: 4.258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.6555, allocations: 180.2 kB / 0.5356 GB, free: 4.047 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.191/0.8465, allocations: 4.872 MB / 0.5404 GB, free: 162.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006707/0.8473, allocations: 63.39 kB / 0.5404 GB, free: 162.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003228/0.8505, allocations: 3.416 MB / 0.5438 GB, free: 161.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001498/0.852, allocations: 0.8914 MB / 0.5447 GB, free: 160.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009514/0.853, allocations: 128.7 kB / 0.5448 GB, free: 160.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0007174/0.8537, allocations: 0.5883 MB / 0.5453 GB, free: 160.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/0.8585, allocations: 2.571 MB / 0.5479 GB, free: 159.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006773/0.8653, allocations: 6.449 MB / 0.5542 GB, free: 153.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006169/0.8715, allocations: 3.994 MB / 0.5581 GB, free: 152.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00017/0.8717, allocations: 39.97 kB / 0.5581 GB, free: 152.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01542/0.8871, allocations: 9.639 MB / 0.5675 GB, free: 148.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.8873, allocations: 69.83 kB / 0.5676 GB, free: 148.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/0.8874, allocations: 141.8 kB / 0.5677 GB, free: 148.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/0.8895, allocations: 0.9676 MB / 0.5687 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00494/0.8944, allocations: 1.575 MB / 0.5702 GB, free: 148.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006717/0.9012, allocations: 6.257 MB / 0.5763 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005405/0.9066, allocations: 378.3 kB / 0.5767 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/0.9077, allocations: 401 kB / 0.577 GB, free: 144.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 810 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005297/0.913, allocations: 2.382 MB / 0.5794 GB, free: 142 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009439/0.9139, allocations: 414.6 kB / 0.5798 GB, free: 141.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007019/0.921, allocations: 4.397 MB / 0.5841 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/0.921, allocations: 24 kB / 0.5841 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.921, allocations: 11.94 kB / 0.5841 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.9211, allocations: 11.95 kB / 0.5841 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/0.9378, allocations: 10.54 MB / 0.5944 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/0.9378, allocations: 4 kB / 0.5944 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/0.9398, allocations: 427.9 kB / 0.5948 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/0.9416, allocations: 0.7701 MB / 0.5956 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/0.9419, allocations: 44.86 kB / 0.5956 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006526/0.9484, allocations: 5.797 MB / 0.6013 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/0.9484, allocations: 8 kB / 0.6013 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009478/0.9579, allocations: 8.466 MB / 0.6095 GB, free: 111 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002183/0.9601, allocations: 0.8429 MB / 0.6104 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000645/0.9608, allocations: 40.94 kB / 0.6104 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/0.9625, allocations: 142.5 kB / 0.6105 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.9628, allocations: 154.9 kB / 0.6107 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/0.963, allocations: 63.98 kB / 0.6107 GB, free: 109.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004037/0.967, allocations: 3.133 MB / 0.6138 GB, free: 106.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9671, allocations: 0 / 0.6138 GB, free: 106.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005819/0.9729, allocations: 1.178 MB / 0.615 GB, free: 105.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000544/0.9734, allocations: 204.5 kB / 0.6152 GB, free: 105.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00883/0.9823, allocations: 6.245 MB / 0.6213 GB, free: 98.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.9823, allocations: 4 kB / 0.6213 GB, free: 98.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003458/0.9858, allocations: 2.312 MB / 0.6235 GB, free: 96.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/0.9892, allocations: 488.8 kB / 0.624 GB, free: 96.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/1.006, allocations: 12.93 MB / 0.6366 GB, free: 83.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003334/1.01, allocations: 3.77 MB / 0.6403 GB, free: 79.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004972/1.015, allocations: 2.223 MB / 0.6425 GB, free: 77.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008625/1.016, allocations: 299.4 kB / 0.6427 GB, free: 76.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/1.016, allocations: 0 / 0.6427 GB, free: 76.82 MB / 446.1 MB Notification: Performance of Templates: time 0.06913/1.085, allocations: 42.65 MB / 0.6844 GB, free: 34.2 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) Environment - environmentSimulation: