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.004191/0.004197, allocations: 371.3 kB / 15.97 MB, free: 6.195 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.736/3.736, allocations: 388.9 MB / 405.6 MB, free: 48.56 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.003588/0.003588, allocations: 232.7 kB / 451 MB, free: 3.031 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.8124/0.8124, allocations: 80.01 MB / 0.5627 GB, free: 6.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.000488, allocations: 12 kB / 0.6265 GB, free: 4.828 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1644, allocations: 54.89 MB / 0.6801 GB, free: 13.8 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.4033/0.5677, allocations: 74.64 MB / 0.753 GB, free: 36.18 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04324/0.611, allocations: 14.03 MB / 0.7667 GB, free: 26.61 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02123/0.6323, allocations: 335.9 kB / 0.767 GB, free: 26.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01589/0.6482, allocations: 3.619 MB / 0.7706 GB, free: 25.37 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04397/0.6923, allocations: 11.8 MB / 0.7821 GB, free: 15.79 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005705/0.698, allocations: 487.4 kB / 0.7825 GB, free: 15.31 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007946/0.706, allocations: 4.774 MB / 0.7872 GB, free: 10.53 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008796/0.7149, allocations: 4.519 MB / 0.7916 GB, free: 6.105 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.7177, allocations: 1.381 MB / 0.793 GB, free: 4.719 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005072/0.7229, allocations: 2.652 MB / 0.7956 GB, free: 2.059 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.7241, allocations: 188 kB / 0.7957 GB, free: 1.875 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.7267, allocations: 0.6125 MB / 0.7963 GB, free: 1.262 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003073/0.7298, allocations: 1.85 MB / 0.7981 GB, free: 15.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002617/0.7325, allocations: 0.9946 MB / 0.7991 GB, free: 14.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.744, allocations: 6.739 MB / 0.8057 GB, free: 7.648 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.7441, allocations: 1.5 kB / 0.8057 GB, free: 7.648 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.7441, allocations: 0 / 0.8057 GB, free: 7.648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002954/0.7444, allocations: 4 kB / 0.8057 GB, free: 7.645 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: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.1443/0.8887, allocations: 13.83 MB / 0.8192 GB, free: 9.734 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.8888, allocations: 12.03 kB / 0.8192 GB, free: 9.723 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0141/0.9029, allocations: 2.169 MB / 0.8213 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.913, allocations: 3.02 MB / 0.8243 GB, free: 4.469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004383/0.9135, allocations: 287.6 kB / 0.8246 GB, free: 4.188 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003306/0.9168, allocations: 411.5 kB / 0.8249 GB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08071/0.9976, allocations: 15.13 MB / 0.8397 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002684/0.9979, allocations: 47.5 kB / 0.8398 GB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002404/1, allocations: 179.9 kB / 0.8399 GB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007295/1.008, allocations: 1.792 MB / 0.8417 GB, free: 1.934 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08523/1.093, allocations: 15.27 MB / 0.8566 GB, free: 2.648 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4438/1.537, allocations: 48.35 MB / 0.9038 GB, free: 112.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09254/1.629, allocations: 7.17 MB / 0.9108 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0075/1.637, allocations: 2.847 MB / 0.9136 GB, free: 110.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0188/1.656, allocations: 6.756 MB / 0.9202 GB, free: 105.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.506e-05/1.656, allocations: 58.66 kB / 0.9203 GB, free: 105.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 1.225e-05/1.656, allocations: 0 / 0.9203 GB, free: 105.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=176): time 0.01586/1.672, allocations: 3.734 MB / 0.9239 GB, free: 104.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/1.672, allocations: 144.8 kB / 0.924 GB, free: 104 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0135/1.686, allocations: 4.763 MB / 0.9287 GB, free: 102.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004504/1.686, allocations: 56.47 kB / 0.9288 GB, free: 102.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002901/1.689, allocations: 3.575 MB / 0.9322 GB, free: 99.38 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00115/1.69, allocations: 0.7307 MB / 0.933 GB, free: 98.87 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005774/1.691, allocations: 133.2 kB / 0.9331 GB, free: 98.76 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003953/1.691, allocations: 0.5818 MB / 0.9337 GB, free: 98.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005049/1.696, allocations: 2.204 MB / 0.9358 GB, free: 97.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007548/1.704, allocations: 6.473 MB / 0.9421 GB, free: 90.97 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00802/1.712, allocations: 3.693 MB / 0.9457 GB, free: 89.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001292/1.712, allocations: 39.88 kB / 0.9458 GB, free: 89.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.02108/1.733, allocations: 8.448 MB / 0.954 GB, free: 84.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.733, allocations: 71.94 kB / 0.9541 GB, free: 84.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001945/1.734, allocations: 152 kB / 0.9542 GB, free: 84.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002229/1.734, allocations: 224.7 kB / 0.9544 GB, free: 84.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009968/1.744, allocations: 1.61 MB / 0.956 GB, free: 82.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002606/1.744, allocations: 314.7 kB / 0.9563 GB, free: 82.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/1.756, allocations: 0.9199 MB / 0.9572 GB, free: 81.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002037/1.759, allocations: 439.3 kB / 0.9576 GB, free: 80.84 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.005923/1.764, allocations: 2.299 MB / 0.9599 GB, free: 78.53 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.766, allocations: 402.5 kB / 0.9603 GB, free: 78.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006731/1.772, allocations: 2.533 MB / 0.9627 GB, free: 75.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.106e-05/1.772, allocations: 11.97 kB / 0.9628 GB, free: 75.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/1.772, allocations: 0 / 0.9628 GB, free: 75.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00214/1.775, allocations: 0.4914 MB / 0.9632 GB, free: 75.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001719/1.776, allocations: 36 kB / 0.9633 GB, free: 75.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004351/1.781, allocations: 63.92 kB / 0.9633 GB, free: 74.97 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005716/1.781, allocations: 97.12 kB / 0.9634 GB, free: 74.88 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01193/1.793, allocations: 2.937 MB / 0.9663 GB, free: 71.96 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01467/1.808, allocations: 4.91 MB / 0.9711 GB, free: 67.04 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003736/1.812, allocations: 1.185 MB / 0.9722 GB, free: 65.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01014/1.822, allocations: 2.98 MB / 0.9751 GB, free: 62.88 MB / 474.7 MB Notification: Performance of Backend: time 2.335e-06/1.822, allocations: 0 / 0.9751 GB, free: 62.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.018/1.84, allocations: 4.094 MB / 0.9791 GB, free: 58.82 MB / 474.7 MB Notification: Performance of SimCode: time 0.03918/1.879, allocations: 13 MB / 0.9918 GB, free: 45.93 MB / 474.7 MB Notification: Performance of Templates: time 0.1326/2.012, allocations: 46.06 MB / 1.037 GB, free: 404 kB / 474.7 MB