Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.007914/0.007914, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.001431/0.001431, allocations: 194.2 kB / 16.67 MB, free: 5.949 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.789/1.789, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.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.001948/0.001948, allocations: 55.22 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.161, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003886/0.165, allocations: 1.49 MB / 374.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.1675, allocations: 0.9014 MB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.79e-05/0.1676, allocations: 0 / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.1678, allocations: 7.922 kB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.081e-05/0.1679, allocations: 15.86 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.1683, allocations: 47.89 kB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.1686, allocations: 147.7 kB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.1688, allocations: 24.22 kB / 375.8 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008082/0.1696, allocations: 0.581 MB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1698, allocations: 67.7 kB / 376.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.1699, allocations: 8 kB / 376.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.704e-05/0.1699, allocations: 12 kB / 376.5 MB, free: 14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.1701, allocations: 63.7 kB / 376.5 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.1703, allocations: 123.1 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000494/0.1708, allocations: 374.6 kB / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1708, allocations: 0 / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.1708, allocations: 0 / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1708, allocations: 4 kB / 377 MB, free: 13.45 MB / 318.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.001062/0.1719, allocations: 0.715 MB / 377.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.1719, allocations: 8.031 kB / 377.7 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.395e-05/0.172, allocations: 40.47 kB / 377.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.1725, allocations: 274.3 kB / 378 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.1725, allocations: 8.359 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/0.1726, allocations: 12.38 kB / 378.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.173, allocations: 129.9 kB / 378.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.173, allocations: 0 / 378.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.173, allocations: 8 kB / 378.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1731, allocations: 3.938 kB / 378.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.1732, allocations: 55.97 kB / 378.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000954/0.1742, allocations: 472.4 kB / 378.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1745, allocations: 98.55 kB / 378.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.1746, allocations: 80.89 kB / 378.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1747, allocations: 7.938 kB / 378.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005635/0.1753, allocations: 206.6 kB / 379.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.913e-06/0.1753, allocations: 0 / 379.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001021/0.1763, allocations: 480 kB / 379.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001921/0.1765, allocations: 166.2 kB / 379.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.1774, allocations: 0.5168 MB / 380.3 MB, free: 9.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.1774, allocations: 33.64 kB / 380.3 MB, free: 9.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1775, allocations: 105.1 kB / 380.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.1776, allocations: 27.7 kB / 380.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.1778, allocations: 77.42 kB / 380.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.178, allocations: 326.8 kB / 380.8 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1782, allocations: 55.97 kB / 380.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1783, allocations: 73.69 kB / 380.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.1788, allocations: 351.2 kB / 381.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1788, allocations: 0 / 381.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006315/0.1794, allocations: 388.4 kB / 381.7 MB, free: 8.402 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.1796, allocations: 122.8 kB / 381.8 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.1796, allocations: 3.984 kB / 381.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/0.1797, allocations: 0 / 381.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.258e-05/0.1797, allocations: 7.938 kB / 381.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.1797, allocations: 0 / 381.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.1799, allocations: 12 kB / 381.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.399e-05/0.18, allocations: 63.86 kB / 381.9 MB, free: 8.172 MB / 318.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.000445/0.1805, allocations: 370.9 kB / 382.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.1805, allocations: 39.53 kB / 382.3 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.1807, allocations: 67.14 kB / 382.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1807, allocations: 0 / 382.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.1807, allocations: 0 / 382.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1807, allocations: 0 / 382.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.1819, allocations: 0.8212 MB / 383.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1819, allocations: 3.938 kB / 383.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-06/0.1819, allocations: 4 kB / 383.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1819, allocations: 0 / 383.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.182, allocations: 19.98 kB / 383.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.182, allocations: 0 / 383.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.182, allocations: 3.938 kB / 383.2 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007758/0.1828, allocations: 0.5295 MB / 383.7 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/0.1832, allocations: 248.4 kB / 384 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.1833, allocations: 12 kB / 384 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.1834, allocations: 15.98 kB / 384 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.1836, allocations: 23.92 kB / 384 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.302e-05/0.1837, allocations: 63.92 kB / 384.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005164/0.1842, allocations: 390.8 kB / 384.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1842, allocations: 0 / 384.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003392/0.1846, allocations: 40 kB / 384.5 MB, free: 5.367 MB / 318.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.0002766/0.1849, allocations: 125.6 kB / 384.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007482/0.1856, allocations: 437.7 kB / 385 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1857, allocations: 0 / 385 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.1861, allocations: 381.6 kB / 385.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007534/0.1869, allocations: 125.1 kB / 385.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.1883, allocations: 0.6458 MB / 386.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/0.189, allocations: 0.8021 MB / 387 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.171e-05/0.1891, allocations: 8.672 kB / 387 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.1891, allocations: 15.44 kB / 387 MB, free: 2.688 MB / 318.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1892, allocations: 0 / 387 MB, free: 2.688 MB / 318.1 MB Notification: Performance of Templates: time 0.01037/0.1995, allocations: 4.754 MB / 391.8 MB, free: 13.84 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1)