Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.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.Translational.Examples.Brake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake") translateModel(Modelica.Mechanics.Translational.Examples.Brake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6844/0.6844, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00166/0.00166, allocations: 146.5 kB / 151.9 MB, free: 4.992 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002305/0.0002305, allocations: 4 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1216, allocations: 25.16 MB / 210 MB, free: 29.74 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0396/0.1613, allocations: 34.92 MB / 245 MB, free: 14.91 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.1615, allocations: 61.47 kB / 245 MB, free: 14.86 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01333/0.1748, allocations: 5.017 MB / 250 MB, free: 9.852 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1749, allocations: 8 kB / 250 MB, free: 9.844 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.1749, allocations: 4.656 kB / 250.1 MB, free: 9.84 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009655/0.1759, allocations: 0.6135 MB / 250.7 MB, free: 9.18 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1759, allocations: 12.03 kB / 250.7 MB, free: 9.168 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.922e-05/0.176, allocations: 39.39 kB / 250.7 MB, free: 9.133 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1763, allocations: 266 kB / 251 MB, free: 8.836 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.1764, allocations: 24.56 kB / 251 MB, free: 8.812 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.1764, allocations: 27.91 kB / 251 MB, free: 8.785 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.1771, allocations: 371 kB / 251.4 MB, free: 8.418 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1771, allocations: 4 kB / 251.4 MB, free: 8.414 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.1772, allocations: 12 kB / 251.4 MB, free: 8.402 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1772, allocations: 11.95 kB / 251.4 MB, free: 8.391 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007093/0.1779, allocations: 398 kB / 251.8 MB, free: 8 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.1797, allocations: 1.1 MB / 252.9 MB, free: 6.824 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.1802, allocations: 270.6 kB / 253.2 MB, free: 6.547 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.1802, allocations: 8 kB / 253.2 MB, free: 6.539 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1803, allocations: 38.56 kB / 253.2 MB, free: 6.492 MB / 186.7 MB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/0.1803, allocations: 0 / 253.2 MB, free: 6.492 MB / 186.7 MB Notification: Performance of matching and sorting (n=43): time 0.004122/0.1844, allocations: 2.078 MB / 255.3 MB, free: 4.277 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.1845, allocations: 55.41 kB / 255.3 MB, free: 4.211 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.1847, allocations: 196.2 kB / 255.5 MB, free: 4.012 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.1847, allocations: 41.7 kB / 255.6 MB, free: 3.965 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1848, allocations: 148.8 kB / 255.7 MB, free: 3.816 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.185, allocations: 158 kB / 255.9 MB, free: 3.66 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.185, allocations: 8 kB / 255.9 MB, free: 3.652 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1851, allocations: 338.8 kB / 256.2 MB, free: 3.312 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.1855, allocations: 201 kB / 256.4 MB, free: 3.113 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.1859, allocations: 280.8 kB / 256.7 MB, free: 2.816 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.1862, allocations: 164.7 kB / 256.8 MB, free: 2.656 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1862, allocations: 0 / 256.8 MB, free: 2.656 MB / 186.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001331/0.1875, allocations: 0.6691 MB / 257.5 MB, free: 1.973 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1876, allocations: 11.95 kB / 257.5 MB, free: 1.961 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1876, allocations: 1.781 kB / 257.5 MB, free: 1.961 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008674/0.1885, allocations: 0.521 MB / 258.1 MB, free: 1.434 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.1887, allocations: 75.84 kB / 258.1 MB, free: 1.359 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.1899, allocations: 1.378 MB / 259.5 MB, free: 15.93 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.1904, allocations: 96.05 kB / 259.6 MB, free: 15.84 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/0.1904, allocations: 23.98 kB / 259.6 MB, free: 15.81 MB / 202.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 16 (brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * 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 prepare postOptimizeDAE: time 0.0002036/0.1906, allocations: 157 kB / 259.8 MB, free: 15.65 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.1907, allocations: 27.72 kB / 259.8 MB, free: 15.62 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.1908, allocations: 47.3 kB / 259.8 MB, free: 15.58 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1908, allocations: 4 kB / 259.9 MB, free: 15.57 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1908, allocations: 4 kB / 259.9 MB, free: 15.57 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.1909, allocations: 7.938 kB / 259.9 MB, free: 15.56 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.1934, allocations: 1.363 MB / 261.2 MB, free: 14.12 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1934, allocations: 0 / 261.2 MB, free: 14.12 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.1937, allocations: 59.91 kB / 261.3 MB, free: 14.06 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000701/0.1944, allocations: 489.5 kB / 261.8 MB, free: 13.57 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.1944, allocations: 27.03 kB / 261.8 MB, free: 13.55 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.1955, allocations: 1.326 MB / 263.1 MB, free: 12.18 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1955, allocations: 0 / 263.1 MB, free: 12.18 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.1971, allocations: 0.9887 MB / 264.1 MB, free: 11.12 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.1974, allocations: 160.7 kB / 264.3 MB, free: 10.95 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.1974, allocations: 16 kB / 264.3 MB, free: 10.93 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.1977, allocations: 43.95 kB / 264.3 MB, free: 10.89 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.1979, allocations: 107.8 kB / 264.4 MB, free: 10.78 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.198, allocations: 19.98 kB / 264.4 MB, free: 10.76 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.1981, allocations: 160.5 kB / 264.6 MB, free: 10.61 MB / 202.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1981, allocations: 0 / 264.6 MB, free: 10.61 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0004675/0.1986, allocations: 104 kB / 264.7 MB, free: 10.5 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (mass1.s,mass1.v,mass2.s,mass2.v) * Number of discrete variables: 10 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode) * Number of discrete states: 6 (brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002831/0.1989, allocations: 139.1 kB / 264.8 MB, free: 10.36 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0009681/0.1999, allocations: 0.4913 MB / 265.3 MB, free: 9.867 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1999, allocations: 0 / 265.3 MB, free: 9.867 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.2004, allocations: 272.4 kB / 265.6 MB, free: 9.602 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.2008, allocations: 46.28 kB / 265.6 MB, free: 9.559 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.2029, allocations: 1.145 MB / 266.8 MB, free: 8.387 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.2033, allocations: 0.7803 MB / 267.6 MB, free: 7.578 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.000129/0.2034, allocations: 34.97 kB / 267.6 MB, free: 7.547 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.2035, allocations: 23.44 kB / 267.6 MB, free: 7.523 MB / 202.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2035, allocations: 0 / 267.6 MB, free: 7.523 MB / 202.7 MB Notification: Performance of Templates: time 0.01121/0.2147, allocations: 6.992 MB / 274.6 MB, free: 0.5547 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.pipe 2>&1)