Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008453/0.0008453, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007333/0.007333, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.673/1.673, allocations: 205.4 MB / 222.5 MB, free: 5.793 MB / 174.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.0004841/0.0004842, allocations: 15.98 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2729, allocations: 47.57 MB / 327 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.06841/0.3413, allocations: 68.47 MB / 395.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03771/0.3791, allocations: 13.97 MB / 409.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01877/0.3979, allocations: 311.2 kB / 409.8 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.4007, allocations: 0.5092 MB / 410.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007513/0.4082, allocations: 2.141 MB / 412.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.4109, allocations: 0.8582 MB / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01167/0.4226, allocations: 8.523 MB / 421.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01318/0.4359, allocations: 7.429 MB / 429.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004321/0.4402, allocations: 1.587 MB / 430.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005875/0.4461, allocations: 2.667 MB / 433.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001413/0.4476, allocations: 192 kB / 433.7 MB, free: 8.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003582/0.4512, allocations: 1.135 MB / 434.8 MB, free: 7.184 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003798/0.455, allocations: 2.298 MB / 437.1 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005554/0.4606, allocations: 2.614 MB / 439.7 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.4738, allocations: 8.895 MB / 448.6 MB, free: 9.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.4738, allocations: 4 kB / 448.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4738, allocations: 0 / 448.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004312/0.4743, allocations: 4 kB / 448.6 MB, free: 9.309 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: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01503/0.4893, allocations: 5.204 MB / 453.8 MB, free: 4.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.4894, allocations: 8.031 kB / 453.8 MB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/0.5031, allocations: 2.669 MB / 456.5 MB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2309/0.7341, allocations: 3.963 MB / 460.5 MB, free: 113.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000275/0.7344, allocations: 312.9 kB / 460.8 MB, free: 113.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001641/0.7361, allocations: 445.8 kB / 461.2 MB, free: 113.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/0.7574, allocations: 12.26 MB / 473.5 MB, free: 105.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.7575, allocations: 63.08 kB / 473.5 MB, free: 105.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000486/0.758, allocations: 200.9 kB / 473.7 MB, free: 105.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003025/0.7611, allocations: 2.205 MB / 475.9 MB, free: 103.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.7782, allocations: 10.56 MB / 486.5 MB, free: 92.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05898/0.8372, allocations: 47.58 MB / 0.5216 GB, free: 43.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.8473, allocations: 4.606 MB / 0.5261 GB, free: 39.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/0.8501, allocations: 2.654 MB / 0.5286 GB, free: 36.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/0.863, allocations: 10.43 MB / 0.5388 GB, free: 25.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.863, allocations: 51.88 kB / 0.5389 GB, free: 25.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=192): time 5.42e-06/0.863, allocations: 0 / 0.5389 GB, free: 25.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.05235/0.9154, allocations: 21.01 MB / 0.5594 GB, free: 4.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.9155, allocations: 217.1 kB / 0.5596 GB, free: 4.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006075/0.9216, allocations: 4.82 MB / 0.5643 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005807/0.9222, allocations: 57.7 kB / 0.5644 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003267/0.9255, allocations: 3.718 MB / 0.568 GB, free: 11.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001463/0.927, allocations: 0.8368 MB / 0.5688 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.9281, allocations: 0.5911 MB / 0.5694 GB, free: 10.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.9282, allocations: 301.1 kB / 0.5697 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004577/0.9328, allocations: 2.59 MB / 0.5722 GB, free: 7.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008818/0.9416, allocations: 6.554 MB / 0.5786 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01528/0.957, allocations: 9.808 MB / 0.5882 GB, free: 3.258 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002168/0.9573, allocations: 44 kB / 0.5882 GB, free: 3.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02473/0.982, allocations: 10.28 MB / 0.5983 GB, free: 8.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002296/0.9823, allocations: 64 kB / 0.5983 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002715/0.9825, allocations: 136.2 kB / 0.5985 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005258/0.9878, allocations: 1.62 MB / 0.6001 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006257/0.9941, allocations: 1.575 MB / 0.6016 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2629/1.257, allocations: 9.552 MB / 0.6109 GB, free: 138.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005971/1.263, allocations: 390.7 kB / 0.6113 GB, free: 138.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00163/1.265, allocations: 411.9 kB / 0.6117 GB, free: 138.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (834): * Single equations (assignments): 829 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00611/1.271, allocations: 2.569 MB / 0.6142 GB, free: 137.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.272, allocations: 426.1 kB / 0.6146 GB, free: 137.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008453/1.28, allocations: 4.64 MB / 0.6191 GB, free: 135.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-05/1.28, allocations: 25.22 kB / 0.6192 GB, free: 135.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/1.28, allocations: 3.938 kB / 0.6192 GB, free: 135.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.428e-05/1.281, allocations: 11.11 kB / 0.6192 GB, free: 135.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01996/1.3, allocations: 10.5 MB / 0.6294 GB, free: 132.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.631e-05/1.301, allocations: 0 / 0.6294 GB, free: 132.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/1.302, allocations: 342.5 kB / 0.6298 GB, free: 132.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004027/1.306, allocations: 1.37 MB / 0.6311 GB, free: 132 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004025/1.307, allocations: 35.53 kB / 0.6311 GB, free: 132 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009545/1.316, allocations: 8.739 MB / 0.6397 GB, free: 125.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.317, allocations: 4 kB / 0.6397 GB, free: 125.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/1.328, allocations: 7.586 MB / 0.6471 GB, free: 118.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.33, allocations: 0.7902 MB / 0.6478 GB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008101/1.33, allocations: 35.98 kB / 0.6479 GB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/1.332, allocations: 134.4 kB / 0.648 GB, free: 117.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003938/1.333, allocations: 135.2 kB / 0.6481 GB, free: 117.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.333, allocations: 57.23 kB / 0.6482 GB, free: 117.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00412/1.337, allocations: 3.043 MB / 0.6512 GB, free: 114.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.61e-07/1.337, allocations: 0 / 0.6512 GB, free: 114.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00579/1.343, allocations: 1.262 MB / 0.6524 GB, free: 113.1 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (169): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004993/1.343, allocations: 174.8 kB / 0.6526 GB, free: 112.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009597/1.353, allocations: 6.393 MB / 0.6588 GB, free: 106.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.353, allocations: 3.562 kB / 0.6588 GB, free: 106.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002961/1.356, allocations: 2.203 MB / 0.661 GB, free: 104.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004597/1.36, allocations: 0.5159 MB / 0.6615 GB, free: 103.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02097/1.381, allocations: 14.48 MB / 0.6756 GB, free: 89.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004912/1.386, allocations: 3.999 MB / 0.6795 GB, free: 85.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00519/1.392, allocations: 2.083 MB / 0.6815 GB, free: 83.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008682/1.393, allocations: 287.4 kB / 0.6818 GB, free: 83.06 MB / 430.1 MB Notification: Performance of SimCode: time 1.252e-06/1.393, allocations: 0 / 0.6818 GB, free: 83.06 MB / 430.1 MB Notification: Performance of Templates: time 0.07029/1.463, allocations: 44.92 MB / 0.7257 GB, free: 38.15 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1)