Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 111.2 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.939/1.939, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 51.94 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1612, allocations: 46.62 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.004575/0.1659, allocations: 1.569 MB / 327.7 MB, free: 3.215 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.1687, allocations: 0.8865 MB / 328.6 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.1689, allocations: 4 kB / 328.6 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.1692, allocations: 0 / 328.6 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.1694, allocations: 15.86 kB / 328.6 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.1699, allocations: 43.95 kB / 328.6 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000306/0.1702, allocations: 143.7 kB / 328.8 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.1704, allocations: 16.23 kB / 328.8 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009231/0.1714, allocations: 0.5615 MB / 329.4 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.1716, allocations: 83.61 kB / 329.4 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.1716, allocations: 8 kB / 329.5 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.871e-05/0.1717, allocations: 8 kB / 329.5 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.1719, allocations: 63.77 kB / 329.5 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.1721, allocations: 119.1 kB / 329.6 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005905/0.1727, allocations: 362.8 kB / 330 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.1727, allocations: 0 / 330 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.1727, allocations: 0 / 330 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1727, allocations: 0 / 330 MB, free: 0.9023 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001341/0.1741, allocations: 0.7268 MB / 330.7 MB, free: 104 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.364e-05/0.1742, allocations: 12.03 kB / 330.7 MB, free: 92 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.1743, allocations: 32.56 kB / 330.8 MB, free: 60 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.1748, allocations: 278.3 kB / 331 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.1749, allocations: 4.375 kB / 331 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.1749, allocations: 12.38 kB / 331.1 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.1754, allocations: 133.8 kB / 331.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1754, allocations: 0 / 331.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.1755, allocations: 8 kB / 331.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.1755, allocations: 7.938 kB / 331.2 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.1757, allocations: 55.97 kB / 331.3 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1767, allocations: 468.5 kB / 331.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.177, allocations: 94.48 kB / 331.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.1772, allocations: 84.89 kB / 331.9 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.1773, allocations: 4 kB / 331.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006243/0.1779, allocations: 210.8 kB / 332.1 MB, free: 14.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.274e-06/0.1779, allocations: 4 kB / 332.1 MB, free: 14.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.00114/0.1791, allocations: 475.8 kB / 332.6 MB, free: 14.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002193/0.1793, allocations: 166.2 kB / 332.7 MB, free: 13.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008933/0.1802, allocations: 0.5052 MB / 333.2 MB, free: 13.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.1803, allocations: 37.69 kB / 333.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1804, allocations: 97.05 kB / 333.4 MB, free: 13.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.1805, allocations: 31.64 kB / 333.4 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.1806, allocations: 81.42 kB / 333.5 MB, free: 13.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002653/0.1809, allocations: 334.8 kB / 333.8 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.1811, allocations: 55.91 kB / 333.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.1813, allocations: 77.67 kB / 333.9 MB, free: 12.65 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.1818, allocations: 343.7 kB / 334.3 MB, free: 12.26 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1818, allocations: 0 / 334.3 MB, free: 12.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007196/0.1826, allocations: 388.3 kB / 334.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002054/0.1828, allocations: 126.8 kB / 334.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.1828, allocations: 8.141 kB / 334.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.1828, allocations: 3.938 kB / 334.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.273e-05/0.1829, allocations: 0 / 334.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.1829, allocations: 4.062 kB / 334.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.1831, allocations: 15.91 kB / 334.8 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.1833, allocations: 59.92 kB / 334.9 MB, free: 11.61 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005389/0.1838, allocations: 362.7 kB / 335.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.1839, allocations: 35.62 kB / 335.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.184, allocations: 67.16 kB / 335.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.184, allocations: 7.938 kB / 335.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.1841, allocations: 0 / 335.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1841, allocations: 0 / 335.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.1854, allocations: 0.8134 MB / 336.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.1854, allocations: 4.188 kB / 336.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.1855, allocations: 4 kB / 336.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.1855, allocations: 0 / 336.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.1855, allocations: 15.98 kB / 336.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1855, allocations: 0 / 336.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.1855, allocations: 7.938 kB / 336.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008402/0.1864, allocations: 0.5329 MB / 336.7 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.1868, allocations: 244.4 kB / 336.9 MB, free: 9.352 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.107e-05/0.1869, allocations: 12 kB / 336.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.187, allocations: 15.92 kB / 337 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.1872, allocations: 31.91 kB / 337 MB, free: 9.293 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.091e-05/0.1873, allocations: 59.92 kB / 337.1 MB, free: 9.234 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006257/0.1879, allocations: 390.9 kB / 337.4 MB, free: 8.855 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.188, allocations: 0 / 337.4 MB, free: 8.855 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003322/0.1883, allocations: 47.91 kB / 337.5 MB, free: 8.809 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002581/0.1886, allocations: 115 kB / 337.6 MB, free: 8.688 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007815/0.1893, allocations: 449.5 kB / 338 MB, free: 8.199 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1894, allocations: 0 / 338 MB, free: 8.199 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.1898, allocations: 369.6 kB / 338.4 MB, free: 7.789 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007494/0.1906, allocations: 120.9 kB / 338.5 MB, free: 7.672 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1923, allocations: 0.7514 MB / 339.3 MB, free: 6.895 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008408/0.1931, allocations: 0.806 MB / 340.1 MB, free: 6.062 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.1932, allocations: 8.656 kB / 340.1 MB, free: 6.055 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.1933, allocations: 19.31 kB / 340.1 MB, free: 6.035 MB / 286.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1933, allocations: 0 / 340.1 MB, free: 6.035 MB / 286.1 MB Notification: Performance of Templates: time 0.01068/0.204, allocations: 4.539 MB / 344.6 MB, free: 1.402 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1)