Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.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.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00166/0.00166, 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.708/1.708, 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.001722/0.001722, allocations: 119.6 kB / 248.1 MB, free: 6.324 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.752e-05/1.754e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3376/0.4407, allocations: 95.31 MB / 437.9 MB, free: 0.7891 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.441, allocations: 90.06 kB / 438 MB, free: 0.7422 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5064/0.9474, allocations: 93.92 MB / 0.5194 GB, free: 68.25 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.9474, allocations: 0 / 0.5194 GB, free: 68.25 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002329/0.9477, allocations: 102 kB / 0.5195 GB, free: 68.24 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: 1752 * Number of variables: 1752 Notification: Performance of Generate backend data structure: time 0.02505/0.9727, allocations: 5.994 MB / 0.5254 GB, free: 66.36 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.9728, allocations: 6.938 kB / 0.5254 GB, free: 66.36 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01811/0.9909, allocations: 4.399 MB / 0.5297 GB, free: 66.02 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/1.005, allocations: 5.235 MB / 0.5348 GB, free: 65.39 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/1.005, allocations: 162.6 kB / 0.5349 GB, free: 65.39 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002792/1.008, allocations: 302.6 kB / 0.5352 GB, free: 65.38 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01614/1.024, allocations: 7.618 MB / 0.5427 GB, free: 65.35 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0264/1.051, allocations: 11.33 MB / 0.5537 GB, free: 62.47 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002917/1.051, allocations: 65.55 kB / 0.5538 GB, free: 62.47 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/1.052, allocations: 41.3 kB / 0.5538 GB, free: 62.46 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002077/1.054, allocations: 1.09 MB / 0.5549 GB, free: 62.46 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06306/1.117, allocations: 53.97 MB / 0.6076 GB, free: 42.62 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005558/1.123, allocations: 4.704 MB / 0.6122 GB, free: 40.42 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003458/1.126, allocations: 3.348 MB / 0.6155 GB, free: 39.08 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/1.128, allocations: 1.035 MB / 0.6165 GB, free: 38.21 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/1.128, allocations: 65.12 kB / 0.6165 GB, free: 38.15 MB / 411.1 MB Notification: Performance of pre-optimization done (n=217): time 5.521e-06/1.128, allocations: 0 / 0.6165 GB, free: 38.15 MB / 411.1 MB Notification: Performance of matching and sorting (n=255): time 0.051/1.179, allocations: 25.69 MB / 0.6416 GB, free: 25.34 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.62e-05/1.179, allocations: 209.9 kB / 0.6418 GB, free: 25.09 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005466/1.185, allocations: 3.31 MB / 0.6451 GB, free: 22.2 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00102/1.186, allocations: 25.7 kB / 0.6451 GB, free: 22.17 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00189/1.188, allocations: 3.514 MB / 0.6485 GB, free: 18.98 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.189, allocations: 0.9268 MB / 0.6494 GB, free: 18.14 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/1.189, allocations: 0 / 0.6494 GB, free: 18.14 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0003729/1.19, allocations: 0.6049 MB / 0.65 GB, free: 17.62 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/1.193, allocations: 3.306 MB / 0.6532 GB, free: 14.71 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006555/1.2, allocations: 7.25 MB / 0.6603 GB, free: 5.996 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007025/1.207, allocations: 4.826 MB / 0.665 GB, free: 1.906 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.962e-05/1.207, allocations: 44 kB / 0.6651 GB, free: 1.863 MB / 411.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.2785/1.486, allocations: 11.82 MB / 0.6766 GB, free: 73.52 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000206/1.486, allocations: 64.16 kB / 0.6767 GB, free: 73.52 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002989/1.486, allocations: 143.1 kB / 0.6768 GB, free: 73.52 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006298/1.492, allocations: 2.262 MB / 0.679 GB, free: 73.5 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006896/1.499, allocations: 1.68 MB / 0.6807 GB, free: 73.42 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/1.519, allocations: 14.25 MB / 0.6946 GB, free: 69.61 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007146/1.526, allocations: 325.8 kB / 0.6949 GB, free: 69.61 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002198/1.528, allocations: 453.2 kB / 0.6953 GB, free: 69.61 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 641 * Number of states: 0 () * Number of discrete variables: 33 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (833): * Single equations (assignments): 827 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002952/1.531, allocations: 463.7 kB / 0.6958 GB, free: 69.36 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/1.533, allocations: 374.7 kB / 0.6961 GB, free: 69.36 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/1.547, allocations: 7.367 MB / 0.7033 GB, free: 69.14 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-05/1.547, allocations: 27.06 kB / 0.7033 GB, free: 69.14 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.031e-05/1.547, allocations: 11.84 kB / 0.7034 GB, free: 69.14 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.695e-05/1.548, allocations: 10.78 kB / 0.7034 GB, free: 69.14 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02687/1.574, allocations: 13.94 MB / 0.717 GB, free: 66.25 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/1.574, allocations: 0 / 0.717 GB, free: 66.25 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/1.577, allocations: 447.6 kB / 0.7174 GB, free: 66.22 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005296/1.582, allocations: 2.015 MB / 0.7194 GB, free: 65.83 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003919/1.583, allocations: 15.42 kB / 0.7194 GB, free: 65.82 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/1.597, allocations: 13.13 MB / 0.7322 GB, free: 58.67 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/1.597, allocations: 0 / 0.7322 GB, free: 58.67 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/1.615, allocations: 11.7 MB / 0.7436 GB, free: 54.11 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002385/1.617, allocations: 0.9326 MB / 0.7445 GB, free: 53.61 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007386/1.618, allocations: 7.609 kB / 0.7446 GB, free: 53.6 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/1.62, allocations: 175.8 kB / 0.7447 GB, free: 53.6 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005277/1.621, allocations: 158.5 kB / 0.7449 GB, free: 53.57 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002461/1.621, allocations: 70.31 kB / 0.7449 GB, free: 53.56 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.003519/1.625, allocations: 2.216 MB / 0.7471 GB, free: 52.75 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.625, allocations: 0 / 0.7471 GB, free: 52.75 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.007028/1.632, allocations: 1.216 MB / 0.7483 GB, free: 52.75 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 192 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(4,100.0%) 18,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005708/1.632, allocations: 154.6 kB / 0.7484 GB, free: 52.64 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.01075/1.643, allocations: 8.167 MB / 0.7564 GB, free: 49.52 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/1.643, allocations: 0 / 0.7564 GB, free: 49.52 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004786/1.648, allocations: 3.61 MB / 0.7599 GB, free: 47.97 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.651, allocations: 362.8 kB / 0.7603 GB, free: 47.82 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/1.67, allocations: 10.05 MB / 0.7701 GB, free: 40.43 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004141/1.674, allocations: 3.852 MB / 0.7739 GB, free: 37.54 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.005604/1.68, allocations: 2.269 MB / 0.7761 GB, free: 36.07 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/1.681, allocations: 307.9 kB / 0.7764 GB, free: 35.81 MB / 411.1 MB Notification: Performance of SimCode: time 1.343e-06/1.682, allocations: 0 / 0.7764 GB, free: 35.81 MB / 411.1 MB Notification: Performance of Templates: time 0.3222/2.004, allocations: 53.5 MB / 0.8286 GB, free: 76.31 MB / 427.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1)