Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002679/0.002685, allocations: 363.2 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.769/3.769, allocations: 388.9 MB / 405.6 MB, free: 47.98 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.004747/0.004747, allocations: 228.7 kB / 451 MB, free: 2.457 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7451/0.7451, allocations: 80 MB / 0.5627 GB, free: 35.37 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007112/0.0007117, allocations: 12 kB / 0.6265 GB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5098/0.5106, allocations: 54.86 MB / 0.6801 GB, free: 41.17 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.6967, allocations: 102 MB / 0.7797 GB, free: 9.445 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/0.6971, allocations: 89.08 kB / 0.7798 GB, free: 9.359 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.735/1.432, allocations: 83.46 MB / 0.8613 GB, free: 94.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.767e-06/1.432, allocations: 0 / 0.8613 GB, free: 94.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003207/1.433, allocations: 82.77 kB / 0.8613 GB, free: 94.68 MB / 458.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.0269/1.459, allocations: 4.659 MB / 0.8659 GB, free: 92.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.46, allocations: 10.44 kB / 0.8659 GB, free: 92.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01771/1.477, allocations: 2.175 MB / 0.868 GB, free: 92.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/1.488, allocations: 3.406 MB / 0.8714 GB, free: 91.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000426/1.489, allocations: 319.8 kB / 0.8717 GB, free: 91.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002527/1.491, allocations: 431.2 kB / 0.8721 GB, free: 91.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04499/1.536, allocations: 10.72 MB / 0.8825 GB, free: 89.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003647/1.537, allocations: 56.31 kB / 0.8826 GB, free: 89.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002116/1.539, allocations: 207.8 kB / 0.8828 GB, free: 89.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003499/1.542, allocations: 1.008 MB / 0.8838 GB, free: 89.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03856/1.581, allocations: 9.003 MB / 0.8926 GB, free: 87.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06934/1.65, allocations: 47.37 MB / 0.9388 GB, free: 51.97 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01861/1.669, allocations: 3.612 MB / 0.9424 GB, free: 50.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00386/1.673, allocations: 1.847 MB / 0.9442 GB, free: 49.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/1.683, allocations: 4.721 MB / 0.9488 GB, free: 46.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.071e-05/1.683, allocations: 53.94 kB / 0.9488 GB, free: 46.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 5.3e-06/1.683, allocations: 0 / 0.9488 GB, free: 46.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=148): time 0.05171/1.735, allocations: 12.29 MB / 0.9608 GB, free: 41.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/1.735, allocations: 151 kB / 0.961 GB, free: 41.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007905/1.743, allocations: 4.065 MB / 0.9649 GB, free: 39.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004285/1.744, allocations: 49.7 kB / 0.965 GB, free: 39.58 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002479/1.746, allocations: 3.136 MB / 0.9681 GB, free: 36.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008912/1.747, allocations: 0.5892 MB / 0.9686 GB, free: 36.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005774/1.748, allocations: 114.2 kB / 0.9687 GB, free: 36.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003437/1.748, allocations: 0.5475 MB / 0.9693 GB, free: 35.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004621/1.753, allocations: 1.946 MB / 0.9712 GB, free: 34.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006797/1.76, allocations: 5.642 MB / 0.9767 GB, free: 26.94 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007051/1.767, allocations: 3.23 MB / 0.9798 GB, free: 24.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.592e-05/1.767, allocations: 40 kB / 0.9799 GB, free: 24.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.03008/1.797, allocations: 8.053 MB / 0.9877 GB, free: 17.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/1.797, allocations: 60 kB / 0.9878 GB, free: 17.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002151/1.797, allocations: 132 kB / 0.9879 GB, free: 16.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005707/1.803, allocations: 0.9109 MB / 0.9888 GB, free: 16.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01089/1.814, allocations: 1.351 MB / 0.9901 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/1.827, allocations: 4.777 MB / 0.9948 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/1.837, allocations: 324.6 kB / 0.9951 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001851/1.839, allocations: 363 kB / 0.9955 GB, free: 10.15 MB / 458.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.008077/1.847, allocations: 2.073 MB / 0.9975 GB, free: 8.195 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/1.849, allocations: 339.6 kB / 0.9978 GB, free: 7.859 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.863, allocations: 2.897 MB / 1.001 GB, free: 4.941 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.311e-05/1.863, allocations: 16 kB / 1.001 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/1.863, allocations: 4 kB / 1.001 GB, free: 4.922 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-05/1.863, allocations: 7.922 kB / 1.001 GB, free: 4.914 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02534/1.888, allocations: 7.159 MB / 1.008 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/1.889, allocations: 0.625 kB / 1.008 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002625/1.891, allocations: 239.7 kB / 1.008 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004007/1.895, allocations: 0.7107 MB / 1.009 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003109/1.896, allocations: 24 kB / 1.009 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009785/1.905, allocations: 4.345 MB / 1.013 GB, free: 8.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/1.905, allocations: 7.969 kB / 1.013 GB, free: 8.262 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/1.921, allocations: 5.156 MB / 1.018 GB, free: 3.082 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002332/1.923, allocations: 0.6118 MB / 1.018 GB, free: 2.449 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008264/1.924, allocations: 20 kB / 1.018 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.927, allocations: 96.52 kB / 1.019 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004478/1.927, allocations: 88.83 kB / 1.019 GB, free: 2.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/1.927, allocations: 39.98 kB / 1.019 GB, free: 2.211 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006884/1.934, allocations: 2.534 MB / 1.021 GB, free: 15.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.252e-06/1.934, allocations: 4 kB / 1.021 GB, free: 15.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007171/1.941, allocations: 0.9528 MB / 1.022 GB, free: 14.71 MB / 490.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.0007203/1.942, allocations: 153.3 kB / 1.022 GB, free: 14.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01281/1.955, allocations: 4.698 MB / 1.027 GB, free: 9.875 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.955, allocations: 1.969 kB / 1.027 GB, free: 9.875 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003713/1.959, allocations: 1.383 MB / 1.028 GB, free: 8.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/1.963, allocations: 423.6 kB / 1.029 GB, free: 8.082 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3519/2.315, allocations: 10.42 MB / 1.039 GB, free: 111.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01132/2.326, allocations: 3.318 MB / 1.042 GB, free: 110.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01088/2.337, allocations: 1.828 MB / 1.044 GB, free: 110.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/2.339, allocations: 229.3 kB / 1.044 GB, free: 110.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/2.339, allocations: 2.219 kB / 1.044 GB, free: 110.6 MB / 490.7 MB Notification: Performance of Templates: time 0.1083/2.447, allocations: 32.78 MB / 1.076 GB, free: 109.4 MB / 490.7 MB