Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001022/0.001022, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.211/1.211, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001526/0.001526, allocations: 110.2 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1701/0.1701, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.078e-05/2.08e-05, allocations: 7.984 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.08609, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3542/0.4403, allocations: 81.18 MB / 486.9 MB, free: 18.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/0.4406, allocations: 75.84 kB / 487 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2186/0.6591, allocations: 89.77 MB / 0.5632 GB, free: 8.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6592, allocations: 4 kB / 0.5632 GB, free: 8.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002532/0.6594, allocations: 96 kB / 0.5633 GB, free: 8.375 MB / 378.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.06383/0.7233, allocations: 9.655 MB / 0.5727 GB, free: 14.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.7234, allocations: 8.031 kB / 0.5727 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009943/0.7333, allocations: 2.079 MB / 0.5748 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009363/0.7427, allocations: 3.386 MB / 0.5781 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.7432, allocations: 345.1 kB / 0.5784 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00346/0.7466, allocations: 475.7 kB / 0.5789 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04327/0.7899, allocations: 15.32 MB / 0.5938 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001853/0.7901, allocations: 63.38 kB / 0.5939 GB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/0.7912, allocations: 227.9 kB / 0.5941 GB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002297/0.7935, allocations: 1.116 MB / 0.5952 GB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03917/0.8327, allocations: 15.17 MB / 0.61 GB, free: 7.371 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3803/1.213, allocations: 55.52 MB / 0.6642 GB, free: 50.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04257/1.256, allocations: 7.209 MB / 0.6713 GB, free: 49.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003911/1.26, allocations: 2.816 MB / 0.674 GB, free: 49.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009414/1.269, allocations: 6.572 MB / 0.6804 GB, free: 46.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.269, allocations: 50.47 kB / 0.6805 GB, free: 46.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 5.28e-06/1.269, allocations: 0 / 0.6805 GB, free: 46.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=176): time 0.004359/1.274, allocations: 2.698 MB / 0.6831 GB, free: 45.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/1.274, allocations: 153.7 kB / 0.6833 GB, free: 45.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006898/1.281, allocations: 4.215 MB / 0.6874 GB, free: 45.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003683/1.281, allocations: 50.61 kB / 0.6874 GB, free: 45.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002069/1.283, allocations: 3.579 MB / 0.6909 GB, free: 43.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008625/1.284, allocations: 0.7208 MB / 0.6916 GB, free: 43.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002923/1.284, allocations: 134.3 kB / 0.6918 GB, free: 43.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003224/1.285, allocations: 0.5845 MB / 0.6923 GB, free: 42.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/1.287, allocations: 2.163 MB / 0.6944 GB, free: 42.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004494/1.292, allocations: 6.404 MB / 0.7007 GB, free: 35.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004886/1.297, allocations: 3.699 MB / 0.7043 GB, free: 34.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-05/1.297, allocations: 45.34 kB / 0.7043 GB, free: 34.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01553/1.313, allocations: 8.368 MB / 0.7125 GB, free: 31.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.545e-05/1.313, allocations: 68.78 kB / 0.7126 GB, free: 31.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001999/1.313, allocations: 152.9 kB / 0.7127 GB, free: 31.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/1.313, allocations: 225.8 kB / 0.7129 GB, free: 31.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005441/1.319, allocations: 1.619 MB / 0.7145 GB, free: 31.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000207/1.319, allocations: 296 kB / 0.7148 GB, free: 31.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006407/1.325, allocations: 0.924 MB / 0.7157 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/1.327, allocations: 443.1 kB / 0.7161 GB, free: 30.92 MB / 426.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 () * 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.001112/1.328, allocations: 0.6248 MB / 0.7167 GB, free: 30.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009242/1.329, allocations: 395.9 kB / 0.7171 GB, free: 30.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/1.332, allocations: 2.527 MB / 0.7196 GB, free: 29.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/1.332, allocations: 24.39 kB / 0.7196 GB, free: 29.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.332, allocations: 0 / 0.7196 GB, free: 29.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/1.332, allocations: 14.89 kB / 0.7196 GB, free: 29.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007264/1.34, allocations: 4.279 MB / 0.7238 GB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.34, allocations: 0 / 0.7238 GB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/1.342, allocations: 343.2 kB / 0.7241 GB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.615e-05/1.342, allocations: 11.94 kB / 0.7241 GB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/1.342, allocations: 39.28 kB / 0.7242 GB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/1.342, allocations: 3.969 kB / 0.7242 GB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.342, allocations: 3.969 kB / 0.7242 GB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005322/1.347, allocations: 4.848 MB / 0.7289 GB, free: 25.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/1.349, allocations: 0.4919 MB / 0.7294 GB, free: 25.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005111/1.349, allocations: 30.12 kB / 0.7294 GB, free: 25.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/1.351, allocations: 69.3 kB / 0.7295 GB, free: 24.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/1.351, allocations: 93.64 kB / 0.7296 GB, free: 24.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.351, allocations: 51.44 kB / 0.7296 GB, free: 24.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004739/1.356, allocations: 2.939 MB / 0.7325 GB, free: 22.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.356, allocations: 4 kB / 0.7325 GB, free: 22.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005901/1.362, allocations: 1.339 MB / 0.7338 GB, free: 20.94 MB / 426.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 () * 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.0003852/1.362, allocations: 166.8 kB / 0.734 GB, free: 20.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006816/1.369, allocations: 4.933 MB / 0.7388 GB, free: 16.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.369, allocations: 0 / 0.7388 GB, free: 16.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/1.37, allocations: 1.259 MB / 0.74 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/1.373, allocations: 487.8 kB / 0.7405 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.39, allocations: 8.733 MB / 0.749 GB, free: 7.059 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003669/1.394, allocations: 3.669 MB / 0.7526 GB, free: 4.301 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005409/1.399, allocations: 2.051 MB / 0.7546 GB, free: 2.992 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.401, allocations: 311.5 kB / 0.7549 GB, free: 2.715 MB / 426.7 MB Notification: Performance of SimCode: time 1.773e-06/1.401, allocations: 0 / 0.7549 GB, free: 2.715 MB / 426.7 MB Notification: Performance of Templates: time 0.3254/1.726, allocations: 40.08 MB / 0.794 GB, free: 108 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1)