Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001457/0.001457, allocations: 89.86 kB / 16.31 MB, free: 6.453 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.001896/0.001896, allocations: 175.9 kB / 17.21 MB, free: 6.328 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.676/1.676, allocations: 205.4 MB / 223.4 MB, free: 5.785 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.0004837/0.0004838, allocations: 10.81 kB / 280.1 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2581, allocations: 47.58 MB / 327.7 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.05921/0.3173, allocations: 63.67 MB / 391.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03723/0.3546, allocations: 13.4 MB / 404.8 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01588/0.3705, allocations: 303.2 kB / 405.1 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01206/0.3826, allocations: 3.309 MB / 408.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03116/0.4138, allocations: 9.739 MB / 418.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00516/0.419, allocations: 0.7996 MB / 418.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.04714/0.4662, allocations: 34.97 MB / 453.9 MB, free: 5.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.292/0.7582, allocations: 6.63 MB / 460.5 MB, free: 34.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005287/0.7635, allocations: 1.716 MB / 462.3 MB, free: 34.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006072/0.7696, allocations: 2.651 MB / 464.9 MB, free: 34.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001575/0.7713, allocations: 193 kB / 465.1 MB, free: 34.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003445/0.7747, allocations: 0.9738 MB / 466.1 MB, free: 34.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003029/0.7778, allocations: 2.261 MB / 468.3 MB, free: 34.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002176/0.78, allocations: 1.088 MB / 469.4 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009278/0.7893, allocations: 7.412 MB / 476.8 MB, free: 33.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.7893, allocations: 0 / 476.8 MB, free: 33.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.7893, allocations: 2.625 kB / 476.8 MB, free: 33.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00059/0.7899, allocations: 2.312 kB / 476.8 MB, free: 33.81 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.01607/0.806, allocations: 5.265 MB / 482.1 MB, free: 31.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.8061, allocations: 11.62 kB / 482.1 MB, free: 31.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.8171, allocations: 2.666 MB / 484.8 MB, free: 30.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00862/0.8257, allocations: 3.903 MB / 488.7 MB, free: 29.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.826, allocations: 313.3 kB / 489 MB, free: 29.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/0.8277, allocations: 447.1 kB / 489.4 MB, free: 29.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.847, allocations: 12.22 MB / 0.4899 GB, free: 25.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/0.8472, allocations: 57.2 kB / 0.4899 GB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005159/0.8477, allocations: 199.3 kB / 0.4901 GB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002876/0.8506, allocations: 2.205 MB / 0.4923 GB, free: 23.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0184/0.869, allocations: 10.52 MB / 0.5026 GB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05712/0.9262, allocations: 47.57 MB / 0.549 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/0.9375, allocations: 4.583 MB / 0.5535 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003367/0.9409, allocations: 2.638 MB / 0.5561 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01596/0.9569, allocations: 10.44 MB / 0.5663 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/0.957, allocations: 58.69 kB / 0.5663 GB, free: 10.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=192): time 5.08e-06/0.957, allocations: 0 / 0.5663 GB, free: 10.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=218): time 0.0564/1.013, allocations: 20.98 MB / 0.5868 GB, free: 5.527 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/1.014, allocations: 208 kB / 0.587 GB, free: 5.289 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007109/1.021, allocations: 4.794 MB / 0.5917 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005049/1.021, allocations: 57.7 kB / 0.5917 GB, free: 444 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002603/1.024, allocations: 3.726 MB / 0.5954 GB, free: 12.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/1.025, allocations: 0.8311 MB / 0.5962 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003268/1.025, allocations: 136 kB / 0.5963 GB, free: 11.78 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003612/1.026, allocations: 0.6031 MB / 0.5969 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003903/1.029, allocations: 2.555 MB / 0.5994 GB, free: 8.609 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006513/1.036, allocations: 6.534 MB / 0.6058 GB, free: 192 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006025/1.042, allocations: 3.988 MB / 0.6097 GB, free: 12.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.576e-05/1.042, allocations: 40 kB / 0.6097 GB, free: 12.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02129/1.063, allocations: 10.22 MB / 0.6197 GB, free: 2.898 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.064, allocations: 65.64 kB / 0.6198 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001952/1.064, allocations: 140 kB / 0.6199 GB, free: 2.699 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004301/1.068, allocations: 1.638 MB / 0.6215 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2715/1.34, allocations: 1.558 MB / 0.623 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/1.355, allocations: 9.54 MB / 0.6323 GB, free: 112.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007092/1.362, allocations: 393.4 kB / 0.6327 GB, free: 112.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001734/1.364, allocations: 405.7 kB / 0.6331 GB, free: 112.8 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006667/1.37, allocations: 2.572 MB / 0.6356 GB, free: 112.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/1.372, allocations: 420.7 kB / 0.636 GB, free: 112.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008835/1.381, allocations: 4.629 MB / 0.6405 GB, free: 112.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.354e-05/1.381, allocations: 24.62 kB / 0.6406 GB, free: 112.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.006e-05/1.381, allocations: 9.25 kB / 0.6406 GB, free: 112.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.739e-05/1.381, allocations: 15.64 kB / 0.6406 GB, free: 112.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02325/1.404, allocations: 10.49 MB / 0.6508 GB, free: 112 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/1.404, allocations: 0 / 0.6508 GB, free: 112 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/1.406, allocations: 348.6 kB / 0.6512 GB, free: 112 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003492/1.409, allocations: 1.356 MB / 0.6525 GB, free: 112 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003322/1.41, allocations: 44.77 kB / 0.6525 GB, free: 112 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009551/1.419, allocations: 8.74 MB / 0.6611 GB, free: 109.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.419, allocations: 1.125 kB / 0.6611 GB, free: 109.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.432, allocations: 7.557 MB / 0.6684 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002779/1.435, allocations: 0.7893 MB / 0.6692 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001475/1.437, allocations: 34.88 kB / 0.6692 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003056/1.44, allocations: 139.7 kB / 0.6694 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006449/1.44, allocations: 132.7 kB / 0.6695 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002769/1.441, allocations: 54.91 kB / 0.6696 GB, free: 108 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007529/1.448, allocations: 3.016 MB / 0.6725 GB, free: 105.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.448, allocations: 0 / 0.6725 GB, free: 105.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009018/1.457, allocations: 1.269 MB / 0.6737 GB, free: 104.7 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009896/1.458, allocations: 168.8 kB / 0.6739 GB, free: 104.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01132/1.47, allocations: 6.36 MB / 0.6801 GB, free: 100.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/1.47, allocations: 0 / 0.6801 GB, free: 100.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003831/1.474, allocations: 2.198 MB / 0.6823 GB, free: 98.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005421/1.479, allocations: 0.5191 MB / 0.6828 GB, free: 98.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02859/1.508, allocations: 13.88 MB / 0.6963 GB, free: 86.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01019/1.518, allocations: 4.004 MB / 0.7002 GB, free: 82.79 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006839/1.525, allocations: 2.087 MB / 0.7023 GB, free: 80.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/1.526, allocations: 281.8 kB / 0.7025 GB, free: 80.43 MB / 478.1 MB Notification: Performance of SimCode: time 1.543e-06/1.527, allocations: 0 / 0.7025 GB, free: 80.43 MB / 478.1 MB Notification: Performance of Templates: time 0.08356/1.61, allocations: 44 MB / 0.7455 GB, free: 36.54 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1)