Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001273/0.001273, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.318/1.318, allocations: 170.7 MB / 178.7 MB, free: 7.035 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001503/0.001503, allocations: 101.8 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.953e-05/1.958e-05, allocations: 7.984 kB / 262.2 MB, free: 3.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2383, allocations: 38.76 MB / 301 MB, free: 39.11 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.3525, allocations: 88.25 MB / 389.2 MB, free: 7.375 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.3528, allocations: 93 kB / 389.3 MB, free: 7.289 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4364/0.7892, allocations: 94.95 MB / 484.3 MB, free: 66.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7892, allocations: 4 kB / 484.3 MB, free: 66.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001672/0.7894, allocations: 91.75 kB / 484.4 MB, free: 66.02 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1732 * Number of variables: 1732 Notification: Performance of Generate backend data structure: time 0.01335/0.8028, allocations: 4.651 MB / 489 MB, free: 61.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.8028, allocations: 8.031 kB / 489 MB, free: 61.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/0.8204, allocations: 4.503 MB / 493.5 MB, free: 56.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.8338, allocations: 5.047 MB / 498.6 MB, free: 51.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.8341, allocations: 156 kB / 498.7 MB, free: 51.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002386/0.8365, allocations: 275.9 kB / 499 MB, free: 51.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.012/0.8485, allocations: 6.973 MB / 0.4941 GB, free: 44.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.8683, allocations: 10.58 MB / 0.5044 GB, free: 32.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002612/0.8686, allocations: 63.48 kB / 0.5045 GB, free: 32.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001763/0.8704, allocations: 28 kB / 0.5045 GB, free: 32.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001568/0.872, allocations: 1.195 MB / 0.5057 GB, free: 31.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2785/1.151, allocations: 50.5 MB / 0.555 GB, free: 47.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004639/1.155, allocations: 4.039 MB / 0.559 GB, free: 46.94 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002879/1.158, allocations: 2.397 MB / 0.5613 GB, free: 46.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007468/1.159, allocations: 0.6927 MB / 0.562 GB, free: 46.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/1.159, allocations: 56.44 kB / 0.562 GB, free: 46.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=207): time 3.928e-06/1.159, allocations: 1.781 kB / 0.562 GB, free: 46.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=229): time 0.0327/1.192, allocations: 17.05 MB / 0.5787 GB, free: 43.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/1.192, allocations: 192.4 kB / 0.5789 GB, free: 43.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004192/1.196, allocations: 3.364 MB / 0.5822 GB, free: 43.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002716/1.196, allocations: 25.7 kB / 0.5822 GB, free: 42.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001579/1.198, allocations: 3.529 MB / 0.5856 GB, free: 40.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006365/1.198, allocations: 0.8397 MB / 0.5864 GB, free: 40.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/1.199, allocations: 0 / 0.5864 GB, free: 40.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002763/1.199, allocations: 0.6017 MB / 0.587 GB, free: 39.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/1.202, allocations: 2.393 MB / 0.5894 GB, free: 39.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004356/1.206, allocations: 6.413 MB / 0.5956 GB, free: 32.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004744/1.211, allocations: 3.903 MB / 0.5994 GB, free: 31.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.632e-05/1.211, allocations: 39.25 kB / 0.5995 GB, free: 31.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=901) (initialization): time 0.01323/1.224, allocations: 8.679 MB / 0.608 GB, free: 29.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.643e-05/1.224, allocations: 72.94 kB / 0.608 GB, free: 29.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001637/1.224, allocations: 146.1 kB / 0.6082 GB, free: 29.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/1.226, allocations: 0.9226 MB / 0.6091 GB, free: 28.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004902/1.231, allocations: 1.659 MB / 0.6107 GB, free: 27.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005886/1.237, allocations: 5.501 MB / 0.6161 GB, free: 22.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005465/1.243, allocations: 262.9 kB / 0.6163 GB, free: 22.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001505/1.244, allocations: 420.5 kB / 0.6167 GB, free: 21.94 MB / 346.7 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.002106/1.246, allocations: 473.1 kB / 0.6172 GB, free: 21.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.247, allocations: 366.7 kB / 0.6175 GB, free: 21.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006918/1.254, allocations: 3.942 MB / 0.6214 GB, free: 17.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.615e-05/1.254, allocations: 28 kB / 0.6214 GB, free: 17.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/1.254, allocations: 7.938 kB / 0.6214 GB, free: 17.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/1.254, allocations: 6.938 kB / 0.6214 GB, free: 17.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/1.272, allocations: 9.078 MB / 0.6303 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/1.272, allocations: 4 kB / 0.6303 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/1.275, allocations: 444 kB / 0.6307 GB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/1.276, allocations: 0.7077 MB / 0.6314 GB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003309/1.277, allocations: 10.2 kB / 0.6314 GB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005871/1.283, allocations: 4.99 MB / 0.6363 GB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.283, allocations: 9.219 kB / 0.6363 GB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/1.299, allocations: 7.79 MB / 0.6439 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/1.301, allocations: 0.7316 MB / 0.6446 GB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/1.303, allocations: 7.953 kB / 0.6446 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002525/1.305, allocations: 115.5 kB / 0.6447 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000563/1.306, allocations: 128.7 kB / 0.6448 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003494/1.306, allocations: 56 kB / 0.6449 GB, free: 15.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005242/1.311, allocations: 2.251 MB / 0.6471 GB, free: 13.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.311, allocations: 0 / 0.6471 GB, free: 13.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008353/1.32, allocations: 0.9881 MB / 0.6481 GB, free: 12.09 MB / 362.7 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.0008422/1.321, allocations: 150.4 kB / 0.6482 GB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0112/1.332, allocations: 5.909 MB / 0.654 GB, free: 6.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.332, allocations: 0.9375 kB / 0.654 GB, free: 6.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003822/1.336, allocations: 2.147 MB / 0.6561 GB, free: 4.695 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/1.339, allocations: 360.7 kB / 0.6564 GB, free: 4.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/1.363, allocations: 9.084 MB / 0.6653 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006809/1.37, allocations: 3.757 MB / 0.669 GB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00689/1.377, allocations: 2.265 MB / 0.6712 GB, free: 6.246 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.378, allocations: 267.4 kB / 0.6714 GB, free: 5.984 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/1.378, allocations: 0.9375 kB / 0.6714 GB, free: 5.984 MB / 378.7 MB Notification: Performance of Templates: time 0.07151/1.449, allocations: 34.43 MB / 0.705 GB, free: 4.051 MB / 410.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1)