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.001482/0.001482, allocations: 106.3 kB / 16.92 MB, free: 5.762 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.001688/0.001688, allocations: 187.3 kB / 17.85 MB, free: 5.176 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.948/1.948, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001815/0.001815, allocations: 63.84 kB / 280 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1426, allocations: 46.62 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00333/0.146, allocations: 1.499 MB / 328.1 MB, free: 2.969 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.1483, allocations: 0.8974 MB / 329 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.1484, allocations: 0 / 329 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.1486, allocations: 11.88 kB / 329 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.673e-05/0.1487, allocations: 19.84 kB / 329 MB, free: 2.031 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.149, allocations: 43.89 kB / 329.1 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.1493, allocations: 143.7 kB / 329.2 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1494, allocations: 16.23 kB / 329.2 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006692/0.1501, allocations: 0.5615 MB / 329.8 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1503, allocations: 79.58 kB / 329.9 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.1503, allocations: 8 kB / 329.9 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.664e-05/0.1504, allocations: 12 kB / 329.9 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1505, allocations: 63.75 kB / 330 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.1507, allocations: 115.1 kB / 330.1 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.1511, allocations: 366.8 kB / 330.4 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1511, allocations: 3.938 kB / 330.4 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1511, allocations: 0 / 330.4 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.1511, allocations: 0 / 330.4 MB, free: 0.6289 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.0009119/0.152, allocations: 0.7269 MB / 331.2 MB, free: 15.83 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.1521, allocations: 8.031 kB / 331.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.043e-05/0.1522, allocations: 32.56 kB / 331.2 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.1526, allocations: 274.3 kB / 331.5 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.1526, allocations: 12.36 kB / 331.5 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.1527, allocations: 4.375 kB / 331.5 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.153, allocations: 137.9 kB / 331.6 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1531, allocations: 0 / 331.6 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.1531, allocations: 8 kB / 331.6 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1531, allocations: 4 kB / 331.6 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.1533, allocations: 59.97 kB / 331.7 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006859/0.154, allocations: 460.4 kB / 332.1 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1542, allocations: 94.55 kB / 332.2 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.1543, allocations: 84.89 kB / 332.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.1543, allocations: 4 kB / 332.3 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/0.1548, allocations: 210.6 kB / 332.5 MB, free: 14.33 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.1548, allocations: 0 / 332.5 MB, free: 14.33 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008094/0.1556, allocations: 471.9 kB / 333 MB, free: 13.84 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1557, allocations: 170.2 kB / 333.2 MB, free: 13.64 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.1563, allocations: 0.513 MB / 333.7 MB, free: 13.12 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.1564, allocations: 29.7 kB / 333.7 MB, free: 13.08 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.1565, allocations: 105 kB / 333.8 MB, free: 12.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.1565, allocations: 31.58 kB / 333.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.1567, allocations: 89.41 kB / 333.9 MB, free: 12.85 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1568, allocations: 326.8 kB / 334.2 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1569, allocations: 55.97 kB / 334.3 MB, free: 12.47 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1571, allocations: 69.69 kB / 334.4 MB, free: 12.39 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.1574, allocations: 351.9 kB / 334.7 MB, free: 12 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1574, allocations: 3.938 kB / 334.7 MB, free: 11.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005624/0.158, allocations: 392.3 kB / 335.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.1581, allocations: 122.8 kB / 335.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1581, allocations: 0 / 335.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1582, allocations: 0 / 335.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.773e-05/0.1582, allocations: 7.922 kB / 335.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1582, allocations: 4.078 kB / 335.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.1584, allocations: 8 kB / 335.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-05/0.1584, allocations: 63.95 kB / 335.3 MB, free: 11.35 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.0003691/0.1588, allocations: 366.6 kB / 335.7 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.1589, allocations: 39.52 kB / 335.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.159, allocations: 67.16 kB / 335.8 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.159, allocations: 0 / 335.8 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.159, allocations: 0 / 335.8 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.159, allocations: 3.984 kB / 335.8 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.1601, allocations: 0.8212 MB / 336.6 MB, free: 9.945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1601, allocations: 4 kB / 336.6 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-06/0.1601, allocations: 0 / 336.6 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1601, allocations: 0 / 336.6 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.1601, allocations: 15.98 kB / 336.6 MB, free: 9.926 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1601, allocations: 3.938 kB / 336.6 MB, free: 9.922 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1602, allocations: 4.125 kB / 336.6 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.1608, allocations: 0.537 MB / 337.1 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.1611, allocations: 240.5 kB / 337.4 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.1612, allocations: 16 kB / 337.4 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1613, allocations: 8 kB / 337.4 MB, free: 9.062 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.1614, allocations: 31.91 kB / 337.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/0.1615, allocations: 63.92 kB / 337.5 MB, free: 8.969 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004594/0.162, allocations: 386.9 kB / 337.9 MB, free: 8.59 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.162, allocations: 0 / 337.9 MB, free: 8.59 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1623, allocations: 43.94 kB / 337.9 MB, free: 8.547 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.0001651/0.1624, allocations: 113.6 kB / 338 MB, free: 8.426 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007416/0.1632, allocations: 445.5 kB / 338.5 MB, free: 7.941 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1632, allocations: 0 / 338.5 MB, free: 7.941 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.1636, allocations: 377.6 kB / 338.8 MB, free: 7.523 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006853/0.1643, allocations: 116.7 kB / 338.9 MB, free: 7.41 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.1655, allocations: 0.6654 MB / 339.6 MB, free: 6.719 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.1659, allocations: 0.7982 MB / 340.4 MB, free: 5.891 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.972e-05/0.166, allocations: 12.64 kB / 340.4 MB, free: 5.879 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.166, allocations: 15.44 kB / 340.4 MB, free: 5.863 MB / 286.1 MB Notification: Performance of SimCode: time 3.9e-07/0.166, allocations: 0 / 340.4 MB, free: 5.863 MB / 286.1 MB Notification: Performance of Templates: time 0.008841/0.1748, allocations: 4.664 MB / 345.1 MB, free: 1.105 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)