Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00151/0.00151, allocations: 114.2 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001866, allocations: 214.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.001181, allocations: 64.12 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2158, allocations: 50.53 MB / 409.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01345/0.2293, allocations: 13.19 MB / 423.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008135/0.2374, allocations: 4.661 MB / 427.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.2389, allocations: 83.75 kB / 427.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007022/0.246, allocations: 4.073 MB / 431.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00443/0.2504, allocations: 2.081 MB / 434 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.2522, allocations: 0.8305 MB / 434.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005465/0.2577, allocations: 4.775 MB / 439.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005484/0.2632, allocations: 5.121 MB / 444.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.2657, allocations: 1.928 MB / 446.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003476/0.2692, allocations: 2.695 MB / 449.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009926/0.2702, allocations: 452 kB / 449.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.2725, allocations: 1.315 MB / 451.1 MB, free: 8.258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002122/0.2747, allocations: 2.322 MB / 453.5 MB, free: 5.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002453/0.2771, allocations: 2.711 MB / 456.2 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007344/0.2845, allocations: 8.688 MB / 464.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2845, allocations: 0 / 464.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2845, allocations: 0 / 464.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.194e-05/0.2846, allocations: 0 / 464.9 MB, free: 10.49 MB / 382.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.02668/0.3113, allocations: 6.977 MB / 471.8 MB, free: 3.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3113, allocations: 8.031 kB / 471.8 MB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01687/0.3282, allocations: 2.564 MB / 474.4 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00663/0.3349, allocations: 3.112 MB / 477.5 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.3351, allocations: 307.8 kB / 477.8 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007542/0.3358, allocations: 403.8 kB / 478.2 MB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02291/0.3588, allocations: 13.25 MB / 491.5 MB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.3589, allocations: 55.52 kB / 491.5 MB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000581/0.3595, allocations: 187.9 kB / 491.7 MB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004378/0.3639, allocations: 2.194 MB / 493.9 MB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02421/0.3881, allocations: 12.68 MB / 0.4947 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2297/0.6178, allocations: 49.05 MB / 0.5426 GB, free: 112.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02362/0.6415, allocations: 6.413 MB / 0.5489 GB, free: 111.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003631/0.6451, allocations: 3.915 MB / 0.5527 GB, free: 111.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007349/0.6459, allocations: 416.6 kB / 0.5531 GB, free: 111.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.6459, allocations: 65.81 kB / 0.5531 GB, free: 111.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=214): time 4.378e-06/0.6459, allocations: 0 / 0.5531 GB, free: 111.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=252): time 0.08962/0.7356, allocations: 36.07 MB / 0.5884 GB, free: 84.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.7356, allocations: 201.9 kB / 0.5886 GB, free: 84.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004275/0.7399, allocations: 4.41 MB / 0.5929 GB, free: 79.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002921/0.7402, allocations: 65.58 kB / 0.5929 GB, free: 79.85 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.7414, allocations: 3.45 MB / 0.5963 GB, free: 76.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005995/0.742, allocations: 0.9439 MB / 0.5972 GB, free: 75.47 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001738/0.7437, allocations: 1.595 MB / 0.5988 GB, free: 73.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.12e-05/0.7438, allocations: 301.1 kB / 0.5991 GB, free: 73.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004444/0.7482, allocations: 4.323 MB / 0.6033 GB, free: 69.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00553/0.7538, allocations: 8.217 MB / 0.6113 GB, free: 59.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/0.7647, allocations: 13.36 MB / 0.6244 GB, free: 44.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.161e-05/0.7648, allocations: 40 kB / 0.6244 GB, free: 43.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.0195/0.7843, allocations: 14.76 MB / 0.6388 GB, free: 29.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/0.7843, allocations: 64 kB / 0.6389 GB, free: 29.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.27e-05/0.7844, allocations: 136 kB / 0.639 GB, free: 28.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006106/0.7905, allocations: 2.453 MB / 0.6414 GB, free: 26.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005578/0.7961, allocations: 1.786 MB / 0.6431 GB, free: 24.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/0.8133, allocations: 17.03 MB / 0.6598 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005466/0.8188, allocations: 475 kB / 0.6602 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005893/0.8194, allocations: 0.4959 MB / 0.6607 GB, free: 6.344 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.002964/0.8224, allocations: 2.379 MB / 0.663 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007208/0.8231, allocations: 398.9 kB / 0.6634 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01626/0.8394, allocations: 9.629 MB / 0.6728 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/0.8394, allocations: 15.39 kB / 0.6728 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.8394, allocations: 4 kB / 0.6728 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007088/0.8402, allocations: 451.8 kB / 0.6733 GB, free: 9.418 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006927/0.8409, allocations: 51.92 kB / 0.6733 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002997/0.8439, allocations: 219.7 kB / 0.6735 GB, free: 9.152 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000696/0.8446, allocations: 273.4 kB / 0.6738 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01835/0.8629, allocations: 9.838 MB / 0.6834 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01666/0.8796, allocations: 13.01 MB / 0.6961 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004399/0.884, allocations: 3.572 MB / 0.6996 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004168/0.8882, allocations: 2.775 MB / 0.7023 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of Backend: time 3.71e-07/0.8882, allocations: 0 / 0.7023 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01247/0.9007, allocations: 7.309 MB / 0.7094 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of SimCode: time 0.01644/0.9171, allocations: 11.17 MB / 0.7203 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of Templates: time 0.2897/1.207, allocations: 87.97 MB / 0.8062 GB, free: 136.4 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1)