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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001291/0.001291, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.44/1.44, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001721/0.00172, allocations: 117.7 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.943e-05/1.945e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09692, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.4244, allocations: 93.97 MB / 436.6 MB, free: 2.133 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.4247, allocations: 85.58 kB / 436.6 MB, free: 2.09 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4296/0.8543, allocations: 95.05 MB / 0.5192 GB, free: 69.5 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.8544, allocations: 0 / 0.5192 GB, free: 69.5 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0001677/0.8546, allocations: 88.69 kB / 0.5193 GB, free: 69.5 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1734 * Number of variables: 1734 Notification: Performance of Generate backend data structure: time 0.01143/0.866, allocations: 4.661 MB / 0.5239 GB, free: 67.67 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.8661, allocations: 8.812 kB / 0.5239 GB, free: 67.67 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01782/0.8839, allocations: 4.496 MB / 0.5283 GB, free: 67.35 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.896, allocations: 5.045 MB / 0.5332 GB, free: 66.73 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.8962, allocations: 151.8 kB / 0.5333 GB, free: 66.73 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.8972, allocations: 281.7 kB / 0.5336 GB, free: 66.72 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009737/0.907, allocations: 6.983 MB / 0.5404 GB, free: 66.69 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/0.9253, allocations: 10.57 MB / 0.5507 GB, free: 63.93 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001521/0.9255, allocations: 62.16 kB / 0.5508 GB, free: 63.93 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00053/0.926, allocations: 33.12 kB / 0.5508 GB, free: 63.93 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001535/0.9276, allocations: 1.193 MB / 0.552 GB, free: 63.92 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04725/0.9748, allocations: 50.53 MB / 0.6014 GB, free: 30.12 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004077/0.9789, allocations: 4.037 MB / 0.6053 GB, free: 27.96 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/0.9813, allocations: 2.403 MB / 0.6076 GB, free: 26.97 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007156/0.9821, allocations: 0.6915 MB / 0.6083 GB, free: 26.38 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.9821, allocations: 52.62 kB / 0.6084 GB, free: 26.33 MB / 395.1 MB Notification: Performance of pre-optimization done (n=207): time 4.919e-06/0.9821, allocations: 0 / 0.6084 GB, free: 26.33 MB / 395.1 MB Notification: Performance of matching and sorting (n=229): time 0.03096/1.013, allocations: 17.08 MB / 0.625 GB, free: 19.59 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/1.013, allocations: 174.5 kB / 0.6252 GB, free: 19.41 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004748/1.018, allocations: 3.37 MB / 0.6285 GB, free: 18.07 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004946/1.018, allocations: 25.7 kB / 0.6285 GB, free: 18.04 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001688/1.02, allocations: 3.527 MB / 0.632 GB, free: 15.28 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008824/1.021, allocations: 0.841 MB / 0.6328 GB, free: 14.66 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/1.021, allocations: 0 / 0.6328 GB, free: 14.66 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000566/1.022, allocations: 0.6031 MB / 0.6334 GB, free: 30.23 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002756/1.025, allocations: 2.392 MB / 0.6357 GB, free: 29.23 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003881/1.029, allocations: 6.413 MB / 0.642 GB, free: 21.16 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00428/1.033, allocations: 3.904 MB / 0.6458 GB, free: 17.84 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.492e-05/1.033, allocations: 44.84 kB / 0.6458 GB, free: 17.79 MB / 411.1 MB Notification: Performance of matching and sorting (n=901) (initialization): time 0.0147/1.048, allocations: 8.678 MB / 0.6543 GB, free: 10.29 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.048, allocations: 71.44 kB / 0.6544 GB, free: 10.22 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/1.048, allocations: 140 kB / 0.6545 GB, free: 10.08 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002075/1.05, allocations: 0.9338 MB / 0.6554 GB, free: 9.363 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00604/1.056, allocations: 1.662 MB / 0.657 GB, free: 7.941 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0075/1.064, allocations: 5.503 MB / 0.6624 GB, free: 3.039 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005318/1.069, allocations: 259.3 kB / 0.6627 GB, free: 2.84 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001681/1.071, allocations: 420.5 kB / 0.6631 GB, free: 2.441 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 39 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 849 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002103/1.073, allocations: 473.7 kB / 0.6635 GB, free: 1.973 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/1.074, allocations: 367.2 kB / 0.6639 GB, free: 1.609 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2244/1.298, allocations: 3.949 MB / 0.6677 GB, free: 74.82 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.746e-05/1.299, allocations: 23.28 kB / 0.6678 GB, free: 74.82 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/1.299, allocations: 8.984 kB / 0.6678 GB, free: 74.82 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.883e-05/1.299, allocations: 11.3 kB / 0.6678 GB, free: 74.82 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/1.315, allocations: 9.077 MB / 0.6766 GB, free: 74.26 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.315, allocations: 1 kB / 0.6766 GB, free: 74.26 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/1.317, allocations: 436.8 kB / 0.6771 GB, free: 74.26 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/1.319, allocations: 0.7124 MB / 0.6777 GB, free: 74.25 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/1.319, allocations: 6.062 kB / 0.6778 GB, free: 74.25 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005667/1.325, allocations: 4.986 MB / 0.6826 GB, free: 72.98 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.325, allocations: 3.281 kB / 0.6826 GB, free: 72.98 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00908/1.334, allocations: 7.326 MB / 0.6898 GB, free: 72.18 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/1.337, allocations: 0.7327 MB / 0.6905 GB, free: 72.08 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000592/1.337, allocations: 3.719 kB / 0.6905 GB, free: 72.08 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/1.339, allocations: 116.7 kB / 0.6906 GB, free: 72.08 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/1.339, allocations: 128.4 kB / 0.6907 GB, free: 72.07 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.339, allocations: 60.42 kB / 0.6908 GB, free: 72.07 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.003802/1.343, allocations: 2.247 MB / 0.693 GB, free: 71.89 MB / 411.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.343, allocations: 0 / 0.693 GB, free: 71.89 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.005744/1.349, allocations: 0.9906 MB / 0.694 GB, free: 71.89 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 186 * 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.0005403/1.35, allocations: 149.4 kB / 0.6941 GB, free: 71.81 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.008691/1.358, allocations: 5.909 MB / 0.6999 GB, free: 71.66 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.358, allocations: 1.625 kB / 0.6999 GB, free: 71.66 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004092/1.362, allocations: 2.155 MB / 0.702 GB, free: 71.53 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004613/1.367, allocations: 355.9 kB / 0.7023 GB, free: 71.51 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/1.385, allocations: 8.928 MB / 0.711 GB, free: 68.74 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004015/1.389, allocations: 3.768 MB / 0.7147 GB, free: 67.36 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.006101/1.395, allocations: 2.264 MB / 0.7169 GB, free: 67.32 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008584/1.396, allocations: 259.1 kB / 0.7172 GB, free: 67.31 MB / 411.1 MB Notification: Performance of SimCode: time 1.012e-06/1.396, allocations: 0 / 0.7172 GB, free: 67.31 MB / 411.1 MB Notification: Performance of Templates: time 0.05685/1.452, allocations: 34.44 MB / 0.7508 GB, free: 65.59 MB / 411.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (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)