Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_4.0.0_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.001237/0.001237, allocations: 109.2 kB / 17.75 MB, free: 5.309 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.001227/0.001227, allocations: 188.3 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009244/0.0009244, allocations: 47.94 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2111, allocations: 49.44 MB / 401.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01343/0.2245, allocations: 13.3 MB / 414.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007728/0.2323, allocations: 4.614 MB / 419.3 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.2337, allocations: 87.75 kB / 419.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006765/0.2405, allocations: 4.085 MB / 423.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003945/0.2444, allocations: 2.131 MB / 425.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.2459, allocations: 0.7993 MB / 426.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00486/0.2508, allocations: 4.754 MB / 431.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004702/0.2555, allocations: 5.119 MB / 436.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.2574, allocations: 1.932 MB / 438.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002753/0.2602, allocations: 2.699 MB / 440.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006215/0.2608, allocations: 452 kB / 441.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.2628, allocations: 1.342 MB / 442.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001768/0.2646, allocations: 2.326 MB / 445.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002274/0.2669, allocations: 2.723 MB / 447.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00721/0.2741, allocations: 8.729 MB / 456.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2741, allocations: 0 / 456.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2741, allocations: 0 / 456.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.059e-05/0.2742, allocations: 0 / 456.5 MB, free: 1.527 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.02609/0.3003, allocations: 6.945 MB / 463.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3004, allocations: 8.031 kB / 463.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/0.3171, allocations: 2.529 MB / 466 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006228/0.3233, allocations: 3.136 MB / 469.1 MB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.3235, allocations: 299.8 kB / 469.4 MB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007789/0.3243, allocations: 411.6 kB / 469.8 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02276/0.3471, allocations: 13.25 MB / 483.1 MB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.3472, allocations: 43.59 kB / 483.1 MB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005842/0.3478, allocations: 191.9 kB / 483.3 MB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004362/0.3522, allocations: 2.198 MB / 485.5 MB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/0.3772, allocations: 12.68 MB / 498.2 MB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06111/0.4383, allocations: 49.05 MB / 0.5344 GB, free: 4.695 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1919/0.6303, allocations: 6.415 MB / 0.5407 GB, free: 128.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004008/0.6343, allocations: 3.914 MB / 0.5445 GB, free: 127.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008504/0.6352, allocations: 431.6 kB / 0.5449 GB, free: 127.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.6352, allocations: 54.03 kB / 0.5449 GB, free: 127.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=214): time 5.059e-06/0.6353, allocations: 0 / 0.5449 GB, free: 127.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=252): time 0.09187/0.7271, allocations: 36.06 MB / 0.5802 GB, free: 100.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.7272, allocations: 205.9 kB / 0.5804 GB, free: 100.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004543/0.7318, allocations: 4.407 MB / 0.5847 GB, free: 95.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002995/0.7321, allocations: 61.7 kB / 0.5847 GB, free: 95.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.7333, allocations: 3.441 MB / 0.5881 GB, free: 92.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006654/0.734, allocations: 0.9544 MB / 0.589 GB, free: 91.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/0.7358, allocations: 1.587 MB / 0.5906 GB, free: 89.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.127e-05/0.7358, allocations: 309 kB / 0.5909 GB, free: 89.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004436/0.7403, allocations: 4.327 MB / 0.5951 GB, free: 85.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005446/0.7457, allocations: 8.214 MB / 0.6031 GB, free: 75.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/0.7565, allocations: 13.36 MB / 0.6161 GB, free: 59.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.135e-05/0.7565, allocations: 36 kB / 0.6162 GB, free: 59.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.01962/0.7762, allocations: 14.76 MB / 0.6306 GB, free: 44.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.029e-05/0.7762, allocations: 62.81 kB / 0.6307 GB, free: 44.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.304e-05/0.7763, allocations: 139.9 kB / 0.6308 GB, free: 44.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005941/0.7823, allocations: 2.459 MB / 0.6332 GB, free: 42.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005526/0.7878, allocations: 1.789 MB / 0.6349 GB, free: 40.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/0.8046, allocations: 17.03 MB / 0.6516 GB, free: 23.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005533/0.8101, allocations: 475.2 kB / 0.652 GB, free: 22.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005653/0.8107, allocations: 495.8 kB / 0.6525 GB, free: 22.15 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * 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 (826): * Single equations (assignments): 820 * 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.002847/0.8136, allocations: 2.392 MB / 0.6548 GB, free: 19.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007012/0.8143, allocations: 394.8 kB / 0.6552 GB, free: 19.36 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.8284, allocations: 9.633 MB / 0.6646 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/0.8285, allocations: 7.969 kB / 0.6646 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.8285, allocations: 3.984 kB / 0.6646 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008117/0.8293, allocations: 459.8 kB / 0.6651 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006959/0.83, allocations: 43.94 kB / 0.6651 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/0.833, allocations: 227.5 kB / 0.6653 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006352/0.8336, allocations: 273.5 kB / 0.6656 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01561/0.8493, allocations: 9.828 MB / 0.6752 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01619/0.8655, allocations: 13 MB / 0.6879 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004352/0.8698, allocations: 3.577 MB / 0.6914 GB, free: 14.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00378/0.8736, allocations: 2.775 MB / 0.6941 GB, free: 11.45 MB / 494.1 MB Notification: Performance of Backend: time 4.01e-07/0.8736, allocations: 0 / 0.6941 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01244/0.8861, allocations: 7.319 MB / 0.7012 GB, free: 4.148 MB / 494.1 MB Notification: Performance of SimCode: time 0.01668/0.9028, allocations: 11.18 MB / 0.7121 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of Templates: time 0.2829/1.186, allocations: 88.06 MB / 0.7981 GB, free: 121.4 MB / 0.5137 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1)