Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002917/0.002917, allocations: 347.2 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.602/3.602, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.004791/0.00479, allocations: 222.1 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5563/0.5563, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006228/0.0006229, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1106, allocations: 48.69 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4194/0.5301, allocations: 95.2 MB / 0.6997 GB, free: 17.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.5304, allocations: 83.95 kB / 0.6998 GB, free: 17.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6661/1.197, allocations: 83.45 MB / 0.7813 GB, free: 86.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.197, allocations: 0 / 0.7813 GB, free: 86.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003721/1.197, allocations: 83.34 kB / 0.7813 GB, free: 86.48 MB / 410.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.03447/1.232, allocations: 4.658 MB / 0.7859 GB, free: 84.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.232, allocations: 8.969 kB / 0.7859 GB, free: 84.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02309/1.255, allocations: 2.18 MB / 0.788 GB, free: 84.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/1.269, allocations: 3.41 MB / 0.7914 GB, free: 83.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005745/1.27, allocations: 322.2 kB / 0.7917 GB, free: 83.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002915/1.273, allocations: 421.9 kB / 0.7921 GB, free: 83.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04326/1.316, allocations: 10.72 MB / 0.8025 GB, free: 80.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003441/1.316, allocations: 61.91 kB / 0.8026 GB, free: 80.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002408/1.319, allocations: 201.3 kB / 0.8028 GB, free: 80.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003343/1.322, allocations: 1.011 MB / 0.8038 GB, free: 80.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03369/1.356, allocations: 8.992 MB / 0.8126 GB, free: 78.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06841/1.424, allocations: 47.37 MB / 0.8588 GB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01892/1.443, allocations: 3.608 MB / 0.8623 GB, free: 40.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004014/1.447, allocations: 1.833 MB / 0.8641 GB, free: 39.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/1.459, allocations: 4.716 MB / 0.8687 GB, free: 35.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.506e-05/1.459, allocations: 51.5 kB / 0.8688 GB, free: 34.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 6.352e-06/1.459, allocations: 0 / 0.8688 GB, free: 34.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.05391/1.513, allocations: 12.32 MB / 0.8808 GB, free: 23.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/1.513, allocations: 141.5 kB / 0.881 GB, free: 23.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008312/1.522, allocations: 4.066 MB / 0.8849 GB, free: 19.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004134/1.522, allocations: 45.7 kB / 0.885 GB, free: 19.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00268/1.525, allocations: 3.135 MB / 0.888 GB, free: 16.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009313/1.526, allocations: 0.5977 MB / 0.8886 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006352/1.526, allocations: 116 kB / 0.8887 GB, free: 15.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003361/1.527, allocations: 0.5497 MB / 0.8893 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004866/1.532, allocations: 1.944 MB / 0.8912 GB, free: 12.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007743/1.539, allocations: 5.642 MB / 0.8967 GB, free: 5.395 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007607/1.547, allocations: 3.233 MB / 0.8998 GB, free: 2.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.458e-05/1.547, allocations: 39.95 kB / 0.8999 GB, free: 2.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02459/1.572, allocations: 8.05 MB / 0.9077 GB, free: 10.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/1.572, allocations: 71.47 kB / 0.9078 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002161/1.572, allocations: 128 kB / 0.9079 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004584/1.577, allocations: 0.91 MB / 0.9088 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008744/1.586, allocations: 1.349 MB / 0.9101 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/1.597, allocations: 4.782 MB / 0.9148 GB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006393/1.603, allocations: 319.7 kB / 0.9151 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/1.604, allocations: 365 kB / 0.9154 GB, free: 2.027 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * 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 (711): * Single equations (assignments): 707 * 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.3121/1.916, allocations: 2.066 MB / 0.9175 GB, free: 91.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.917, allocations: 343.8 kB / 0.9178 GB, free: 91.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/1.929, allocations: 2.892 MB / 0.9206 GB, free: 91.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-05/1.929, allocations: 16.94 kB / 0.9206 GB, free: 91.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/1.929, allocations: 4.156 kB / 0.9206 GB, free: 91.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-05/1.929, allocations: 7.234 kB / 0.9206 GB, free: 91.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02573/1.955, allocations: 7.161 MB / 0.9276 GB, free: 90.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/1.955, allocations: 1.312 kB / 0.9276 GB, free: 90.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/1.958, allocations: 247.9 kB / 0.9279 GB, free: 90.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004232/1.962, allocations: 0.6982 MB / 0.9286 GB, free: 90.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004441/1.963, allocations: 29.09 kB / 0.9286 GB, free: 90.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009627/1.972, allocations: 4.354 MB / 0.9328 GB, free: 89.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.972, allocations: 0.9688 kB / 0.9328 GB, free: 89.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/1.988, allocations: 5.145 MB / 0.9379 GB, free: 88.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002448/1.991, allocations: 0.6138 MB / 0.9385 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/1.992, allocations: 25.45 kB / 0.9385 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003118/1.995, allocations: 95.12 kB / 0.9386 GB, free: 88.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006242/1.996, allocations: 89.88 kB / 0.9387 GB, free: 88.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/1.996, allocations: 41.69 kB / 0.9387 GB, free: 88.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007544/2.004, allocations: 2.54 MB / 0.9412 GB, free: 88.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.71e-07/2.004, allocations: 3.094 kB / 0.9412 GB, free: 88.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007741/2.011, allocations: 0.9506 MB / 0.9421 GB, free: 88.56 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * 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.0008355/2.012, allocations: 158.9 kB / 0.9423 GB, free: 88.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01236/2.025, allocations: 4.698 MB / 0.9469 GB, free: 87.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/2.025, allocations: 3.281 kB / 0.9469 GB, free: 87.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003835/2.029, allocations: 1.385 MB / 0.9482 GB, free: 87.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00489/2.034, allocations: 409.3 kB / 0.9486 GB, free: 86.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/2.059, allocations: 10.45 MB / 0.9588 GB, free: 81.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007686/2.067, allocations: 3.32 MB / 0.962 GB, free: 80.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008914/2.076, allocations: 1.826 MB / 0.9638 GB, free: 80.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/2.077, allocations: 233.8 kB / 0.964 GB, free: 80.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/2.077, allocations: 3.828 kB / 0.9641 GB, free: 80.44 MB / 426.7 MB Notification: Performance of Templates: time 0.09924/2.177, allocations: 32.8 MB / 0.9961 GB, free: 69.32 MB / 426.7 MB