Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.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.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004228/0.004235, allocations: 347.7 kB / 15.94 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.59/3.59, allocations: 341.5 MB / 358.2 MB, free: 28.77 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005044/0.005044, allocations: 224 kB / 397.9 MB, free: 6.148 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5089/0.5089, allocations: 76.11 MB / 0.5014 GB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.000495, allocations: 20 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.08935, allocations: 48.7 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4385/0.5279, allocations: 81.28 MB / 0.6861 GB, free: 6.453 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5282, allocations: 76.66 kB / 0.6862 GB, free: 6.414 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4408/0.969, allocations: 89.27 MB / 0.7734 GB, free: 3.973 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.337e-06/0.9691, allocations: 4 kB / 0.7734 GB, free: 3.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005314/0.9696, allocations: 92 kB / 0.7734 GB, free: 3.879 MB / 394.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.1278/1.097, allocations: 9.661 MB / 0.7829 GB, free: 10.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/1.098, allocations: 8.031 kB / 0.7829 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02185/1.119, allocations: 2.072 MB / 0.7849 GB, free: 8.047 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0165/1.136, allocations: 3.402 MB / 0.7882 GB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007269/1.137, allocations: 345.1 kB / 0.7886 GB, free: 4.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004692/1.141, allocations: 483.6 kB / 0.789 GB, free: 3.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08033/1.222, allocations: 15.45 MB / 0.8041 GB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00041/1.222, allocations: 59.38 kB / 0.8042 GB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003382/1.226, allocations: 227.9 kB / 0.8044 GB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006155/1.232, allocations: 1.117 MB / 0.8055 GB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4176/1.65, allocations: 15.34 MB / 0.8205 GB, free: 85.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1084/1.758, allocations: 55.52 MB / 0.8747 GB, free: 54.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09162/1.85, allocations: 7.232 MB / 0.8817 GB, free: 53.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006702/1.857, allocations: 2.841 MB / 0.8845 GB, free: 52.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01333/1.87, allocations: 6.57 MB / 0.8909 GB, free: 47.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/1.87, allocations: 54.38 kB / 0.891 GB, free: 47.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 5.831e-06/1.87, allocations: 0 / 0.891 GB, free: 47.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=176): time 0.009321/1.879, allocations: 3.733 MB / 0.8946 GB, free: 46.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/1.879, allocations: 150.2 kB / 0.8948 GB, free: 45.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/1.891, allocations: 4.76 MB / 0.8994 GB, free: 44.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004214/1.891, allocations: 52.98 kB / 0.8995 GB, free: 44.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00355/1.895, allocations: 3.573 MB / 0.9029 GB, free: 41.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001297/1.896, allocations: 0.732 MB / 0.9037 GB, free: 41.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008299/1.897, allocations: 132.9 kB / 0.9038 GB, free: 41.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004365/1.897, allocations: 0.5912 MB / 0.9044 GB, free: 40.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005442/1.903, allocations: 2.195 MB / 0.9065 GB, free: 39.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008536/1.912, allocations: 6.477 MB / 0.9128 GB, free: 33.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008319/1.92, allocations: 3.703 MB / 0.9165 GB, free: 31.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/1.92, allocations: 40 kB / 0.9165 GB, free: 31.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.02197/1.942, allocations: 8.453 MB / 0.9247 GB, free: 24.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.942, allocations: 72 kB / 0.9248 GB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002229/1.942, allocations: 152 kB / 0.925 GB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/1.943, allocations: 220.7 kB / 0.9252 GB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/1.953, allocations: 1.614 MB / 0.9267 GB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003106/1.953, allocations: 300.2 kB / 0.927 GB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008358/1.962, allocations: 0.922 MB / 0.9279 GB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001629/1.964, allocations: 445.3 kB / 0.9284 GB, free: 20.64 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 () * 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.006029/1.97, allocations: 2.292 MB / 0.9306 GB, free: 18.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.971, allocations: 401.8 kB / 0.931 GB, free: 18.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006863/1.978, allocations: 2.547 MB / 0.9335 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-05/1.978, allocations: 20 kB / 0.9335 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/1.978, allocations: 0 / 0.9335 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/1.978, allocations: 11.17 kB / 0.9335 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0189/1.997, allocations: 4.281 MB / 0.9377 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.749e-05/1.997, allocations: 0 / 0.9377 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007942/2.005, allocations: 347.5 kB / 0.938 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.075e-05/2.005, allocations: 8 kB / 0.938 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005978/2.006, allocations: 43.98 kB / 0.9381 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.47e-05/2.006, allocations: 4 kB / 0.9381 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/2.006, allocations: 0 / 0.9381 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/2.02, allocations: 4.797 MB / 0.9427 GB, free: 7.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002768/2.023, allocations: 0.4915 MB / 0.9432 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002683/2.025, allocations: 39.94 kB / 0.9433 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006461/2.032, allocations: 59.94 kB / 0.9433 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001356/2.033, allocations: 97.17 kB / 0.9434 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006188/2.034, allocations: 55.86 kB / 0.9435 GB, free: 6.734 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01484/2.049, allocations: 2.976 MB / 0.9464 GB, free: 3.762 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.153e-06/2.049, allocations: 0 / 0.9464 GB, free: 3.762 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007906/2.057, allocations: 1.345 MB / 0.9477 GB, free: 2.422 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 () * 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.0007363/2.058, allocations: 171.6 kB / 0.9479 GB, free: 2.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01255/2.07, allocations: 4.984 MB / 0.9527 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/2.07, allocations: 0 / 0.9527 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003336/2.074, allocations: 1.276 MB / 0.954 GB, free: 12.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005096/2.079, allocations: 0.5001 MB / 0.9545 GB, free: 11.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0326/2.111, allocations: 12.49 MB / 0.9667 GB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009621/2.121, allocations: 3.663 MB / 0.9702 GB, free: 11.47 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0114/2.133, allocations: 2.054 MB / 0.9722 GB, free: 9.426 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002143/2.135, allocations: 307.3 kB / 0.9725 GB, free: 9.125 MB / 458.7 MB Notification: Performance of SimCode: time 1.242e-06/2.135, allocations: 0 / 0.9725 GB, free: 9.125 MB / 458.7 MB Notification: Performance of Templates: time 0.4868/2.622, allocations: 40.12 MB / 1.012 GB, free: 101.8 MB / 458.7 MB