Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00162/0.001619, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.435/1.435, allocations: 194.3 MB / 202.4 MB, free: 8.473 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001669/0.001669, allocations: 112.6 kB / 247.4 MB, free: 6.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1992/0.1992, allocations: 39.94 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.657e-05/1.668e-05, allocations: 3.984 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09553, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3567/0.4523, allocations: 100.9 MB / 0.5362 GB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.4526, allocations: 86.94 kB / 0.5363 GB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3533/0.8059, allocations: 128.1 MB / 0.6614 GB, free: 6.867 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.8059, allocations: 0 / 0.6614 GB, free: 6.867 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004461/0.8064, allocations: 136 kB / 0.6615 GB, free: 6.734 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2232 * Number of variables: 2232 Notification: Performance of Generate backend data structure: time 0.4756/1.282, allocations: 6.853 MB / 0.6682 GB, free: 84.46 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.282, allocations: 9.438 kB / 0.6682 GB, free: 84.46 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03916/1.321, allocations: 9.416 MB / 0.6774 GB, free: 84.01 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02339/1.345, allocations: 8.974 MB / 0.6862 GB, free: 83.55 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/1.345, allocations: 212.8 kB / 0.6864 GB, free: 83.55 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003173/1.348, allocations: 393.5 kB / 0.6868 GB, free: 83.54 MB / 474.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.019/1.367, allocations: 10.01 MB / 0.6966 GB, free: 83.5 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03116/1.398, allocations: 14.22 MB / 0.7105 GB, free: 80.21 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003794/1.399, allocations: 87.48 kB / 0.7105 GB, free: 80.2 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00189/1.401, allocations: 40.86 kB / 0.7106 GB, free: 80.2 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002027/1.403, allocations: 1.534 MB / 0.7121 GB, free: 80.18 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07988/1.483, allocations: 68.17 MB / 0.7786 GB, free: 37.57 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00749/1.49, allocations: 6.609 MB / 0.7851 GB, free: 34.48 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005616/1.496, allocations: 5.154 MB / 0.7901 GB, free: 31.1 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02401/1.52, allocations: 17.75 MB / 0.8075 GB, free: 15.87 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/1.52, allocations: 71.67 kB / 0.8075 GB, free: 15.79 MB / 474.8 MB Notification: Performance of pre-optimization done (n=310): time 7.324e-06/1.52, allocations: 0.8438 kB / 0.8075 GB, free: 15.79 MB / 474.8 MB Notification: Performance of matching and sorting (n=384): time 0.1129/1.633, allocations: 43.51 MB / 0.85 GB, free: 12.14 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/1.633, allocations: 325 kB / 0.8503 GB, free: 11.76 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01206/1.645, allocations: 4.322 MB / 0.8546 GB, free: 7.457 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001785/1.647, allocations: 25.7 kB / 0.8546 GB, free: 7.426 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005289/1.652, allocations: 4.475 MB / 0.859 GB, free: 2.891 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002987/1.655, allocations: 1.356 MB / 0.8603 GB, free: 1.52 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001579/1.657, allocations: 0 / 0.8603 GB, free: 1.52 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006313/1.658, allocations: 0.6734 MB / 0.8609 GB, free: 0.8359 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2896/1.947, allocations: 4.404 MB / 0.8652 GB, free: 108.5 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009535/1.957, allocations: 8.912 MB / 0.8739 GB, free: 102.7 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/1.968, allocations: 6.195 MB / 0.88 GB, free: 102.6 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002632/1.968, allocations: 42.66 kB / 0.88 GB, free: 102.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1114) (initialization): time 0.04179/2.01, allocations: 16.66 MB / 0.8963 GB, free: 102.4 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/2.01, allocations: 72.28 kB / 0.8964 GB, free: 102.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000239/2.011, allocations: 163.1 kB / 0.8965 GB, free: 102.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01413/2.025, allocations: 4.725 MB / 0.9011 GB, free: 102.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00803/2.033, allocations: 2.041 MB / 0.9031 GB, free: 102.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03/2.063, allocations: 23.55 MB / 0.9261 GB, free: 95.71 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008942/2.072, allocations: 459.9 kB / 0.9266 GB, free: 95.71 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002523/2.074, allocations: 0.4958 MB / 0.9271 GB, free: 95.64 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 54 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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],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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1011): * Single equations (assignments): 1005 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002093/2.076, allocations: 0.5213 MB / 0.9276 GB, free: 95.32 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/2.078, allocations: 0.5129 MB / 0.9281 GB, free: 95.32 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02277/2.101, allocations: 12.08 MB / 0.9399 GB, free: 91.39 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.281e-05/2.101, allocations: 41.58 kB / 0.9399 GB, free: 91.39 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.553e-05/2.101, allocations: 18.44 kB / 0.9399 GB, free: 91.39 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.325e-05/2.101, allocations: 21.88 kB / 0.94 GB, free: 91.39 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04215/2.143, allocations: 20.77 MB / 0.9602 GB, free: 84.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.153e-05/2.143, allocations: 0 / 0.9602 GB, free: 84.25 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004118/2.147, allocations: 0.6688 MB / 0.9609 GB, free: 84.2 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01377/2.161, allocations: 4.492 MB / 0.9653 GB, free: 81.69 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001492/2.163, allocations: 17.31 kB / 0.9653 GB, free: 81.68 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03115/2.194, allocations: 23.04 MB / 0.9878 GB, free: 61.87 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/2.194, allocations: 0 / 0.9878 GB, free: 61.87 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03437/2.228, allocations: 18.2 MB / 1.006 GB, free: 46.69 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004769/2.233, allocations: 1.317 MB / 1.007 GB, free: 45.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002721/2.236, allocations: 4 kB / 1.007 GB, free: 45.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005069/2.241, allocations: 295.2 kB / 1.007 GB, free: 45.32 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001902/2.243, allocations: 249.2 kB / 1.007 GB, free: 45.17 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001115/2.244, allocations: 99.58 kB / 1.007 GB, free: 45.08 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00719/2.251, allocations: 2.956 MB / 1.01 GB, free: 42.48 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.11e-07/2.251, allocations: 0 / 1.01 GB, free: 42.48 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01308/2.264, allocations: 1.633 MB / 1.012 GB, free: 40.86 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (295): * Single equations (assignments): 289 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001706/2.266, allocations: 152.1 kB / 1.012 GB, free: 40.71 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02173/2.288, allocations: 11.47 MB / 1.023 GB, free: 29.23 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/2.288, allocations: 0 / 1.023 GB, free: 29.23 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01176/2.3, allocations: 5.61 MB / 1.029 GB, free: 23.59 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00487/2.305, allocations: 0.5601 MB / 1.029 GB, free: 23.05 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3301/2.635, allocations: 14.45 MB / 1.043 GB, free: 96.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009581/2.644, allocations: 5.053 MB / 1.048 GB, free: 95.44 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01092/2.655, allocations: 2.85 MB / 1.051 GB, free: 95.39 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002671/2.658, allocations: 373.2 kB / 1.052 GB, free: 95.39 MB / 0.4949 GB Notification: Performance of SimCode: time 2.444e-06/2.658, allocations: 0 / 1.052 GB, free: 95.39 MB / 0.4949 GB Notification: Performance of Templates: time 0.1198/2.778, allocations: 74.91 MB / 1.125 GB, free: 84.25 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1)