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.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.007/1.007, allocations: 111.1 MB / 127.3 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002665, allocations: 12 kB / 158.9 MB, free: 15.21 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05212/0.05241, allocations: 25.16 MB / 184 MB, free: 6.012 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.282, allocations: 51.17 MB / 235.2 MB, free: 11.61 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.2823, allocations: 80.14 kB / 235.3 MB, free: 11.57 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.202/4.484, allocations: 484.4 MB / 0.7028 GB, free: 42.99 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.605e-06/4.484, allocations: 0 / 0.7028 GB, free: 42.99 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002635/4.484, allocations: 111.5 kB / 0.7029 GB, free: 42.99 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: 2089 * Number of variables: 2089 Notification: Performance of Generate backend data structure: time 0.3179/4.802, allocations: 42.22 MB / 0.7441 GB, free: 13.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/4.802, allocations: 12.03 kB / 0.7442 GB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 10.89/15.69, allocations: 1.026 GB / 1.771 GB, free: 45.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06538/15.76, allocations: 17.65 MB / 1.788 GB, free: 43.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006686/15.76, allocations: 446.7 kB / 1.788 GB, free: 43.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02047/15.78, allocations: 0.5618 MB / 1.789 GB, free: 43.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.16/18.94, allocations: 331.7 MB / 2.113 GB, free: 38.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003648/18.94, allocations: 41.14 kB / 2.113 GB, free: 38.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01677/18.95, allocations: 257.7 kB / 2.113 GB, free: 38.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007408/18.96, allocations: 1.813 MB / 2.115 GB, free: 38.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.338/25.3, allocations: 0.6329 GB / 2.748 GB, free: 7.508 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.419/33.72, allocations: 0.9697 GB / 3.717 GB, free: 45.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 1.034/34.75, allocations: 99.26 MB / 3.814 GB, free: 67.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1892/34.94, allocations: 81.87 MB / 3.894 GB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.219e-05/34.94, allocations: 61.98 kB / 3.894 GB, free: 9.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=246): time 7.293e-06/34.94, allocations: 1.688 kB / 3.894 GB, free: 9.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=252): time 3.043/37.99, allocations: 286 MB / 4.174 GB, free: 62.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/37.99, allocations: 180.8 kB / 4.174 GB, free: 62.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.118/38.1, allocations: 15.99 MB / 4.189 GB, free: 47.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.005755/38.11, allocations: 61.7 kB / 4.189 GB, free: 47.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003338/38.11, allocations: 3.975 MB / 4.193 GB, free: 43.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006599/38.12, allocations: 0.967 MB / 4.194 GB, free: 42.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007729/38.13, allocations: 160 kB / 4.194 GB, free: 42.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0007526/38.13, allocations: 0.6458 MB / 4.195 GB, free: 41.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04/39.17, allocations: 97.06 MB / 4.29 GB, free: 42.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.027/40.2, allocations: 101.9 MB / 4.389 GB, free: 38.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.9204/41.12, allocations: 78.94 MB / 4.466 GB, free: 53.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001853/41.12, allocations: 48 kB / 4.466 GB, free: 53.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=1047) (initialization): time 2.009/43.13, allocations: 181.6 MB / 4.644 GB, free: 56.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/43.13, allocations: 82.95 kB / 4.644 GB, free: 56.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002851/43.13, allocations: 171 kB / 4.644 GB, free: 56.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004346/43.13, allocations: 0.9635 MB / 4.645 GB, free: 56.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3781/43.51, allocations: 41.22 MB / 4.685 GB, free: 35.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009411/43.52, allocations: 4.963 MB / 4.69 GB, free: 31.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6605/44.18, allocations: 45.41 MB / 4.735 GB, free: 56.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009806/44.19, allocations: 1.657 MB / 4.736 GB, free: 56.52 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (1008): * Single equations (assignments): 1004 * 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.01858/44.21, allocations: 2.712 MB / 4.739 GB, free: 56.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008232/44.22, allocations: 450.7 kB / 4.739 GB, free: 56.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4527/44.67, allocations: 41.72 MB / 4.78 GB, free: 43.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-05/44.67, allocations: 28 kB / 4.78 GB, free: 43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/44.67, allocations: 4 kB / 4.78 GB, free: 42.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.026e-05/44.67, allocations: 11.95 kB / 4.78 GB, free: 42.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9502/45.62, allocations: 113.3 MB / 4.891 GB, free: 29.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.717e-05/45.62, allocations: 4 kB / 4.891 GB, free: 29.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.5387/46.16, allocations: 35.46 MB / 4.925 GB, free: 57.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005423/46.16, allocations: 0.703 MB / 4.926 GB, free: 57.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008564/46.17, allocations: 0.9799 MB / 4.927 GB, free: 57.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/46.18, allocations: 4.447 MB / 4.931 GB, free: 56.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/46.18, allocations: 6.516 kB / 4.931 GB, free: 56.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.621/48.8, allocations: 253.7 MB / 5.179 GB, free: 47.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.02104/48.83, allocations: 5.344 MB / 5.184 GB, free: 42.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01037/48.84, allocations: 45.41 kB / 5.184 GB, free: 42.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.5747/49.41, allocations: 37.23 MB / 5.221 GB, free: 58.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/49.41, allocations: 152.5 kB / 5.221 GB, free: 58.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006366/49.42, allocations: 1.05 MB / 5.222 GB, free: 58.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.1114/49.53, allocations: 13.42 MB / 5.235 GB, free: 58.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.704e-06/49.53, allocations: 0 / 5.235 GB, free: 58.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.03082/49.56, allocations: 3.306 MB / 5.238 GB, free: 58.56 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.w,rotor1D.rotorWith3DEffects.phi) * 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 (221): * Single equations (assignments): 217 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005596/49.57, allocations: 186.6 kB / 5.238 GB, free: 58.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 2.014/51.58, allocations: 186.4 MB / 5.42 GB, free: 60.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/51.58, allocations: 5.969 kB / 5.42 GB, free: 60.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.7943/52.37, allocations: 87.27 MB / 5.506 GB, free: 27.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00926/52.38, allocations: 443.8 kB / 5.506 GB, free: 26.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.268/53.65, allocations: 104.1 MB / 5.608 GB, free: 26.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2285/53.88, allocations: 4.198 MB / 5.612 GB, free: 53.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0435/53.92, allocations: 3.734 MB / 5.615 GB, free: 53.08 MB / 298.7 MB Notification: Performance of SimCode: time 1.203e-06/53.92, allocations: 0 / 5.615 GB, free: 53.08 MB / 298.7 MB Notification: Performance of Templates: time 1.574/55.5, allocations: 406.3 MB / 6.012 GB, free: 29.75 MB / 330.7 MB