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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 98.39 kB / 16.62 MB, free: 6.762 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.002298/0.002298, allocations: 193.8 kB / 17.55 MB, free: 5.93 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.565/1.565, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001189/0.001189, allocations: 52.14 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1152, allocations: 46.62 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.3046/0.4198, allocations: 66.41 MB / 392.5 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03986/0.4597, allocations: 13.33 MB / 405.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02069/0.4805, allocations: 283.8 kB / 406.1 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008399/0.4889, allocations: 3.94 MB / 410.1 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007847/0.4968, allocations: 1.934 MB / 412 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.4994, allocations: 0.746 MB / 412.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008418/0.5078, allocations: 4.744 MB / 417.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008201/0.5161, allocations: 5.4 MB / 422.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.5207, allocations: 1.967 MB / 424.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005273/0.526, allocations: 2.987 MB / 427.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00167/0.5277, allocations: 452 kB / 428.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/0.5313, allocations: 1.341 MB / 429.6 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003016/0.5343, allocations: 2.371 MB / 432 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004663/0.539, allocations: 2.757 MB / 434.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.5513, allocations: 8.568 MB / 443.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.492e-05/0.5514, allocations: 0 / 443.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.5514, allocations: 0 / 443.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003709/0.5518, allocations: 0 / 443.3 MB, free: 10.08 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1755 * Number of variables: 1755 Notification: Performance of Generate backend data structure: time 0.03403/0.5858, allocations: 6.961 MB / 450.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.5859, allocations: 12.03 kB / 450.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/0.6017, allocations: 2.532 MB / 452.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008187/0.61, allocations: 3.134 MB / 456 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00028/0.6103, allocations: 303.8 kB / 456.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001739/0.6121, allocations: 402.3 kB / 456.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03084/0.6429, allocations: 13.28 MB / 470 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/0.6431, allocations: 51.5 kB / 470 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006933/0.6438, allocations: 186.5 kB / 470.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004231/0.6481, allocations: 2.196 MB / 472.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02823/0.6763, allocations: 12.69 MB / 485.1 MB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08158/0.758, allocations: 49.42 MB / 0.522 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0256/0.7836, allocations: 6.449 MB / 0.5283 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005136/0.7888, allocations: 3.928 MB / 0.5321 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009467/0.7898, allocations: 430.4 kB / 0.5325 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.7899, allocations: 51.88 kB / 0.5326 GB, free: 2.379 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 6.903e-06/0.7899, allocations: 3.984 kB / 0.5326 GB, free: 2.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=255): time 0.3096/1.099, allocations: 36.15 MB / 0.5679 GB, free: 152.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/1.1, allocations: 209.4 kB / 0.5681 GB, free: 152.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005465/1.105, allocations: 4.434 MB / 0.5724 GB, free: 147.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009617/1.106, allocations: 61.7 kB / 0.5725 GB, free: 147.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001981/1.108, allocations: 3.453 MB / 0.5758 GB, free: 144.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001483/1.11, allocations: 0.9547 MB / 0.5768 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002205/1.112, allocations: 1.603 MB / 0.5783 GB, free: 141.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/1.112, allocations: 308.7 kB / 0.5786 GB, free: 141.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00482/1.117, allocations: 4.327 MB / 0.5829 GB, free: 137 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007484/1.124, allocations: 8.242 MB / 0.5909 GB, free: 126.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/1.138, allocations: 13.39 MB / 0.604 GB, free: 111.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/1.138, allocations: 43.94 kB / 0.604 GB, free: 111.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=903) (initialization): time 0.02243/1.16, allocations: 14.77 MB / 0.6184 GB, free: 96.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.16, allocations: 64 kB / 0.6185 GB, free: 96.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000198/1.161, allocations: 140 kB / 0.6186 GB, free: 96.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005806/1.166, allocations: 2.464 MB / 0.621 GB, free: 94.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006273/1.173, allocations: 1.786 MB / 0.6228 GB, free: 92.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/1.191, allocations: 17.05 MB / 0.6394 GB, free: 74.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007928/1.199, allocations: 471.2 kB / 0.6399 GB, free: 74.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002328/1.201, allocations: 0.4979 MB / 0.6404 GB, free: 73.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (830): * Single equations (assignments): 824 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (4,21,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006131/1.207, allocations: 2.387 MB / 0.6427 GB, free: 71.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/1.209, allocations: 402.8 kB / 0.6431 GB, free: 71.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/1.222, allocations: 9.653 MB / 0.6525 GB, free: 61.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-05/1.222, allocations: 35.92 kB / 0.6525 GB, free: 61.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/1.222, allocations: 15.94 kB / 0.6526 GB, free: 61.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/1.222, allocations: 11.97 kB / 0.6526 GB, free: 61.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/1.245, allocations: 18.16 MB / 0.6703 GB, free: 43.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/1.245, allocations: 0 / 0.6703 GB, free: 43.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002944/1.248, allocations: 0.5858 MB / 0.6709 GB, free: 42.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005351/1.254, allocations: 2.247 MB / 0.6731 GB, free: 40.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004368/1.254, allocations: 127.8 kB / 0.6732 GB, free: 40.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01503/1.269, allocations: 15.63 MB / 0.6884 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.269, allocations: 4 kB / 0.6885 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2125/1.482, allocations: 15.16 MB / 0.7033 GB, free: 148.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003206/1.485, allocations: 1.062 MB / 0.7043 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007612/1.486, allocations: 39.69 kB / 0.7043 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003176/1.489, allocations: 220.4 kB / 0.7045 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000833/1.49, allocations: 246 kB / 0.7048 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003411/1.49, allocations: 146.9 kB / 0.7049 GB, free: 148.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004066/1.494, allocations: 2.788 MB / 0.7076 GB, free: 148.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.91e-07/1.494, allocations: 0 / 0.7076 GB, free: 148.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007061/1.501, allocations: 1.438 MB / 0.709 GB, free: 148.1 MB / 446.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (4,18,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006421/1.502, allocations: 185.6 kB / 0.7092 GB, free: 148 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01935/1.521, allocations: 13.07 MB / 0.722 GB, free: 145 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.521, allocations: 2.938 kB / 0.722 GB, free: 145 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005622/1.527, allocations: 4.632 MB / 0.7265 GB, free: 143.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003588/1.531, allocations: 0.4979 MB / 0.727 GB, free: 143 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/1.553, allocations: 15.69 MB / 0.7423 GB, free: 132.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004435/1.557, allocations: 3.749 MB / 0.746 GB, free: 129.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00574/1.563, allocations: 2.395 MB / 0.7483 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/1.565, allocations: 0.5397 MB / 0.7488 GB, free: 127.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.362e-06/1.565, allocations: 0 / 0.7488 GB, free: 127.5 MB / 446.1 MB Notification: Performance of Templates: time 0.1184/1.683, allocations: 80.01 MB / 0.827 GB, free: 49.07 MB / 446.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)