Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 194.9 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.000371, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 44.49 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.5555, allocations: 93.08 MB / 402 MB, free: 14.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/0.556, allocations: 96.38 kB / 402.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4518/1.008, allocations: 97.42 MB / 499.6 MB, free: 4.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.339e-06/1.008, allocations: 3.938 kB / 499.6 MB, free: 4.859 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005651/1.008, allocations: 100 kB / 499.7 MB, free: 4.762 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.05218/1.061, allocations: 5.758 MB / 0.4936 GB, free: 14.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.322e-05/1.061, allocations: 12.03 kB / 0.4936 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03169/1.092, allocations: 2.321 MB / 0.4959 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02086/1.113, allocations: 4.929 MB / 0.5007 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006446/1.114, allocations: 398.3 kB / 0.501 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003641/1.118, allocations: 0.5153 MB / 0.5015 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04757/1.165, allocations: 13.05 MB / 0.5143 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003362/1.166, allocations: 63.41 kB / 0.5144 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002365/1.168, allocations: 247.9 kB / 0.5146 GB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003276/1.172, allocations: 1.207 MB / 0.5158 GB, free: 6.992 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3453/1.517, allocations: 11.23 MB / 0.5267 GB, free: 78.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1028/1.62, allocations: 57.08 MB / 0.5825 GB, free: 47.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02634/1.646, allocations: 5.185 MB / 0.5875 GB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002009/1.648, allocations: 0.6843 MB / 0.5882 GB, free: 45.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.381e-05/1.648, allocations: 61.27 kB / 0.5883 GB, free: 45.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=221): time 6.683e-06/1.648, allocations: 0 / 0.5883 GB, free: 45.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.1211/1.769, allocations: 26.27 MB / 0.6139 GB, free: 36.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/1.77, allocations: 155.6 kB / 0.6141 GB, free: 36.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/1.78, allocations: 4.573 MB / 0.6185 GB, free: 35.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008852/1.781, allocations: 67.42 kB / 0.6186 GB, free: 35.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003282/1.784, allocations: 3.473 MB / 0.622 GB, free: 32.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00165/1.786, allocations: 0.9529 MB / 0.6229 GB, free: 31.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009634/1.787, allocations: 136.3 kB / 0.623 GB, free: 31.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005395/1.788, allocations: 0.6036 MB / 0.6236 GB, free: 31.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008026/1.796, allocations: 3.046 MB / 0.6266 GB, free: 30.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/1.807, allocations: 7.108 MB / 0.6335 GB, free: 23.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/1.818, allocations: 4.537 MB / 0.638 GB, free: 22.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001527/1.818, allocations: 40.56 kB / 0.638 GB, free: 22.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.032/1.85, allocations: 10.83 MB / 0.6486 GB, free: 13.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/1.85, allocations: 68 kB / 0.6487 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002336/1.85, allocations: 140.9 kB / 0.6488 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005306/1.856, allocations: 1.135 MB / 0.6499 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01206/1.868, allocations: 1.736 MB / 0.6516 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/1.88, allocations: 6.04 MB / 0.6575 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009103/1.889, allocations: 434.3 kB / 0.6579 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001985/1.891, allocations: 431.3 kB / 0.6583 GB, free: 4.559 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * 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.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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 (870): * Single equations (assignments): 866 * 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.007839/1.899, allocations: 2.436 MB / 0.6607 GB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/1.9, allocations: 414.7 kB / 0.6611 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02014/1.92, allocations: 5.663 MB / 0.6666 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.366e-05/1.92, allocations: 31.66 kB / 0.6667 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.423e-05/1.92, allocations: 4 kB / 0.6667 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-05/1.921, allocations: 10.27 kB / 0.6667 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04001/1.961, allocations: 12.2 MB / 0.6786 GB, free: 3.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.64e-05/1.961, allocations: 4 kB / 0.6786 GB, free: 3.738 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005535/1.966, allocations: 0.5073 MB / 0.6791 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004801/1.971, allocations: 0.9254 MB / 0.68 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009107/1.972, allocations: 48 kB / 0.68 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3243/2.296, allocations: 5.739 MB / 0.6856 GB, free: 89.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/2.296, allocations: 6.438 kB / 0.6856 GB, free: 89.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02626/2.323, allocations: 9.465 MB / 0.6949 GB, free: 88.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00388/2.327, allocations: 0.9066 MB / 0.6958 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001906/2.329, allocations: 45.28 kB / 0.6958 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00474/2.333, allocations: 181 kB / 0.696 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009098/2.334, allocations: 151.5 kB / 0.6961 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003289/2.335, allocations: 71.33 kB / 0.6962 GB, free: 88.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008199/2.343, allocations: 2.865 MB / 0.699 GB, free: 88.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.142e-06/2.343, allocations: 3.562 kB / 0.699 GB, free: 88.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008722/2.352, allocations: 1.264 MB / 0.7002 GB, free: 88.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (225): * Single equations (assignments): 221 * 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.001232/2.353, allocations: 189.6 kB / 0.7004 GB, free: 88.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01837/2.371, allocations: 7.299 MB / 0.7075 GB, free: 87.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/2.371, allocations: 0 / 0.7075 GB, free: 87.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007002/2.378, allocations: 2.742 MB / 0.7102 GB, free: 87.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/2.383, allocations: 461.4 kB / 0.7107 GB, free: 87.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03556/2.418, allocations: 14.64 MB / 0.725 GB, free: 82.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009368/2.428, allocations: 3.898 MB / 0.7288 GB, free: 81.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002931/2.431, allocations: 371.8 kB / 0.7291 GB, free: 81.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.354e-06/2.431, allocations: 3.375 kB / 0.7291 GB, free: 81.88 MB / 426.7 MB Notification: Performance of Templates: time 0.1811/2.612, allocations: 91.28 MB / 0.8183 GB, free: 21.49 MB / 426.7 MB