Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.000339, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09172, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.06423/0.156, allocations: 41.14 MB / 350.2 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02632/0.1824, allocations: 9.818 MB / 360 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00763/0.1901, allocations: 203.5 kB / 360.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007063/0.1972, allocations: 2.057 MB / 362.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02172/0.2189, allocations: 5.922 MB / 368.2 MB, free: 5.047 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.2224, allocations: 0.5031 MB / 368.7 MB, free: 4.543 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00551/0.228, allocations: 2.14 MB / 370.9 MB, free: 2.398 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2732/0.5012, allocations: 4.28 MB / 375.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.5038, allocations: 0.9956 MB / 376.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.5071, allocations: 1.382 MB / 377.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008822/0.508, allocations: 141.6 kB / 377.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.5106, allocations: 0.8116 MB / 378.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002552/0.5131, allocations: 1.547 MB / 380 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.5145, allocations: 0.832 MB / 380.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008486/0.523, allocations: 5.541 MB / 386.4 MB, free: 9.965 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5231, allocations: 1.344 kB / 386.4 MB, free: 9.965 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5231, allocations: 0 / 386.4 MB, free: 9.965 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000246/0.5233, allocations: 0 / 386.4 MB, free: 9.965 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02463/0.548, allocations: 4.968 MB / 391.3 MB, free: 7.605 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.548, allocations: 8 kB / 391.4 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01345/0.5615, allocations: 2.231 MB / 393.6 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00726/0.5688, allocations: 2.492 MB / 396.1 MB, free: 5.766 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.5691, allocations: 238 kB / 396.3 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/0.5703, allocations: 314.4 kB / 396.6 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02577/0.596, allocations: 10.33 MB / 406.9 MB, free: 2.246 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000164/0.5963, allocations: 50.39 kB / 407 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007049/0.597, allocations: 148.6 kB / 407.1 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004448/0.6014, allocations: 1.869 MB / 409 MB, free: 1.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02791/0.6294, allocations: 8.903 MB / 417.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07425/0.7037, allocations: 39.39 MB / 457.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/0.7232, allocations: 3.581 MB / 460.9 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.7245, allocations: 370.7 kB / 461.2 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.7245, allocations: 54.2 kB / 461.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=148): time 5.741e-06/0.7245, allocations: 0 / 461.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=154): time 0.06652/0.7911, allocations: 13.67 MB / 475 MB, free: 11.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.7912, allocations: 147.4 kB / 475.1 MB, free: 10.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008698/0.7999, allocations: 4.248 MB / 479.4 MB, free: 6.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004577/0.8004, allocations: 56.59 kB / 479.4 MB, free: 6.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003442/0.8039, allocations: 3.153 MB / 482.6 MB, free: 3.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001122/0.805, allocations: 0.6156 MB / 483.2 MB, free: 2.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004516/0.8055, allocations: 116 kB / 483.3 MB, free: 2.727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004867/0.806, allocations: 0.554 MB / 483.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005219/0.8112, allocations: 2.01 MB / 485.9 MB, free: 152 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00864/0.8199, allocations: 5.801 MB / 491.7 MB, free: 8.504 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008259/0.8282, allocations: 3.342 MB / 495 MB, free: 5.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-05/0.8283, allocations: 40 kB / 495 MB, free: 5.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02454/0.8529, allocations: 8.286 MB / 0.4915 GB, free: 13.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.853, allocations: 64 kB / 0.4916 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002148/0.8533, allocations: 136 kB / 0.4917 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004464/0.8577, allocations: 0.9357 MB / 0.4926 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008569/0.8663, allocations: 1.376 MB / 0.494 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.8777, allocations: 4.973 MB / 0.4988 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006254/0.884, allocations: 334.1 kB / 0.4992 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/0.8853, allocations: 372 kB / 0.4995 GB, free: 5.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (733): * Single equations (assignments): 729 * 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.00571/0.891, allocations: 2.086 MB / 0.5015 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000962/0.892, allocations: 355.5 kB / 0.5019 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009957/0.902, allocations: 2.937 MB / 0.5048 GB, free: 0 / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.542e-05/0.9021, allocations: 4.047 kB / 0.5048 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.9021, allocations: 4 kB / 0.5048 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/0.9044, allocations: 0.6329 MB / 0.5054 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008011/0.9052, allocations: 24 kB / 0.5054 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00222/0.9075, allocations: 91.88 kB / 0.5055 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000425/0.9079, allocations: 100.8 kB / 0.5056 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01104/0.919, allocations: 3.392 MB / 0.5089 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01063/0.9296, allocations: 4.615 MB / 0.5134 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002886/0.9326, allocations: 1.175 MB / 0.5146 GB, free: 5.934 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006619/0.9392, allocations: 2.673 MB / 0.5172 GB, free: 3.25 MB / 426.7 MB Notification: Performance of Backend: time 1.803e-06/0.9393, allocations: 0.9375 kB / 0.5172 GB, free: 3.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2645/1.204, allocations: 3.959 MB / 0.521 GB, free: 158.4 MB / 426.7 MB Notification: Performance of SimCode: time 0.02579/1.23, allocations: 10.69 MB / 0.5315 GB, free: 153.8 MB / 426.7 MB Notification: Performance of Templates: time 0.1177/1.347, allocations: 41.01 MB / 0.5715 GB, free: 123.6 MB / 426.7 MB