Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 0.9835/0.9835, allocations: 111.1 MB / 127.3 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.0002631, allocations: 8 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05158/0.05187, allocations: 25.16 MB / 184 MB, free: 6.012 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/0.2859, allocations: 51.62 MB / 235.7 MB, free: 11.14 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.2863, allocations: 80.47 kB / 235.7 MB, free: 11.1 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.516/4.802, allocations: 0.5203 GB / 0.7505 GB, free: 7.773 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.454e-06/4.803, allocations: 0 / 0.7505 GB, free: 7.773 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0004039/4.803, allocations: 132 kB / 0.7507 GB, free: 7.645 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2462 * Number of variables: 2462 Notification: Performance of Generate backend data structure: time 0.5421/5.345, allocations: 46.05 MB / 0.7956 GB, free: 28.45 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/5.345, allocations: 11.47 kB / 0.7957 GB, free: 28.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 11.62/16.96, allocations: 1.103 GB / 1.899 GB, free: 49.08 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07017/17.04, allocations: 19.05 MB / 1.918 GB, free: 47.48 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007806/17.04, allocations: 0.522 MB / 1.918 GB, free: 47.28 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02132/17.06, allocations: 0.6639 MB / 1.919 GB, free: 47.09 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.366/20.42, allocations: 358.5 MB / 2.269 GB, free: 36.87 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004946/20.42, allocations: 47.48 kB / 2.269 GB, free: 36.86 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02041/20.44, allocations: 304.9 kB / 2.269 GB, free: 36.68 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008328/20.45, allocations: 2.069 MB / 2.271 GB, free: 35.91 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.787/27.24, allocations: 0.6825 GB / 2.954 GB, free: 13.43 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.071/36.31, allocations: 1.055 GB / 4.008 GB, free: 62.05 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 1.13/37.44, allocations: 111.3 MB / 4.117 GB, free: 87.22 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002069/37.44, allocations: 0.7231 MB / 4.118 GB, free: 86.65 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.677e-05/37.44, allocations: 87.59 kB / 4.118 GB, free: 86.61 MB / 330.8 MB Notification: Performance of pre-optimization done (n=394): time 8.846e-06/37.44, allocations: 0 / 4.118 GB, free: 86.61 MB / 330.8 MB Notification: Performance of matching and sorting (n=425): time 4.874/42.32, allocations: 430.3 MB / 4.538 GB, free: 85.9 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/42.32, allocations: 409.6 kB / 4.538 GB, free: 85.46 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01625/42.33, allocations: 5.94 MB / 4.544 GB, free: 85.07 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.007831/42.34, allocations: 88.55 kB / 4.544 GB, free: 85.04 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003785/42.34, allocations: 4.275 MB / 4.549 GB, free: 82.59 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.009336/42.35, allocations: 1.543 MB / 4.55 GB, free: 81.44 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00951/42.36, allocations: 194.2 kB / 4.55 GB, free: 81.29 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.001017/42.36, allocations: 0.7067 MB / 4.551 GB, free: 80.81 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122/43.49, allocations: 108.3 MB / 4.657 GB, free: 85.68 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.218/44.7, allocations: 113.3 MB / 4.767 GB, free: 79.3 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.042/45.75, allocations: 88.29 MB / 4.854 GB, free: 79.29 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002271/45.75, allocations: 47.84 kB / 4.854 GB, free: 79.29 MB / 330.8 MB Notification: Performance of matching and sorting (n=1236) (initialization): time 2.223/47.97, allocations: 203 MB / 5.052 GB, free: 77.11 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/47.97, allocations: 79.53 kB / 5.052 GB, free: 77.11 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003078/47.97, allocations: 176 kB / 5.052 GB, free: 77.11 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00511/47.98, allocations: 1.189 MB / 5.053 GB, free: 77.1 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4272/48.4, allocations: 45.92 MB / 5.098 GB, free: 62.37 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/48.42, allocations: 6.1 MB / 5.104 GB, free: 57.86 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6805/49.1, allocations: 41.68 MB / 5.145 GB, free: 77.85 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01177/49.11, allocations: 1.893 MB / 5.147 GB, free: 77.85 MB / 330.8 MB Warning: Assuming fixed start value for the following 2 variables: r2.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real r1.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 800 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1197): * Single equations (assignments): 1193 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02376/49.13, allocations: 3.12 MB / 5.15 GB, free: 77.62 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01017/49.14, allocations: 0.5298 MB / 5.15 GB, free: 77.62 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.083/50.22, allocations: 83.15 MB / 5.231 GB, free: 78.42 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001085/50.22, allocations: 50.8 kB / 5.231 GB, free: 78.42 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/50.22, allocations: 11.42 kB / 5.231 GB, free: 78.42 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001223/50.22, allocations: 19.25 kB / 5.231 GB, free: 78.42 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.169/52.39, allocations: 214 MB / 5.44 GB, free: 77.88 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001127/52.39, allocations: 12.16 kB / 5.44 GB, free: 77.88 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4184/52.81, allocations: 44.3 MB / 5.484 GB, free: 77.88 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004574/52.82, allocations: 0.9493 MB / 5.485 GB, free: 77.87 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008973/52.83, allocations: 1.329 MB / 5.486 GB, free: 77.87 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/52.84, allocations: 5.773 MB / 5.492 GB, free: 76.55 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.67e-05/52.84, allocations: 18.59 kB / 5.492 GB, free: 76.55 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.492/56.33, allocations: 318.4 MB / 5.803 GB, free: 77.57 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0246/56.35, allocations: 6.194 MB / 5.809 GB, free: 75.55 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01211/56.37, allocations: 82.44 kB / 5.809 GB, free: 75.5 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.4021/56.77, allocations: 41.27 MB / 5.849 GB, free: 48.22 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001763/56.77, allocations: 294.5 kB / 5.849 GB, free: 47.96 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.009195/56.78, allocations: 1.432 MB / 5.851 GB, free: 46.53 MB / 330.8 MB Notification: Performance of sorting global known variables: time 0.01179/56.79, allocations: 3.775 MB / 5.854 GB, free: 42.78 MB / 330.8 MB Notification: Performance of sort global known variables: time 1.052e-06/56.79, allocations: 0 / 5.854 GB, free: 42.78 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.2676/57.06, allocations: 3.795 MB / 5.858 GB, free: 75.09 MB / 330.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.w,rotor1D.rotorWith3DEffects.phi,r1.phi,r1.w,r2.phi,r2.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 (398): * Single equations (assignments): 394 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007814/57.07, allocations: 255.4 kB / 5.858 GB, free: 74.99 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 2.365/59.43, allocations: 219.9 MB / 6.073 GB, free: 76.82 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/59.43, allocations: 3.656 kB / 6.073 GB, free: 76.82 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 1.149/60.58, allocations: 109.7 MB / 6.18 GB, free: 76.72 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01152/60.59, allocations: 0.5139 MB / 6.181 GB, free: 76.7 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.303/61.9, allocations: 137.3 MB / 6.315 GB, free: 70.23 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01176/61.91, allocations: 4.891 MB / 6.32 GB, free: 69.37 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06547/61.97, allocations: 4.463 MB / 6.324 GB, free: 69.37 MB / 330.8 MB Notification: Performance of SimCode: time 1.813e-06/61.97, allocations: 1.688 kB / 6.324 GB, free: 69.37 MB / 330.8 MB Notification: Performance of Templates: time 2.023/64, allocations: 466.6 MB / 6.78 GB, free: 34.05 MB / 362.8 MB