Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.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.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.PID_Controller") translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6338/0.6338, 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.001621/0.001621, allocations: 138.7 kB / 151.8 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002241/0.0002241, allocations: 8 kB / 184.9 MB, free: 3.918 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1053, allocations: 25.16 MB / 210 MB, free: 29.74 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04154/0.1468, allocations: 38.11 MB / 248.1 MB, free: 11.71 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.1471, allocations: 59.98 kB / 248.2 MB, free: 11.65 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02171/0.1688, allocations: 7.904 MB / 256.1 MB, free: 3.758 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1689, allocations: 4 kB / 256.1 MB, free: 3.754 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.1689, allocations: 4 kB / 256.1 MB, free: 3.75 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001099/0.17, allocations: 0.6818 MB / 256.8 MB, free: 3.02 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1701, allocations: 11.97 kB / 256.8 MB, free: 3.008 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.031e-05/0.1702, allocations: 46.47 kB / 256.9 MB, free: 2.965 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.1707, allocations: 344.6 kB / 257.2 MB, free: 2.586 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.155e-05/0.1708, allocations: 50.7 kB / 257.2 MB, free: 2.531 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.1709, allocations: 43.86 kB / 257.3 MB, free: 2.488 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.1718, allocations: 410.7 kB / 257.7 MB, free: 2.07 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.1718, allocations: 4 kB / 257.7 MB, free: 2.066 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.1719, allocations: 8 kB / 257.7 MB, free: 2.059 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1719, allocations: 11.98 kB / 257.7 MB, free: 2.047 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009242/0.1728, allocations: 386.3 kB / 258.1 MB, free: 1.668 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.1747, allocations: 1.148 MB / 259.2 MB, free: 464 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008777/0.1756, allocations: 337.4 kB / 259.6 MB, free: 120 kB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1757, allocations: 4 kB / 259.6 MB, free: 116 kB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.1757, allocations: 34.56 kB / 259.6 MB, free: 72 kB / 186.7 MB Notification: Performance of pre-optimization done (n=26): time 2.345e-06/0.1757, allocations: 0 / 259.6 MB, free: 72 kB / 186.7 MB Notification: Performance of matching and sorting (n=28): time 0.00306/0.1788, allocations: 1.427 MB / 261 MB, free: 14.54 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.1789, allocations: 114.8 kB / 261.1 MB, free: 14.41 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.1792, allocations: 275.6 kB / 261.4 MB, free: 14.13 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.1793, allocations: 33.7 kB / 261.4 MB, free: 14.09 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1794, allocations: 212.1 kB / 261.7 MB, free: 13.88 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.874e-05/0.1795, allocations: 98.55 kB / 261.7 MB, free: 13.78 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/0.1795, allocations: 11.28 kB / 261.8 MB, free: 13.77 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1796, allocations: 346.8 kB / 262.1 MB, free: 13.43 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.18, allocations: 161 kB / 262.3 MB, free: 13.27 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.1805, allocations: 217.8 kB / 262.5 MB, free: 13.04 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.1809, allocations: 168 kB / 262.6 MB, free: 12.87 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1809, allocations: 0 / 262.6 MB, free: 12.87 MB / 202.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009247/0.1818, allocations: 462.2 kB / 263.1 MB, free: 12.41 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1818, allocations: 5.875 kB / 263.1 MB, free: 12.41 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1819, allocations: 4 kB / 263.1 MB, free: 12.41 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1819, allocations: 0 / 263.1 MB, free: 12.41 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.1824, allocations: 147.9 kB / 263.2 MB, free: 12.26 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.1825, allocations: 4 kB / 263.2 MB, free: 12.26 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.1828, allocations: 43.91 kB / 263.3 MB, free: 12.21 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.1828, allocations: 16 kB / 263.3 MB, free: 12.2 MB / 202.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: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0002215/0.183, allocations: 161.7 kB / 263.5 MB, free: 12.03 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.1831, allocations: 35.53 kB / 263.5 MB, free: 12 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.499e-05/0.1832, allocations: 39.77 kB / 263.5 MB, free: 11.95 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1832, allocations: 4 kB / 263.5 MB, free: 11.95 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1832, allocations: 0 / 263.5 MB, free: 11.95 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1832, allocations: 0 / 263.5 MB, free: 11.95 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.1848, allocations: 0.9074 MB / 264.4 MB, free: 10.97 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.1848, allocations: 5.125 kB / 264.4 MB, free: 10.97 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/0.1852, allocations: 100 kB / 264.5 MB, free: 10.87 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1852, allocations: 3.984 kB / 264.5 MB, free: 10.87 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.1852, allocations: 8 kB / 264.6 MB, free: 10.86 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.1853, allocations: 4 kB / 264.6 MB, free: 10.86 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1853, allocations: 0 / 264.6 MB, free: 10.86 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.1867, allocations: 0.751 MB / 265.3 MB, free: 10.05 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1868, allocations: 108.7 kB / 265.4 MB, free: 9.93 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.1869, allocations: 9 kB / 265.4 MB, free: 9.922 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.1872, allocations: 55.95 kB / 265.5 MB, free: 9.867 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.1873, allocations: 23.83 kB / 265.5 MB, free: 9.844 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.1874, allocations: 19.98 kB / 265.5 MB, free: 9.824 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002398/0.1876, allocations: 215.1 kB / 265.7 MB, free: 9.617 MB / 202.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1876, allocations: 0 / 265.7 MB, free: 9.617 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.188, allocations: 77.53 kB / 265.8 MB, free: 9.543 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (PI.I.y,inertia1.phi,spring.phi_rel,spring.w_rel,inertia2.w,integrator.y) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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 0.0001492/0.1882, allocations: 103.2 kB / 265.9 MB, free: 9.434 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0008918/0.1891, allocations: 380.4 kB / 266.3 MB, free: 9.062 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1891, allocations: 0 / 266.3 MB, free: 9.062 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.1895, allocations: 192.1 kB / 266.5 MB, free: 8.875 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.19, allocations: 75.25 kB / 266.5 MB, free: 8.801 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.1921, allocations: 1.243 MB / 267.8 MB, free: 7.531 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.1924, allocations: 0.8134 MB / 268.6 MB, free: 6.688 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.1926, allocations: 51.06 kB / 268.6 MB, free: 6.637 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.14e-05/0.1927, allocations: 27.44 kB / 268.7 MB, free: 6.609 MB / 202.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1927, allocations: 0 / 268.7 MB, free: 6.609 MB / 202.7 MB Notification: Performance of Templates: time 0.007021/0.1998, allocations: 3.852 MB / 272.5 MB, free: 2.789 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_3.1_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1)