Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.007535/0.007535, allocations: 101 kB / 15.73 MB, free: 6.004 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.001512/0.001512, allocations: 196.6 kB / 16.68 MB, free: 5.926 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.857/1.857, allocations: 205.1 MB / 222.6 MB, free: 4.461 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.002058/0.002058, allocations: 47.94 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.166, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003068/0.1691, allocations: 1.498 MB / 374.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.1712, allocations: 0.8975 MB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.1713, allocations: 4 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.985e-05/0.1714, allocations: 7.938 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.1715, allocations: 23.84 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.1718, allocations: 47.88 kB / 375.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.172, allocations: 143.7 kB / 375.8 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.1722, allocations: 20.22 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007244/0.173, allocations: 0.5732 MB / 376.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1731, allocations: 71.69 kB / 376.4 MB, free: 14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.1732, allocations: 12 kB / 376.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.905e-05/0.1732, allocations: 8 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1734, allocations: 63.77 kB / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.1735, allocations: 123.1 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.174, allocations: 378.6 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.174, allocations: 7.938 kB / 377 MB, free: 13.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.174, allocations: 0 / 377 MB, free: 13.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.174, allocations: 4 kB / 377 MB, free: 13.41 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.001008/0.175, allocations: 0.7111 MB / 377.7 MB, free: 12.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.1751, allocations: 12.03 kB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/0.1752, allocations: 36.47 kB / 377.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.1756, allocations: 270.3 kB / 378.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.1756, allocations: 8.375 kB / 378.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.1756, allocations: 8.375 kB / 378.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.176, allocations: 129.9 kB / 378.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1761, allocations: 3.984 kB / 378.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.1761, allocations: 8 kB / 378.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.1761, allocations: 3.938 kB / 378.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.1763, allocations: 59.97 kB / 378.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008317/0.1771, allocations: 472.4 kB / 378.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.1774, allocations: 90.55 kB / 378.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.1776, allocations: 84.89 kB / 378.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1776, allocations: 4 kB / 378.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005981/0.1782, allocations: 214.5 kB / 379.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.304e-06/0.1782, allocations: 0 / 379.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001001/0.1792, allocations: 476 kB / 379.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.1793, allocations: 162.2 kB / 379.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006765/0.18, allocations: 0.5129 MB / 380.3 MB, free: 9.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.1801, allocations: 33.7 kB / 380.3 MB, free: 9.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.1802, allocations: 105.1 kB / 380.4 MB, free: 9.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.1802, allocations: 27.7 kB / 380.4 MB, free: 9.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.1804, allocations: 77.42 kB / 380.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1805, allocations: 330.8 kB / 380.8 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1806, allocations: 55.97 kB / 380.9 MB, free: 9.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.1808, allocations: 73.69 kB / 380.9 MB, free: 9.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.1811, allocations: 351.2 kB / 381.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1811, allocations: 0 / 381.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005329/0.1817, allocations: 392.7 kB / 381.7 MB, free: 8.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.923e-05/0.1818, allocations: 122.8 kB / 381.8 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/0.1818, allocations: 0 / 381.8 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1818, allocations: 7.984 kB / 381.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.648e-05/0.1819, allocations: 3.938 kB / 381.8 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1819, allocations: 0 / 381.8 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.182, allocations: 8 kB / 381.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/0.1821, allocations: 63.95 kB / 381.9 MB, free: 8.148 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.0003877/0.1825, allocations: 370.9 kB / 382.2 MB, free: 7.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.1826, allocations: 39.53 kB / 382.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.1827, allocations: 67.09 kB / 382.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1827, allocations: 0 / 382.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1827, allocations: 0 / 382.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1827, allocations: 0 / 382.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.1837, allocations: 0.829 MB / 383.2 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1838, allocations: 3.938 kB / 383.2 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-06/0.1838, allocations: 4 kB / 383.2 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1838, allocations: 0 / 383.2 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.1838, allocations: 15.98 kB / 383.2 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1838, allocations: 0 / 383.2 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1838, allocations: 3.938 kB / 383.2 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.1845, allocations: 0.5331 MB / 383.7 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.1849, allocations: 244.4 kB / 384 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.185, allocations: 8 kB / 384 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1851, allocations: 15.98 kB / 384 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.1853, allocations: 27.92 kB / 384 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.1853, allocations: 59.92 kB / 384.1 MB, free: 5.766 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004905/0.1858, allocations: 386.9 kB / 384.4 MB, free: 5.387 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1858, allocations: 0 / 384.4 MB, free: 5.387 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.1862, allocations: 44 kB / 384.5 MB, free: 5.344 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.0001687/0.1863, allocations: 129.5 kB / 384.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006165/0.187, allocations: 433.5 kB / 385 MB, free: 4.734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.187, allocations: 0 / 385 MB, free: 4.734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.1873, allocations: 381.8 kB / 385.4 MB, free: 4.312 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.188, allocations: 133.3 kB / 385.5 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.1892, allocations: 0.6458 MB / 386.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.1898, allocations: 0.8021 MB / 387 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.422e-05/0.1899, allocations: 12.64 kB / 387 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.1899, allocations: 15.44 kB / 387 MB, free: 2.652 MB / 318.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1899, allocations: 0 / 387 MB, free: 2.652 MB / 318.1 MB Notification: Performance of Templates: time 0.01012/0.2, allocations: 4.664 MB / 391.7 MB, free: 13.89 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1)