Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.572/1.572, allocations: 171.3 MB / 179.2 MB, free: 7.59 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.922e-05, allocations: 4 kB / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.069/0.06904, allocations: 38.77 MB / 261.3 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3014/0.3705, allocations: 85.91 MB / 347.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.3708, allocations: 84.58 kB / 347.3 MB, free: 2.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5539/0.9247, allocations: 82.14 MB / 429.4 MB, free: 77.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.888e-06/0.9247, allocations: 0 / 429.4 MB, free: 77.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002444/0.925, allocations: 82.59 kB / 429.5 MB, free: 77.93 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01825/0.9433, allocations: 4.478 MB / 434 MB, free: 76.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.9433, allocations: 9.438 kB / 434 MB, free: 76.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/0.9565, allocations: 2.219 MB / 436.2 MB, free: 75.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/0.9699, allocations: 4.462 MB / 440.7 MB, free: 75.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.9701, allocations: 133.6 kB / 440.8 MB, free: 75.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/0.972, allocations: 254.6 kB / 441 MB, free: 75.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01366/0.9856, allocations: 6.338 MB / 447.4 MB, free: 75.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0199/1.006, allocations: 9.667 MB / 457 MB, free: 72.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/1.006, allocations: 54.69 kB / 457.1 MB, free: 72.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/1.007, allocations: 37.84 kB / 457.1 MB, free: 72.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00175/1.009, allocations: 0.9977 MB / 458.1 MB, free: 71.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05531/1.064, allocations: 46.92 MB / 0.4932 GB, free: 36.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/1.069, allocations: 3.217 MB / 0.4964 GB, free: 34.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/1.072, allocations: 1.74 MB / 0.4981 GB, free: 33.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008346/1.08, allocations: 4.235 MB / 0.5022 GB, free: 29.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/1.08, allocations: 43.34 kB / 0.5022 GB, free: 29.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 5.518e-06/1.08, allocations: 3.938 kB / 0.5022 GB, free: 29.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=146): time 0.02718/1.107, allocations: 12.04 MB / 0.514 GB, free: 18.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/1.107, allocations: 148.9 kB / 0.5141 GB, free: 18.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005715/1.113, allocations: 3.142 MB / 0.5172 GB, free: 15.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003/1.113, allocations: 25.7 kB / 0.5172 GB, free: 15.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002063/1.115, allocations: 3.215 MB / 0.5204 GB, free: 12.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006853/1.116, allocations: 0.5772 MB / 0.5209 GB, free: 12.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/1.117, allocations: 0 / 0.5209 GB, free: 12.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003802/1.117, allocations: 0.5709 MB / 0.5215 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00348/1.121, allocations: 1.861 MB / 0.5233 GB, free: 9.926 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00565/1.126, allocations: 5.787 MB / 0.529 GB, free: 2.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.208/1.334, allocations: 3.255 MB / 0.5321 GB, free: 67.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/1.334, allocations: 41.31 kB / 0.5322 GB, free: 67.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01968/1.354, allocations: 7.342 MB / 0.5393 GB, free: 67.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/1.354, allocations: 66.59 kB / 0.5394 GB, free: 67.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002369/1.355, allocations: 141.3 kB / 0.5395 GB, free: 67.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003612/1.358, allocations: 0.9207 MB / 0.5404 GB, free: 67.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006135/1.364, allocations: 1.439 MB / 0.5418 GB, free: 67.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007344/1.372, allocations: 4.616 MB / 0.5464 GB, free: 66.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005946/1.378, allocations: 217 kB / 0.5466 GB, free: 66.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/1.379, allocations: 388.4 kB / 0.5469 GB, free: 66.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 649 * 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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 756 * 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.0009978/1.38, allocations: 459.5 kB / 0.5474 GB, free: 65.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006541/1.381, allocations: 315.6 kB / 0.5477 GB, free: 65.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006512/1.387, allocations: 2.718 MB / 0.5503 GB, free: 65.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.088e-05/1.387, allocations: 21.38 kB / 0.5503 GB, free: 65.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.387, allocations: 3.906 kB / 0.5504 GB, free: 65.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.97e-05/1.387, allocations: 8.891 kB / 0.5504 GB, free: 65.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/1.403, allocations: 6.117 MB / 0.5563 GB, free: 65.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/1.403, allocations: 4.984 kB / 0.5563 GB, free: 65.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/1.405, allocations: 248.9 kB / 0.5566 GB, free: 65.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002994/1.408, allocations: 0.6935 MB / 0.5573 GB, free: 65.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003107/1.408, allocations: 6.828 kB / 0.5573 GB, free: 65.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006553/1.415, allocations: 4.184 MB / 0.5613 GB, free: 64.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.688e-06/1.415, allocations: 3.953 kB / 0.5613 GB, free: 64.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009192/1.424, allocations: 4.994 MB / 0.5662 GB, free: 62.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/1.425, allocations: 0.5767 MB / 0.5668 GB, free: 62.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006352/1.426, allocations: 0 / 0.5668 GB, free: 62.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/1.428, allocations: 72.12 kB / 0.5669 GB, free: 62.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/1.428, allocations: 85.39 kB / 0.5669 GB, free: 62.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/1.429, allocations: 38.12 kB / 0.567 GB, free: 62.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003927/1.432, allocations: 2.084 MB / 0.569 GB, free: 61.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.038e-06/1.432, allocations: 0 / 0.569 GB, free: 61.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006809/1.439, allocations: 0.8221 MB / 0.5698 GB, free: 61.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * 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.000556/1.44, allocations: 147.8 kB / 0.57 GB, free: 61.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008459/1.448, allocations: 4.446 MB / 0.5743 GB, free: 59.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.599e-06/1.448, allocations: 2.969 kB / 0.5743 GB, free: 59.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002318/1.451, allocations: 1.29 MB / 0.5756 GB, free: 59.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/1.453, allocations: 328.4 kB / 0.5759 GB, free: 59.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/1.47, allocations: 7.58 MB / 0.5833 GB, free: 56.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006042/1.476, allocations: 3.324 MB / 0.5865 GB, free: 55.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.478, allocations: 274.3 kB / 0.5868 GB, free: 55.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.94e-06/1.478, allocations: 0 / 0.5868 GB, free: 55.01 MB / 346.7 MB Notification: Performance of Templates: time 0.09924/1.577, allocations: 69.36 MB / 0.6545 GB, free: 9.34 MB / 362.7 MB