Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005326/0.005325, allocations: 347.7 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.399/3.399, allocations: 341.5 MB / 358.2 MB, free: 28.73 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003456/0.003456, allocations: 216.3 kB / 397.8 MB, free: 6.152 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4964/0.4964, allocations: 76.1 MB / 0.5014 GB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 16 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08658/0.08707, allocations: 48.7 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4855/0.5726, allocations: 96.06 MB / 0.7005 GB, free: 7.797 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.573, allocations: 86.52 kB / 0.7006 GB, free: 7.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.39/1.963, allocations: 281.5 MB / 0.9755 GB, free: 2.648 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.456e-06/1.963, allocations: 4 kB / 0.9755 GB, free: 2.645 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009678/1.964, allocations: 276 kB / 0.9758 GB, free: 2.375 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5455 * Number of variables: 5455 Notification: Performance of Generate backend data structure: time 0.764/2.728, allocations: 13.87 MB / 0.9893 GB, free: 35.44 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/2.728, allocations: 9.094 kB / 0.9893 GB, free: 35.44 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1169/2.845, allocations: 15.16 MB / 1.004 GB, free: 34.43 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04488/2.89, allocations: 13.43 MB / 1.017 GB, free: 32.97 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001537/2.891, allocations: 1.102 MB / 1.018 GB, free: 32.94 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009239/2.901, allocations: 1.455 MB / 1.02 GB, free: 32.93 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.111/3.012, allocations: 35.57 MB / 1.054 GB, free: 27.27 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00142/3.013, allocations: 133.8 kB / 1.055 GB, free: 27.26 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01139/3.025, allocations: 0.6681 MB / 1.055 GB, free: 27.26 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01142/3.036, allocations: 3.717 MB / 1.059 GB, free: 27.23 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1408/3.177, allocations: 31.74 MB / 1.09 GB, free: 17.07 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.076/4.253, allocations: 139.6 MB / 1.226 GB, free: 22.36 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0543/4.307, allocations: 15.25 MB / 1.241 GB, free: 20.48 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02459/4.332, allocations: 9.475 MB / 1.25 GB, free: 20.41 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09382/4.426, allocations: 34.49 MB / 1.284 GB, free: 16.74 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/4.426, allocations: 105.4 kB / 1.284 GB, free: 16.65 MB / 0.495 GB Notification: Performance of pre-optimization done (n=745): time 1.38e-05/4.426, allocations: 3.891 kB / 1.284 GB, free: 16.65 MB / 0.495 GB Notification: Performance of matching and sorting (n=827): time 0.8278/5.254, allocations: 79.96 MB / 1.362 GB, free: 101 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002073/5.254, allocations: 313.5 kB / 1.362 GB, free: 100.7 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04286/5.297, allocations: 10.51 MB / 1.373 GB, free: 99.73 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 0.002402/5.299, allocations: 139.6 kB / 1.373 GB, free: 99.7 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 0.01344/5.313, allocations: 9.82 MB / 1.382 GB, free: 94.12 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.006713/5.32, allocations: 2.985 MB / 1.385 GB, free: 92.34 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004165/5.324, allocations: 357.6 kB / 1.386 GB, free: 92.34 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.003043/5.327, allocations: 1.106 MB / 1.387 GB, free: 91.99 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03144/5.359, allocations: 8.218 MB / 1.395 GB, free: 91.95 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03504/5.394, allocations: 17.84 MB / 1.412 GB, free: 79.87 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02783/5.422, allocations: 12.07 MB / 1.424 GB, free: 79.75 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004524/5.422, allocations: 94.34 kB / 1.424 GB, free: 79.75 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2399) (initialization): time 0.07917/5.501, allocations: 27.66 MB / 1.451 GB, free: 72.33 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004144/5.502, allocations: 151.6 kB / 1.451 GB, free: 72.33 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007376/5.503, allocations: 333.5 kB / 1.452 GB, free: 72.33 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01184/5.514, allocations: 2.401 MB / 1.454 GB, free: 71.91 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03078/5.545, allocations: 4.266 MB / 1.458 GB, free: 71.43 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06093/5.606, allocations: 14.42 MB / 1.472 GB, free: 64.03 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03027/5.637, allocations: 1.077 MB / 1.473 GB, free: 63.72 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006815/5.643, allocations: 1.002 MB / 1.474 GB, free: 63.58 MB / 0.5107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1513 * Number of states: 0 () * Number of discrete variables: 90 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2203): * Single equations (assignments): 2186 * Array equations: 15 * 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%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02297/5.666, allocations: 7.184 MB / 1.481 GB, free: 60.45 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003807/5.67, allocations: 1.008 MB / 1.482 GB, free: 59.58 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04813/5.718, allocations: 15.8 MB / 1.498 GB, free: 46.26 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002863/5.719, allocations: 167.5 kB / 1.498 GB, free: 46.11 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.549e-05/5.719, allocations: 12 kB / 1.498 GB, free: 46.1 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001736/5.719, allocations: 35.58 kB / 1.498 GB, free: 46.1 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5165/6.236, allocations: 35.03 MB / 1.532 GB, free: 87.68 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001114/6.236, allocations: 5.438 kB / 1.532 GB, free: 87.68 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01416/6.25, allocations: 1.39 MB / 1.533 GB, free: 87.68 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01082/6.261, allocations: 1.784 MB / 1.535 GB, free: 87.66 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002035/6.263, allocations: 131 kB / 1.535 GB, free: 87.66 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02975/6.293, allocations: 12.95 MB / 1.548 GB, free: 84.96 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/6.293, allocations: 10.41 kB / 1.548 GB, free: 84.96 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07182/6.365, allocations: 25.14 MB / 1.573 GB, free: 83.86 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009083/6.374, allocations: 2.24 MB / 1.575 GB, free: 83.76 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004951/6.379, allocations: 125.8 kB / 1.575 GB, free: 83.76 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01163/6.39, allocations: 0.5367 MB / 1.575 GB, free: 83.76 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002745/6.393, allocations: 446.6 kB / 1.576 GB, free: 83.75 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001427/6.395, allocations: 191 kB / 1.576 GB, free: 83.75 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.01765/6.412, allocations: 6.501 MB / 1.582 GB, free: 83.46 MB / 0.5107 GB Notification: Performance of sort global known variables: time 7.31e-07/6.412, allocations: 3.875 kB / 1.582 GB, free: 83.46 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.02294/6.435, allocations: 3.428 MB / 1.586 GB, free: 83.46 MB / 0.5107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.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 (653): * Single equations (assignments): 636 * Array equations: 15 * 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%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003889/6.439, allocations: 313.4 kB / 1.586 GB, free: 83.37 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.05094/6.49, allocations: 19.7 MB / 1.605 GB, free: 80.73 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/6.49, allocations: 3.594 kB / 1.605 GB, free: 80.73 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.02087/6.511, allocations: 7.753 MB / 1.613 GB, free: 77.95 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01651/6.528, allocations: 1.361 MB / 1.614 GB, free: 77.34 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1032/6.631, allocations: 40.98 MB / 1.654 GB, free: 52.1 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03052/6.662, allocations: 10.56 MB / 1.664 GB, free: 44.45 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 0.03175/6.693, allocations: 6.662 MB / 1.671 GB, free: 40.12 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006491/6.7, allocations: 0.7237 MB / 1.672 GB, free: 39.43 MB / 0.5107 GB Notification: Performance of SimCode: time 1.282e-06/6.7, allocations: 0 / 1.672 GB, free: 39.43 MB / 0.5107 GB Notification: Performance of Templates: time 0.8845/7.584, allocations: 102.2 MB / 1.771 GB, free: 67.7 MB / 0.5107 GB