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.001395/0.001395, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.658/1.658, allocations: 194.3 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001797/0.001797, allocations: 128.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.631e-05/2.632e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.09375, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3801/0.4739, allocations: 95.97 MB / 445.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.4742, allocations: 90.14 kB / 445.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2495/0.7237, allocations: 95.94 MB / 0.5287 GB, free: 6.211 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.7238, allocations: 7.938 kB / 0.5288 GB, free: 6.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002675/0.7241, allocations: 107.9 kB / 0.5289 GB, free: 6.098 MB / 394.7 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.02704/0.7511, allocations: 5.993 MB / 0.5347 GB, free: 36 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.7512, allocations: 12.03 kB / 0.5347 GB, free: 24 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2538/1.005, allocations: 4.39 MB / 0.539 GB, free: 74.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01654/1.022, allocations: 5.234 MB / 0.5441 GB, free: 73.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005366/1.022, allocations: 377.5 kB / 0.5445 GB, free: 73.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00339/1.026, allocations: 0.4927 MB / 0.545 GB, free: 73.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03559/1.061, allocations: 12.77 MB / 0.5574 GB, free: 70.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004061/1.062, allocations: 72.58 kB / 0.5575 GB, free: 70.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00254/1.064, allocations: 246.1 kB / 0.5577 GB, free: 70.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001959/1.066, allocations: 1.089 MB / 0.5588 GB, free: 70.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02687/1.093, allocations: 11.17 MB / 0.5697 GB, free: 70.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07501/1.168, allocations: 55.94 MB / 0.6243 GB, free: 32.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01977/1.188, allocations: 5.834 MB / 0.63 GB, free: 30.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005156/1.193, allocations: 3.399 MB / 0.6333 GB, free: 29.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001965/1.195, allocations: 1.029 MB / 0.6344 GB, free: 28.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/1.195, allocations: 68.72 kB / 0.6344 GB, free: 28.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=217): time 5.38e-06/1.195, allocations: 0 / 0.6344 GB, free: 28.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=255): time 0.08033/1.276, allocations: 26.87 MB / 0.6607 GB, free: 7.016 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/1.276, allocations: 217.4 kB / 0.6609 GB, free: 6.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007866/1.284, allocations: 3.788 MB / 0.6646 GB, free: 3.375 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008852/1.285, allocations: 73.61 kB / 0.6646 GB, free: 3.301 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002352/1.287, allocations: 3.454 MB / 0.668 GB, free: 212 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001784/1.289, allocations: 0.9635 MB / 0.669 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/1.29, allocations: 132 kB / 0.6691 GB, free: 15.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008563/1.291, allocations: 0.5892 MB / 0.6697 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006209/1.297, allocations: 3.399 MB / 0.673 GB, free: 11.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009772/1.307, allocations: 7.255 MB / 0.6801 GB, free: 2.895 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2761/1.583, allocations: 4.904 MB / 0.6848 GB, free: 79.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001227/1.583, allocations: 38.89 kB / 0.6849 GB, free: 79.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=882) (initialization): time 0.0251/1.608, allocations: 12.55 MB / 0.6971 GB, free: 78.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001679/1.609, allocations: 62.66 kB / 0.6972 GB, free: 78.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002664/1.609, allocations: 136 kB / 0.6973 GB, free: 78.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008116/1.617, allocations: 2.266 MB / 0.6995 GB, free: 78.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007259/1.624, allocations: 1.638 MB / 0.7011 GB, free: 78.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01999/1.644, allocations: 15.13 MB / 0.7159 GB, free: 74.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008228/1.653, allocations: 463.7 kB / 0.7164 GB, free: 74.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002402/1.655, allocations: 432.2 kB / 0.7168 GB, free: 74.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * 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 (809): * Single equations (assignments): 803 * 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.003353/1.658, allocations: 0.6077 MB / 0.7174 GB, free: 74.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/1.66, allocations: 398.2 kB / 0.7177 GB, free: 74.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/1.676, allocations: 7.571 MB / 0.7251 GB, free: 73.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.69e-05/1.676, allocations: 28.25 kB / 0.7252 GB, free: 73.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.652e-05/1.676, allocations: 10.84 kB / 0.7252 GB, free: 73.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-05/1.676, allocations: 13.31 kB / 0.7252 GB, free: 73.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03556/1.712, allocations: 15.01 MB / 0.7398 GB, free: 68.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-05/1.712, allocations: 0 / 0.7398 GB, free: 68.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002886/1.715, allocations: 442.1 kB / 0.7403 GB, free: 68.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00563/1.72, allocations: 2.033 MB / 0.7423 GB, free: 67.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007725/1.721, allocations: 42.94 kB / 0.7423 GB, free: 67.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/1.738, allocations: 13.84 MB / 0.7558 GB, free: 60.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.738, allocations: 6.922 kB / 0.7558 GB, free: 60.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01943/1.757, allocations: 11.92 MB / 0.7675 GB, free: 53.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003417/1.761, allocations: 0.9728 MB / 0.7684 GB, free: 53.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001501/1.762, allocations: 46.84 kB / 0.7685 GB, free: 53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003493/1.766, allocations: 215 kB / 0.7687 GB, free: 52.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008952/1.767, allocations: 159.3 kB / 0.7688 GB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004533/1.767, allocations: 67.52 kB / 0.7689 GB, free: 52.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006186/1.773, allocations: 2.647 MB / 0.7715 GB, free: 50.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.774, allocations: 2.812 kB / 0.7715 GB, free: 50.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009486/1.783, allocations: 1.39 MB / 0.7728 GB, free: 48.98 MB / 410.7 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.001101/1.784, allocations: 191.6 kB / 0.773 GB, free: 48.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01389/1.798, allocations: 8.491 MB / 0.7813 GB, free: 41.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.798, allocations: 3.812 kB / 0.7813 GB, free: 41.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006286/1.804, allocations: 3.686 MB / 0.7849 GB, free: 37.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003756/1.808, allocations: 461 kB / 0.7853 GB, free: 37.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/1.83, allocations: 10.21 MB / 0.7953 GB, free: 28.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006421/1.837, allocations: 3.849 MB / 0.7991 GB, free: 25.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005989/1.843, allocations: 2.236 MB / 0.8013 GB, free: 24.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/1.844, allocations: 316.3 kB / 0.8016 GB, free: 23.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/1.844, allocations: 0 / 0.8016 GB, free: 23.92 MB / 410.7 MB Notification: Performance of Templates: time 0.326/2.17, allocations: 59.8 MB / 0.86 GB, free: 80.72 MB / 426.7 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)