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.001526/0.001526, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.243/1.243, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001659/0.001659, allocations: 100.5 kB / 218 MB, free: 15.34 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.1893/0.1893, allocations: 37.97 MB / 295.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.361e-05/1.363e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2921, allocations: 48.68 MB / 398.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.414, allocations: 80.53 MB / 479.2 MB, free: 2.613 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4143, allocations: 75.95 kB / 479.3 MB, free: 2.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5044/0.9187, allocations: 88.29 MB / 0.5543 GB, free: 86.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.9187, allocations: 3.25 kB / 0.5543 GB, free: 86.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002861/0.919, allocations: 100.5 kB / 0.5544 GB, free: 86.18 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.06713/0.9862, allocations: 9.643 MB / 0.5638 GB, free: 84.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.9862, allocations: 11.75 kB / 0.5638 GB, free: 84.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/0.9992, allocations: 2.075 MB / 0.5659 GB, free: 84.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/1.01, allocations: 3.39 MB / 0.5692 GB, free: 83.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/1.011, allocations: 149.2 kB / 0.5693 GB, free: 83.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002558/1.013, allocations: 289.8 kB / 0.5696 GB, free: 83.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01689/1.03, allocations: 9.674 MB / 0.579 GB, free: 83.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02397/1.054, allocations: 13.16 MB / 0.5919 GB, free: 80.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001816/1.054, allocations: 56.34 kB / 0.5919 GB, free: 80.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008159/1.055, allocations: 34.38 kB / 0.592 GB, free: 80.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002324/1.057, allocations: 1.117 MB / 0.5931 GB, free: 80.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06879/1.126, allocations: 53.37 MB / 0.6452 GB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007514/1.134, allocations: 6.571 MB / 0.6516 GB, free: 38.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/1.137, allocations: 2.759 MB / 0.6543 GB, free: 36.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007883/1.145, allocations: 6.422 MB / 0.6606 GB, free: 29.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/1.145, allocations: 59.81 kB / 0.6606 GB, free: 29.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 4.338e-06/1.145, allocations: 0 / 0.6606 GB, free: 29.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=176): time 0.00353/1.148, allocations: 2.587 MB / 0.6631 GB, free: 26.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/1.148, allocations: 149.8 kB / 0.6633 GB, free: 26.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005199/1.154, allocations: 3.718 MB / 0.6669 GB, free: 23.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/1.154, allocations: 29.7 kB / 0.6669 GB, free: 23.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001807/1.156, allocations: 3.62 MB / 0.6705 GB, free: 19.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000707/1.156, allocations: 0.7098 MB / 0.6712 GB, free: 18.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/1.157, allocations: 7.938 kB / 0.6712 GB, free: 18.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003206/1.157, allocations: 0.5953 MB / 0.6718 GB, free: 18.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002639/1.16, allocations: 2.067 MB / 0.6738 GB, free: 15.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004397/1.164, allocations: 6.413 MB / 0.68 GB, free: 7.359 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004167/1.168, allocations: 3.622 MB / 0.6836 GB, free: 3.738 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.822e-05/1.168, allocations: 52 kB / 0.6836 GB, free: 3.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01202/1.18, allocations: 7.568 MB / 0.691 GB, free: 12.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/1.18, allocations: 73 kB / 0.6911 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001735/1.181, allocations: 156 kB / 0.6912 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/1.181, allocations: 236 kB / 0.6915 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005197/1.186, allocations: 1.657 MB / 0.6931 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002121/1.186, allocations: 310.8 kB / 0.6934 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005603/1.192, allocations: 0.7641 MB / 0.6941 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007767/1.193, allocations: 451.9 kB / 0.6946 GB, free: 8.488 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * 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 (870): * Single equations (assignments): 867 * 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.0008545/1.193, allocations: 0.4902 MB / 0.695 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007245/1.194, allocations: 371.1 kB / 0.6954 GB, free: 7.625 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/1.198, allocations: 2.385 MB / 0.6977 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/1.198, allocations: 20 kB / 0.6977 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.198, allocations: 0 / 0.6977 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.799e-05/1.198, allocations: 11.97 kB / 0.6977 GB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00699/1.205, allocations: 3.194 MB / 0.7009 GB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.205, allocations: 4 kB / 0.7009 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/1.207, allocations: 355 kB / 0.7012 GB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.648e-05/1.207, allocations: 4 kB / 0.7012 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/1.207, allocations: 12 kB / 0.7012 GB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/1.207, allocations: 11.94 kB / 0.7012 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.207, allocations: 3.984 kB / 0.7012 GB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3138/1.521, allocations: 4.689 MB / 0.7058 GB, free: 89.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/1.523, allocations: 464 kB / 0.7063 GB, free: 89.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/1.523, allocations: 5.578 kB / 0.7063 GB, free: 89.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/1.525, allocations: 38.75 kB / 0.7063 GB, free: 89.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/1.525, allocations: 100.7 kB / 0.7064 GB, free: 89.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.525, allocations: 50.03 kB / 0.7064 GB, free: 89.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005213/1.53, allocations: 2.488 MB / 0.7089 GB, free: 89.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.53, allocations: 0 / 0.7089 GB, free: 89.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007985/1.538, allocations: 1.221 MB / 0.7101 GB, free: 89.32 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.0004833/1.539, allocations: 149 kB / 0.7102 GB, free: 89.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009818/1.549, allocations: 4.652 MB / 0.7148 GB, free: 89.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.549, allocations: 0 / 0.7148 GB, free: 89.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002107/1.551, allocations: 1.223 MB / 0.716 GB, free: 89.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/1.554, allocations: 392 kB / 0.7163 GB, free: 89.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/1.574, allocations: 8.651 MB / 0.7248 GB, free: 87.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003661/1.578, allocations: 3.668 MB / 0.7284 GB, free: 86.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005452/1.583, allocations: 2.076 MB / 0.7304 GB, free: 86.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009663/1.584, allocations: 297.7 kB / 0.7307 GB, free: 86.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.352e-06/1.584, allocations: 3.188 kB / 0.7307 GB, free: 86.21 MB / 426.7 MB Notification: Performance of Templates: time 0.06561/1.65, allocations: 33.83 MB / 0.7637 GB, free: 83.88 MB / 426.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)