Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009249/0.0009249, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 226.6 MB / 244.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007702/0.0007702, allocations: 106.6 kB / 296.4 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002006/0.0002006, allocations: 8 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1808, allocations: 51.29 MB / 407.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.001811/0.1826, allocations: 1.966 MB / 409.5 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000887/0.1835, allocations: 0.7185 MB / 410.2 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.816e-05/0.1837, allocations: 7.938 kB / 410.2 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.611e-05/0.1838, allocations: 23.78 kB / 410.2 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.184, allocations: 73.08 kB / 410.3 MB, free: 25.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.1842, allocations: 88.8 kB / 410.4 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1844, allocations: 280 kB / 410.6 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1845, allocations: 64.03 kB / 410.7 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.874e-05/0.1846, allocations: 95.59 kB / 410.8 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1847, allocations: 111.5 kB / 410.9 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.1847, allocations: 12 kB / 410.9 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.245e-05/0.1848, allocations: 16 kB / 410.9 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.1848, allocations: 43.75 kB / 411 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.1848, allocations: 69.58 kB / 411 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.185, allocations: 184.5 kB / 411.2 MB, free: 24.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.185, allocations: 9.766 kB / 411.2 MB, free: 24.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.185, allocations: 0 / 411.2 MB, free: 24.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.185, allocations: 0 / 411.2 MB, free: 24.1 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006617/0.1857, allocations: 0.5177 MB / 411.7 MB, free: 23.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.1857, allocations: 8.031 kB / 411.8 MB, free: 23.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.1858, allocations: 31.72 kB / 411.8 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.186, allocations: 255.3 kB / 412 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.186, allocations: 12.44 kB / 412 MB, free: 23.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.186, allocations: 23.95 kB / 412.1 MB, free: 23.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.1864, allocations: 238.6 kB / 412.3 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.1864, allocations: 11.89 kB / 412.3 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.1864, allocations: 12 kB / 412.3 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1864, allocations: 8 kB / 412.3 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.1867, allocations: 167.1 kB / 412.5 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008713/0.1876, allocations: 1.02 MB / 413.5 MB, free: 21.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.1881, allocations: 298.6 kB / 413.8 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.1882, allocations: 107.5 kB / 413.9 MB, free: 21.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1882, allocations: 0 / 413.9 MB, free: 21.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.1882, allocations: 42.5 kB / 414 MB, free: 21.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.172e-06/0.1883, allocations: 0 / 414 MB, free: 21.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001343/0.1896, allocations: 1.332 MB / 415.3 MB, free: 19.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.1896, allocations: 132.5 kB / 415.4 MB, free: 19.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.1898, allocations: 199 kB / 415.6 MB, free: 19.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1898, allocations: 33.64 kB / 415.6 MB, free: 19.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.1898, allocations: 164.4 kB / 415.8 MB, free: 19.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.1899, allocations: 118.3 kB / 415.9 MB, free: 18.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.1899, allocations: 8 kB / 415.9 MB, free: 18.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.426e-05/0.19, allocations: 338.7 kB / 416.3 MB, free: 18.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.1901, allocations: 84.83 kB / 416.3 MB, free: 18.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.1903, allocations: 198.9 kB / 416.5 MB, free: 18.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.1905, allocations: 116 kB / 416.6 MB, free: 18.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1905, allocations: 0 / 416.6 MB, free: 18.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000459/0.191, allocations: 333 kB / 417 MB, free: 17.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.191, allocations: 8 kB / 417 MB, free: 17.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.191, allocations: 4 kB / 417 MB, free: 17.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.191, allocations: 4 kB / 417 MB, free: 17.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.1914, allocations: 103.8 kB / 417.1 MB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1914, allocations: 4 kB / 417.1 MB, free: 17.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.1915, allocations: 24.23 kB / 417.1 MB, free: 17.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1916, allocations: 20 kB / 417.1 MB, free: 17.63 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (48): * Single equations (assignments): 48 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.535e-05/0.1917, allocations: 149.6 kB / 417.3 MB, free: 17.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.1917, allocations: 23.72 kB / 417.3 MB, free: 17.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.1918, allocations: 33.58 kB / 417.3 MB, free: 17.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1918, allocations: 7.984 kB / 417.3 MB, free: 17.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1918, allocations: 7.938 kB / 417.4 MB, free: 17.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1918, allocations: 0 / 417.4 MB, free: 17.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.1928, allocations: 0.9789 MB / 418.3 MB, free: 16.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1928, allocations: 0 / 418.3 MB, free: 16.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.1932, allocations: 83.89 kB / 418.4 MB, free: 16.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1932, allocations: 4 kB / 418.4 MB, free: 16.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.1932, allocations: 12.25 kB / 418.4 MB, free: 16.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1932, allocations: 20.19 kB / 418.5 MB, free: 16.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1932, allocations: 4 kB / 418.5 MB, free: 16.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.1938, allocations: 0.7012 MB / 419.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.1938, allocations: 100.8 kB / 419.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.1939, allocations: 8 kB / 419.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.1941, allocations: 15.98 kB / 419.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.1942, allocations: 35.86 kB / 419.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1942, allocations: 8 kB / 419.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.044e-05/0.1943, allocations: 152.4 kB / 419.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1943, allocations: 3.938 kB / 419.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004348/0.1947, allocations: 60 kB / 419.5 MB, free: 15.08 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.607e-05/0.1948, allocations: 111.6 kB / 419.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.1952, allocations: 252 kB / 419.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1952, allocations: 4 kB / 419.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.1954, allocations: 123.8 kB / 420 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.1961, allocations: 67.94 kB / 420.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.1973, allocations: 1.155 MB / 421.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.1974, allocations: 0.7647 MB / 422 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.1975, allocations: 27.44 kB / 422 MB, free: 12.49 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1975, allocations: 0 / 422 MB, free: 12.49 MB / 298.7 MB Notification: Performance of Templates: time 0.003572/0.2011, allocations: 3.282 MB / 425.3 MB, free: 9.219 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce --alarm=480 > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1)