Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 113.7 kB / 16.63 MB, free: 6.34 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.002317/0.002317, allocations: 188 kB / 17.55 MB, free: 5.801 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.897/1.897, allocations: 205.1 MB / 223.4 MB, free: 12.47 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.001848/0.001848, allocations: 51.92 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1628, allocations: 46.63 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.004306/0.1672, allocations: 1.554 MB / 327.7 MB, free: 3.219 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.1699, allocations: 0.8903 MB / 328.6 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1701, allocations: 4 kB / 328.6 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.1703, allocations: 3.984 kB / 328.6 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.1704, allocations: 11.88 kB / 328.6 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.1709, allocations: 43.95 kB / 328.6 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000339/0.1713, allocations: 147.7 kB / 328.8 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.1715, allocations: 16.23 kB / 328.8 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000927/0.1724, allocations: 0.5654 MB / 329.4 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.1726, allocations: 71.7 kB / 329.4 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/0.1727, allocations: 11.94 kB / 329.4 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.729e-05/0.1727, allocations: 8 kB / 329.5 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.1729, allocations: 67.75 kB / 329.5 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.1731, allocations: 115.1 kB / 329.6 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.1736, allocations: 370.7 kB / 330 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1736, allocations: 0 / 330 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1736, allocations: 0 / 330 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1736, allocations: 0 / 330 MB, free: 0.8945 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.00145/0.1751, allocations: 0.7307 MB / 330.7 MB, free: 92 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.425e-05/0.1752, allocations: 8.031 kB / 330.7 MB, free: 84 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.1753, allocations: 32.56 kB / 330.8 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/0.1759, allocations: 274.3 kB / 331 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.1759, allocations: 8.375 kB / 331 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.176, allocations: 4.375 kB / 331 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.1764, allocations: 137.8 kB / 331.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1765, allocations: 0 / 331.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.1765, allocations: 8 kB / 331.2 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1765, allocations: 4 kB / 331.2 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.1767, allocations: 55.95 kB / 331.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.1775, allocations: 468.5 kB / 331.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.1777, allocations: 94.48 kB / 331.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.1778, allocations: 88.89 kB / 331.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.1779, allocations: 0 / 331.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004742/0.1783, allocations: 210.8 kB / 332.1 MB, free: 14.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.1784, allocations: 0 / 332.1 MB, free: 14.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001005/0.1794, allocations: 483.8 kB / 332.6 MB, free: 14.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.1795, allocations: 166.2 kB / 332.7 MB, free: 13.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.1803, allocations: 0.513 MB / 333.2 MB, free: 13.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.1804, allocations: 33.7 kB / 333.3 MB, free: 13.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1805, allocations: 97.05 kB / 333.4 MB, free: 13.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.1806, allocations: 27.64 kB / 333.4 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.1807, allocations: 81.42 kB / 333.5 MB, free: 13.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.181, allocations: 330.8 kB / 333.8 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1811, allocations: 59.97 kB / 333.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.1813, allocations: 77.61 kB / 333.9 MB, free: 12.65 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.1818, allocations: 339.3 kB / 334.3 MB, free: 12.26 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-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.0006533/0.1825, allocations: 388.3 kB / 334.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.1827, allocations: 130.8 kB / 334.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1827, allocations: 112 / 334.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.1827, allocations: 7.969 kB / 334.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.559e-05/0.1828, allocations: 0 / 334.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1828, allocations: 80 / 334.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.183, allocations: 19.89 kB / 334.8 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-05/0.1831, 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0005154/0.1836, allocations: 366.8 kB / 335.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.1837, allocations: 39.56 kB / 335.3 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.1838, allocations: 67.16 kB / 335.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.1838, allocations: 0 / 335.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.1839, allocations: 4 kB / 335.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1839, allocations: 0 / 335.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.1852, allocations: 0.8212 MB / 336.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1853, allocations: 0 / 336.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.1853, allocations: 3.984 kB / 336.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1853, allocations: 0 / 336.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.1853, allocations: 12 kB / 336.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1853, allocations: 0 / 336.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.1853, allocations: 3.938 kB / 336.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008706/0.1862, allocations: 0.5368 MB / 336.7 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.1866, allocations: 240.5 kB / 336.9 MB, free: 9.352 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.1867, allocations: 12 kB / 336.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.1868, allocations: 15.92 kB / 337 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.187, allocations: 31.91 kB / 337 MB, free: 9.293 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-05/0.1871, allocations: 55.94 kB / 337 MB, free: 9.238 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006069/0.1877, allocations: 386.9 kB / 337.4 MB, free: 8.863 MB / 286.1 MB Notification: Performance of sort global known variables: time 9.82e-07/0.1877, allocations: 4 kB / 337.4 MB, free: 8.859 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003856/0.1881, allocations: 47.91 kB / 337.5 MB, free: 8.812 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0003038/0.1884, allocations: 121.7 kB / 337.6 MB, free: 8.684 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000754/0.1892, allocations: 445.8 kB / 338 MB, free: 8.199 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.1892, allocations: 0 / 338 MB, free: 8.199 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.1897, allocations: 377.6 kB / 338.4 MB, free: 7.781 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007775/0.1905, allocations: 120.6 kB / 338.5 MB, free: 7.664 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.1922, allocations: 0.7476 MB / 339.3 MB, free: 6.891 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008083/0.193, allocations: 0.8138 MB / 340.1 MB, free: 6.051 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.682e-05/0.1931, allocations: 8.656 kB / 340.1 MB, free: 6.043 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.1931, allocations: 15.38 kB / 340.1 MB, free: 6.027 MB / 286.1 MB Notification: Performance of SimCode: time 2.585e-06/0.1932, allocations: 0 / 340.1 MB, free: 6.027 MB / 286.1 MB Notification: Performance of Templates: time 0.01271/0.2059, allocations: 4.55 MB / 344.7 MB, free: 1.387 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1)