Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.696/1.696, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.000333, allocations: 8 kB / 233.9 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1055, allocations: 38.78 MB / 272.6 MB, free: 9.43 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.256/0.3615, allocations: 41.14 MB / 313.8 MB, free: 6.988 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02657/0.3882, allocations: 9.803 MB / 323.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008739/0.3969, allocations: 203.5 kB / 323.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007441/0.4044, allocations: 2.057 MB / 325.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0223/0.4268, allocations: 5.922 MB / 331.8 MB, free: 7.117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.4301, allocations: 0.5226 MB / 332.3 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005175/0.4353, allocations: 2.14 MB / 334.4 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008055/0.4434, allocations: 4.277 MB / 338.7 MB, free: 128 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.4453, allocations: 1 MB / 339.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/0.4478, allocations: 1.386 MB / 341.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000548/0.4483, allocations: 140 kB / 341.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.4505, allocations: 0.8114 MB / 342 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.4525, allocations: 1.543 MB / 343.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.4536, allocations: 0.8349 MB / 344.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008341/0.4619, allocations: 5.542 MB / 349.9 MB, free: 4.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.462, allocations: 0 / 349.9 MB, free: 4.836 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.462, allocations: 4 kB / 350 MB, free: 4.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001406/0.4622, allocations: 4 kB / 350 MB, free: 4.828 MB / 282.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.02461/0.4868, allocations: 4.959 MB / 354.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.4868, allocations: 8.031 kB / 354.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/0.5006, allocations: 2.225 MB / 357.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007179/0.5079, allocations: 2.499 MB / 359.6 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/0.5081, allocations: 238 kB / 359.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.5092, allocations: 319.7 kB / 360.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02771/0.5369, allocations: 10.32 MB / 370.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/0.5371, allocations: 39.69 kB / 370.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000762/0.5379, allocations: 151.8 kB / 370.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005026/0.543, allocations: 1.869 MB / 372.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02873/0.5717, allocations: 8.903 MB / 381.5 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3237/0.8954, allocations: 39.37 MB / 420.8 MB, free: 86.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02882/0.9243, allocations: 3.6 MB / 424.4 MB, free: 85.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001792/0.9262, allocations: 370.6 kB / 424.8 MB, free: 85.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.9263, allocations: 48.05 kB / 424.9 MB, free: 85.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=148): time 7.323e-06/0.9263, allocations: 3.438 kB / 424.9 MB, free: 85.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=154): time 0.07728/1.004, allocations: 13.68 MB / 438.5 MB, free: 81.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.004, allocations: 145.7 kB / 438.7 MB, free: 81.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007541/1.011, allocations: 4.254 MB / 442.9 MB, free: 80.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003707/1.012, allocations: 48.45 kB / 443 MB, free: 80.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002317/1.014, allocations: 3.157 MB / 446.1 MB, free: 77.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009053/1.015, allocations: 0.6168 MB / 446.8 MB, free: 77.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004903/1.015, allocations: 116.3 kB / 446.9 MB, free: 77.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003315/1.016, allocations: 0.5537 MB / 447.4 MB, free: 76.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004644/1.02, allocations: 2.013 MB / 449.4 MB, free: 76.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006516/1.027, allocations: 5.797 MB / 455.2 MB, free: 69.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006973/1.034, allocations: 3.349 MB / 458.6 MB, free: 68.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000101/1.034, allocations: 40.59 kB / 458.6 MB, free: 68.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02081/1.055, allocations: 8.282 MB / 466.9 MB, free: 60.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.932e-05/1.055, allocations: 63.94 kB / 467 MB, free: 60.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001322/1.055, allocations: 136 kB / 467.1 MB, free: 60.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003979/1.059, allocations: 0.9261 MB / 468 MB, free: 59.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007463/1.067, allocations: 1.373 MB / 469.4 MB, free: 57.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009268/1.076, allocations: 4.974 MB / 474.4 MB, free: 52.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005881/1.082, allocations: 331.7 kB / 474.7 MB, free: 52.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008223/1.083, allocations: 368.8 kB / 475.1 MB, free: 52.21 MB / 346.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.004127/1.087, allocations: 2.099 MB / 477.2 MB, free: 50.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008487/1.088, allocations: 352.1 kB / 477.5 MB, free: 49.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008591/1.096, allocations: 2.933 MB / 480.4 MB, free: 46.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-05/1.096, allocations: 7.969 kB / 480.4 MB, free: 46.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.096, allocations: 0 / 480.4 MB, free: 46.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/1.099, allocations: 0.6301 MB / 481.1 MB, free: 46.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008606/1.099, allocations: 37.42 kB / 481.1 MB, free: 46.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/1.102, allocations: 89.38 kB / 481.2 MB, free: 46.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004118/1.102, allocations: 92.81 kB / 481.3 MB, free: 45.92 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01013/1.112, allocations: 3.396 MB / 484.7 MB, free: 42.54 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009202/1.122, allocations: 4.621 MB / 489.3 MB, free: 37.89 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002441/1.124, allocations: 1.172 MB / 490.5 MB, free: 36.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005606/1.13, allocations: 2.677 MB / 493.1 MB, free: 34.04 MB / 346.7 MB Notification: Performance of Backend: time 1.122e-06/1.13, allocations: 0 / 493.1 MB, free: 34.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01032/1.14, allocations: 3.961 MB / 497.1 MB, free: 30.11 MB / 346.7 MB Notification: Performance of SimCode: time 0.02334/1.164, allocations: 10.71 MB / 0.4959 GB, free: 19.36 MB / 346.7 MB Notification: Performance of Templates: time 0.1192/1.283, allocations: 40.99 MB / 0.5359 GB, free: 10.43 MB / 378.7 MB