Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002702/0.002708, allocations: 363.1 kB / 15.95 MB, free: 6.203 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 4.213/4.213, allocations: 388.9 MB / 405.6 MB, free: 9.641 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.004897/0.004897, allocations: 227.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.524/0.524, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 16 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.194, allocations: 54.87 MB / 0.6801 GB, free: 41.69 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.578/0.7721, allocations: 87.78 MB / 0.7658 GB, free: 13.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003932/0.7725, allocations: 83.7 kB / 0.7659 GB, free: 13.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3973/1.17, allocations: 89.26 MB / 0.8531 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.537e-06/1.17, allocations: 0 / 0.8531 GB, free: 12.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004226/1.17, allocations: 92 kB / 0.8531 GB, free: 11.94 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.1216/1.292, allocations: 9.664 MB / 0.8626 GB, free: 2.191 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/1.292, allocations: 12.03 kB / 0.8626 GB, free: 2.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02574/1.318, allocations: 2.072 MB / 0.8646 GB, free: 100 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01867/1.337, allocations: 3.402 MB / 0.8679 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008047/1.337, allocations: 345.1 kB / 0.8683 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005162/1.343, allocations: 483.6 kB / 0.8687 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1067/1.449, allocations: 15.45 MB / 0.8838 GB, free: 11.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005227/1.45, allocations: 63.36 kB / 0.8839 GB, free: 11.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004373/1.454, allocations: 223.9 kB / 0.8841 GB, free: 11.09 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006933/1.461, allocations: 1.113 MB / 0.8852 GB, free: 9.969 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5842/2.046, allocations: 15.34 MB / 0.9002 GB, free: 99.05 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1172/2.163, allocations: 55.54 MB / 0.9544 GB, free: 69.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09436/2.257, allocations: 7.224 MB / 0.9614 GB, free: 68.38 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01013/2.268, allocations: 2.835 MB / 0.9642 GB, free: 67.38 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02044/2.288, allocations: 6.577 MB / 0.9706 GB, free: 62.79 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/2.288, allocations: 45.12 kB / 0.9707 GB, free: 62.74 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 7.153e-06/2.288, allocations: 0 / 0.9707 GB, free: 62.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=176): time 0.01034/2.299, allocations: 3.744 MB / 0.9743 GB, free: 61.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/2.299, allocations: 146 kB / 0.9745 GB, free: 61.24 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01319/2.312, allocations: 4.763 MB / 0.9791 GB, free: 59.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004165/2.312, allocations: 48.42 kB / 0.9792 GB, free: 59.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003665/2.316, allocations: 3.582 MB / 0.9827 GB, free: 56.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001392/2.318, allocations: 0.7241 MB / 0.9834 GB, free: 56.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009498/2.319, allocations: 134.6 kB / 0.9835 GB, free: 56.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005772/2.319, allocations: 0.5852 MB / 0.9841 GB, free: 55.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005959/2.325, allocations: 2.201 MB / 0.9862 GB, free: 55.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009324/2.334, allocations: 6.475 MB / 0.9925 GB, free: 48.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008828/2.343, allocations: 3.693 MB / 0.9962 GB, free: 47.22 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001942/2.344, allocations: 45.25 kB / 0.9962 GB, free: 47.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.02324/2.367, allocations: 8.456 MB / 1.004 GB, free: 43.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/2.367, allocations: 66.28 kB / 1.005 GB, free: 43.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002958/2.367, allocations: 154.4 kB / 1.005 GB, free: 43.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/2.368, allocations: 225.2 kB / 1.005 GB, free: 43.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01071/2.378, allocations: 1.613 MB / 1.006 GB, free: 43.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003405/2.379, allocations: 294.4 kB / 1.007 GB, free: 43.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008594/2.387, allocations: 0.9239 MB / 1.008 GB, free: 43.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001787/2.389, allocations: 438.2 kB / 1.008 GB, free: 43.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 39 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (846): * Single equations (assignments): 843 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006483/2.396, allocations: 2.301 MB / 1.01 GB, free: 41.33 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/2.397, allocations: 398.8 kB / 1.011 GB, free: 40.94 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007022/2.404, allocations: 2.538 MB / 1.013 GB, free: 38.85 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.581e-05/2.404, allocations: 24 kB / 1.013 GB, free: 38.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/2.404, allocations: 7.953 kB / 1.013 GB, free: 38.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.844e-05/2.404, allocations: 7.266 kB / 1.013 GB, free: 38.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/2.417, allocations: 4.28 MB / 1.017 GB, free: 35.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-05/2.417, allocations: 4 kB / 1.017 GB, free: 35.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003918/2.421, allocations: 342 kB / 1.018 GB, free: 35.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.029e-05/2.421, allocations: 4 kB / 1.018 GB, free: 35.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004511/2.422, allocations: 43.17 kB / 1.018 GB, free: 35.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.691e-05/2.422, allocations: 8 kB / 1.018 GB, free: 35.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/2.422, allocations: 7.875 kB / 1.018 GB, free: 35.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/2.432, allocations: 4.801 MB / 1.022 GB, free: 30.86 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/2.434, allocations: 0.4948 MB / 1.023 GB, free: 30.36 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001656/2.435, allocations: 28 kB / 1.023 GB, free: 30.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003316/2.439, allocations: 71.73 kB / 1.023 GB, free: 30.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005234/2.439, allocations: 93.23 kB / 1.023 GB, free: 30.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/2.439, allocations: 59.8 kB / 1.023 GB, free: 30.17 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007877/2.447, allocations: 2.98 MB / 1.026 GB, free: 27.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.183e-06/2.447, allocations: 0 / 1.026 GB, free: 27.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008734/2.456, allocations: 1.336 MB / 1.027 GB, free: 26.37 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007538/2.457, allocations: 168.1 kB / 1.028 GB, free: 26.21 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01106/2.468, allocations: 4.975 MB / 1.032 GB, free: 21.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/2.468, allocations: 8.188 kB / 1.032 GB, free: 21.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0027/2.471, allocations: 1.269 MB / 1.034 GB, free: 20.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004742/2.476, allocations: 0.5003 MB / 1.034 GB, free: 20.38 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02817/2.504, allocations: 12.5 MB / 1.046 GB, free: 8.703 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009652/2.514, allocations: 3.667 MB / 1.05 GB, free: 5.027 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01269/2.526, allocations: 2.047 MB / 1.052 GB, free: 2.984 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002455/2.529, allocations: 319.3 kB / 1.052 GB, free: 2.672 MB / 474.7 MB Notification: Performance of SimCode: time 1.363e-06/2.529, allocations: 0 / 1.052 GB, free: 2.672 MB / 474.7 MB Notification: Performance of Templates: time 0.5264/3.055, allocations: 40.11 MB / 1.091 GB, free: 109.9 MB / 0.4949 GB