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.01371/0.01371, allocations: 98.61 kB / 15.73 MB, free: 6.039 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.002378/0.002378, allocations: 191.6 kB / 16.67 MB, free: 5.969 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.855/1.855, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.001588/0.001588, allocations: 50.81 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1289, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003559/0.1325, allocations: 1.498 MB / 374.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.1353, allocations: 0.8859 MB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.1354, allocations: 3.938 kB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.1356, allocations: 11.92 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.1358, allocations: 23.84 kB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.1362, allocations: 43.89 kB / 375.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.1365, allocations: 147.7 kB / 375.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.1366, allocations: 20.23 kB / 375.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006727/0.1373, allocations: 0.5654 MB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1375, allocations: 67.77 kB / 376.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.1376, allocations: 8 kB / 376.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.589e-05/0.1377, allocations: 8 kB / 376.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1378, allocations: 71.7 kB / 376.5 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.1379, allocations: 115.2 kB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.1384, allocations: 382.3 kB / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1384, allocations: 0 / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1384, allocations: 0 / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.1384, allocations: 0 / 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.0009943/0.1394, allocations: 0.7266 MB / 377.7 MB, free: 12.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.1395, allocations: 12.03 kB / 377.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.1396, allocations: 40.64 kB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.14, allocations: 278.7 kB / 378 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.14, allocations: 12.38 kB / 378.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.1401, allocations: 8.375 kB / 378.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.1404, allocations: 133.8 kB / 378.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1405, allocations: 3.938 kB / 378.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.1405, allocations: 7.984 kB / 378.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1405, allocations: 0 / 378.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.1407, allocations: 59.97 kB / 378.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008522/0.1415, allocations: 468.5 kB / 378.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.1418, allocations: 98.48 kB / 378.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.142, allocations: 80.89 kB / 378.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.142, allocations: 0 / 378.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004465/0.1425, allocations: 214.6 kB / 379.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.903e-06/0.1425, allocations: 4 kB / 379.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008874/0.1434, allocations: 484.5 kB / 379.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1435, allocations: 166.2 kB / 379.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008454/0.1443, allocations: 0.5052 MB / 380.3 MB, free: 9.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.1444, allocations: 37.69 kB / 380.3 MB, free: 9.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.1445, allocations: 97.09 kB / 380.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.1445, allocations: 27.84 kB / 380.4 MB, free: 9.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.1446, allocations: 85.52 kB / 380.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1448, allocations: 322.8 kB / 380.8 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1449, allocations: 63.97 kB / 380.9 MB, free: 9.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1451, allocations: 81.61 kB / 381 MB, free: 9.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.1454, allocations: 343.3 kB / 381.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1454, allocations: 0 / 381.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005891/0.146, allocations: 388.4 kB / 381.7 MB, free: 8.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.619e-05/0.1461, allocations: 127.9 kB / 381.8 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1461, allocations: 4 kB / 381.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1462, allocations: 4.031 kB / 381.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.386e-05/0.1462, allocations: 0 / 381.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1462, allocations: 0 / 381.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.1464, allocations: 11.94 kB / 381.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.1464, allocations: 64.05 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.0003619/0.1468, allocations: 362.8 kB / 382.2 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.1469, allocations: 39.77 kB / 382.3 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.147, allocations: 67.14 kB / 382.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.147, allocations: 4 kB / 382.3 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.147, allocations: 4.109 kB / 382.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1471, allocations: 3.938 kB / 382.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.1481, allocations: 0.8172 MB / 383.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1481, allocations: 3.938 kB / 383.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-06/0.1482, allocations: 0 / 383.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1482, allocations: 4 kB / 383.2 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.1482, allocations: 15.98 kB / 383.2 MB, free: 6.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.1482, allocations: 0 / 383.2 MB, free: 6.719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.1482, allocations: 7.938 kB / 383.2 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000656/0.1489, allocations: 0.5371 MB / 383.7 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.1492, allocations: 248.6 kB / 384 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.1493, allocations: 12 kB / 384 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1494, allocations: 11.98 kB / 384 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.1495, allocations: 23.92 kB / 384 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/0.1496, allocations: 59.92 kB / 384.1 MB, free: 5.766 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004732/0.1501, allocations: 386.9 kB / 384.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1501, allocations: 4 kB / 384.5 MB, free: 5.383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003092/0.1504, allocations: 51.95 kB / 384.5 MB, free: 5.332 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.0001537/0.1506, allocations: 121.7 kB / 384.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005432/0.1511, allocations: 433.5 kB / 385.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1512, allocations: 0 / 385.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.1515, allocations: 377.6 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.0006354/0.1521, allocations: 129.2 kB / 385.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1537, allocations: 0.657 MB / 386.2 MB, free: 3.504 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.1544, allocations: 0.8059 MB / 387 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.847e-05/0.1545, allocations: 4.672 kB / 387 MB, free: 2.664 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.1545, allocations: 11.44 kB / 387 MB, free: 2.652 MB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1545, allocations: 0 / 387 MB, free: 2.652 MB / 318.1 MB Notification: Performance of Templates: time 0.01056/0.1651, allocations: 4.668 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)