Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6717/0.6717, allocations: 110.9 MB / 125.9 MB, free: 6.203 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00165/0.00165, allocations: 142.5 kB / 151.8 MB, free: 4.973 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002495/0.0002495, allocations: 8 kB / 184.9 MB, free: 3.906 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 25.15 MB / 210 MB, free: 29.78 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.03915/0.1613, allocations: 34.81 MB / 244.9 MB, free: 15.01 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001661/0.1615, allocations: 63.97 kB / 244.9 MB, free: 14.95 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008946/0.1705, allocations: 3.42 MB / 248.3 MB, free: 11.54 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1705, allocations: 4 kB / 248.3 MB, free: 11.54 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1705, allocations: 4 kB / 248.3 MB, free: 11.53 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005809/0.1711, allocations: 490.6 kB / 248.8 MB, free: 11.01 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1712, allocations: 8.031 kB / 248.8 MB, free: 11 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.1712, allocations: 27.72 kB / 248.9 MB, free: 10.97 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1715, allocations: 224 kB / 249.1 MB, free: 10.71 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1715, allocations: 12.44 kB / 249.1 MB, free: 10.7 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.1715, allocations: 20 kB / 249.1 MB, free: 10.68 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.1719, allocations: 209.9 kB / 249.3 MB, free: 10.46 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1719, allocations: 0 / 249.3 MB, free: 10.46 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.1719, allocations: 7.953 kB / 249.3 MB, free: 10.46 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.172, allocations: 8.562 kB / 249.3 MB, free: 10.45 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.1722, allocations: 129.6 kB / 249.5 MB, free: 10.32 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009963/0.1732, allocations: 0.6937 MB / 250.1 MB, free: 9.574 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.1735, allocations: 141.4 kB / 250.3 MB, free: 9.43 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.1735, allocations: 4 kB / 250.3 MB, free: 9.426 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.1735, allocations: 35.22 kB / 250.3 MB, free: 9.383 MB / 186.7 MB Notification: Performance of pre-optimization done (n=19): time 1.262e-06/0.1735, allocations: 1.969 kB / 250.3 MB, free: 9.383 MB / 186.7 MB Notification: Performance of matching and sorting (n=23): time 0.001514/0.1751, allocations: 0.8764 MB / 251.2 MB, free: 8.418 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.1751, allocations: 51.41 kB / 251.3 MB, free: 8.355 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1753, allocations: 169.7 kB / 251.4 MB, free: 8.18 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1753, allocations: 29.7 kB / 251.4 MB, free: 8.145 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.1754, allocations: 140.3 kB / 251.6 MB, free: 8.004 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/0.1754, allocations: 82.8 kB / 251.7 MB, free: 7.922 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/0.1755, allocations: 8 kB / 251.7 MB, free: 7.914 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1756, allocations: 326.8 kB / 252 MB, free: 7.586 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.1757, allocations: 51.97 kB / 252 MB, free: 7.535 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.1758, allocations: 101 kB / 252.1 MB, free: 7.422 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.176, allocations: 67.94 kB / 252.2 MB, free: 7.355 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.176, allocations: 0 / 252.2 MB, free: 7.355 MB / 186.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004286/0.1764, allocations: 250 kB / 252.5 MB, free: 7.102 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1765, allocations: 5.875 kB / 252.5 MB, free: 7.098 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1765, allocations: 0 / 252.5 MB, free: 7.098 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.1766, allocations: 40.83 kB / 252.5 MB, free: 7.055 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.1769, allocations: 43.92 kB / 252.5 MB, free: 7.012 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.178, allocations: 1.394 MB / 253.9 MB, free: 5.484 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1781, allocations: 12.06 kB / 253.9 MB, free: 5.473 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.1781, allocations: 15.17 kB / 254 MB, free: 5.461 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.1783, allocations: 141 kB / 254.1 MB, free: 5.316 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.1783, allocations: 15.81 kB / 254.1 MB, free: 5.301 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.1784, allocations: 29.81 kB / 254.1 MB, free: 5.27 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1784, allocations: 4 kB / 254.1 MB, free: 5.266 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1784, allocations: 0 / 254.1 MB, free: 5.266 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1784, allocations: 3.984 kB / 254.2 MB, free: 5.262 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008361/0.1792, allocations: 0.6374 MB / 254.8 MB, free: 4.555 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1793, allocations: 4.062 kB / 254.8 MB, free: 4.551 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.1795, allocations: 43.97 kB / 254.8 MB, free: 4.508 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.1796, allocations: 36.78 kB / 254.9 MB, free: 4.469 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1796, allocations: 7.984 kB / 254.9 MB, free: 4.461 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.1806, allocations: 1.386 MB / 256.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1806, allocations: 0 / 256.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000579/0.1812, allocations: 431.2 kB / 256.7 MB, free: 2.48 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.1813, allocations: 101 kB / 256.8 MB, free: 2.363 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.1813, allocations: 7.953 kB / 256.8 MB, free: 2.355 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1815, allocations: 9.875 kB / 256.8 MB, free: 2.348 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.1815, allocations: 23.91 kB / 256.8 MB, free: 2.324 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1815, allocations: 8 kB / 256.8 MB, free: 2.316 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.071e-05/0.1816, allocations: 132.3 kB / 257 MB, free: 2.188 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1816, allocations: 0 / 257 MB, free: 2.188 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003053/0.1819, allocations: 56 kB / 257 MB, free: 2.133 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001294/0.1821, allocations: 105.2 kB / 257.1 MB, free: 2.023 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005136/0.1826, allocations: 288.3 kB / 257.4 MB, free: 1.73 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1826, allocations: 0 / 257.4 MB, free: 1.73 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.1829, allocations: 218.8 kB / 257.6 MB, free: 1.504 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.1832, allocations: 33.62 kB / 257.6 MB, free: 1.473 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.1844, allocations: 0.7776 MB / 258.4 MB, free: 0.6719 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.1848, allocations: 0.7524 MB / 259.2 MB, free: 15.89 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 7.936e-05/0.1849, allocations: 13.95 kB / 259.2 MB, free: 15.88 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.1849, allocations: 19.44 kB / 259.2 MB, free: 15.86 MB / 202.7 MB Notification: Performance of SimCode: time 2.004e-06/0.1849, allocations: 0 / 259.2 MB, free: 15.86 MB / 202.7 MB Notification: Performance of Templates: time 0.004765/0.1897, allocations: 2.082 MB / 261.3 MB, free: 13.8 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)