Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.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.Friction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction") translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6432/0.6432, allocations: 110.9 MB / 125.9 MB, free: 6.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001692/0.001691, allocations: 146.2 kB / 151.9 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.000279, allocations: 8 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 25.15 MB / 210 MB, free: 29.76 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0413/0.161, allocations: 37.02 MB / 247.1 MB, free: 12.82 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.1612, allocations: 62.97 kB / 247.1 MB, free: 12.77 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0191/0.1803, allocations: 6.828 MB / 253.9 MB, free: 5.945 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1803, allocations: 0 / 253.9 MB, free: 5.945 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.1804, allocations: 8 kB / 254 MB, free: 5.938 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001305/0.1817, allocations: 0.7136 MB / 254.7 MB, free: 5.176 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1817, allocations: 8.031 kB / 254.7 MB, free: 5.168 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1818, allocations: 51.22 kB / 254.7 MB, free: 5.121 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.1822, allocations: 298.3 kB / 255 MB, free: 4.789 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.1823, allocations: 33 kB / 255.1 MB, free: 4.758 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.278e-05/0.1824, allocations: 45.72 kB / 255.1 MB, free: 4.715 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.1832, allocations: 458.3 kB / 255.5 MB, free: 4.258 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.1832, allocations: 0 / 255.5 MB, free: 4.258 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.1833, allocations: 16 kB / 255.6 MB, free: 4.242 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1833, allocations: 14.2 kB / 255.6 MB, free: 4.23 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008769/0.1842, allocations: 471.7 kB / 256 MB, free: 3.77 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.1862, allocations: 1.141 MB / 257.2 MB, free: 2.57 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/0.187, allocations: 357.5 kB / 257.5 MB, free: 2.215 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.187, allocations: 4.375 kB / 257.5 MB, free: 2.211 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.187, allocations: 38.94 kB / 257.6 MB, free: 2.164 MB / 186.7 MB Notification: Performance of pre-optimization done (n=45): time 1.734e-06/0.1871, allocations: 0 / 257.6 MB, free: 2.164 MB / 186.7 MB Notification: Performance of matching and sorting (n=51): time 0.004762/0.1918, allocations: 2.331 MB / 259.9 MB, free: 15.7 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.1919, allocations: 55.84 kB / 260 MB, free: 15.64 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.1922, allocations: 250.1 kB / 260.2 MB, free: 15.38 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/0.1922, allocations: 41.7 kB / 260.2 MB, free: 15.34 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.1924, allocations: 180.6 kB / 260.4 MB, free: 15.16 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.1926, allocations: 173.6 kB / 260.6 MB, free: 14.98 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.1926, allocations: 12 kB / 260.6 MB, free: 14.97 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1928, allocations: 346.8 kB / 260.9 MB, free: 14.62 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.1932, allocations: 241 kB / 261.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.1937, allocations: 275.8 kB / 261.4 MB, free: 14.11 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.1941, allocations: 194.1 kB / 261.6 MB, free: 13.93 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1941, allocations: 7.953 kB / 261.6 MB, free: 13.92 MB / 202.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00149/0.1956, allocations: 0.7422 MB / 262.4 MB, free: 13.16 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1956, allocations: 4 kB / 262.4 MB, free: 13.16 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1956, allocations: 3.75 kB / 262.4 MB, free: 13.16 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009289/0.1966, allocations: 0.5247 MB / 262.9 MB, free: 12.63 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.1969, allocations: 93.58 kB / 263 MB, free: 12.54 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.1981, allocations: 1.374 MB / 264.4 MB, free: 11.11 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.1986, allocations: 108.1 kB / 264.5 MB, free: 11.01 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.1987, allocations: 27.92 kB / 264.5 MB, free: 10.98 MB / 202.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 (clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.1989, allocations: 163.8 kB / 264.7 MB, free: 10.81 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.669e-05/0.199, allocations: 43.48 kB / 264.7 MB, free: 10.77 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.1991, allocations: 55.69 kB / 264.8 MB, free: 10.71 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1991, allocations: 4 kB / 264.8 MB, free: 10.71 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1992, allocations: 3.938 kB / 264.8 MB, free: 10.71 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1992, allocations: 7.984 kB / 264.8 MB, free: 10.7 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.2019, allocations: 1.414 MB / 266.2 MB, free: 9.207 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.2019, allocations: 8.156 kB / 266.2 MB, free: 9.199 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.2023, allocations: 79.89 kB / 266.3 MB, free: 9.121 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008136/0.2031, allocations: 0.4935 MB / 266.8 MB, free: 8.621 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.2032, allocations: 23.97 kB / 266.8 MB, free: 8.598 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.2044, allocations: 1.371 MB / 268.2 MB, free: 7.176 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.2044, allocations: 7.969 kB / 268.2 MB, free: 7.168 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.2063, allocations: 1.103 MB / 269.3 MB, free: 5.996 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.2065, allocations: 164.6 kB / 269.4 MB, free: 5.816 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.508e-05/0.2066, allocations: 23.95 kB / 269.5 MB, free: 5.793 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.207, allocations: 73.62 kB / 269.5 MB, free: 5.723 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.2072, allocations: 111.8 kB / 269.6 MB, free: 5.613 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.2073, allocations: 27.97 kB / 269.7 MB, free: 5.586 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.2075, allocations: 193.9 kB / 269.9 MB, free: 5.391 MB / 202.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2075, allocations: 4 kB / 269.9 MB, free: 5.387 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0004495/0.208, allocations: 116 kB / 270 MB, free: 5.273 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (clutch.phi_rel,clutch.w_rel,spring.phi_rel,spring.w_rel,inertia1.phi,inertia1.w) * Number of discrete variables: 10 (clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,clutch.free) * Number of discrete states: 6 (brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startForward,clutch.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002228/0.2082, allocations: 147.1 kB / 270.1 MB, free: 5.121 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.2094, allocations: 0.5615 MB / 270.7 MB, free: 4.562 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2094, allocations: 0 / 270.7 MB, free: 4.562 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006341/0.21, allocations: 316.2 kB / 271 MB, free: 4.254 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.2105, allocations: 63.39 kB / 271.1 MB, free: 4.195 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.214, allocations: 1.704 MB / 272.8 MB, free: 2.461 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.2144, allocations: 0.8191 MB / 273.6 MB, free: 1.613 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.2145, allocations: 47.19 kB / 273.6 MB, free: 1.566 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.2146, allocations: 31.42 kB / 273.7 MB, free: 1.539 MB / 202.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2146, allocations: 4 kB / 273.7 MB, free: 1.535 MB / 202.7 MB Notification: Performance of Templates: time 0.0121/0.2268, allocations: 7.888 MB / 281.5 MB, free: 9.68 MB / 218.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.pipe 2>&1)