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.001288/0.001288, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001216/0.001216, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.641/1.641, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.001246/0.001247, allocations: 47.92 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1482, allocations: 46.64 MB / 326 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003647/0.1519, allocations: 1.546 MB / 327.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.1542, allocations: 0.9138 MB / 328.4 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.1543, allocations: 0 / 328.4 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.1545, allocations: 7.922 kB / 328.4 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.1546, allocations: 15.91 kB / 328.4 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.1549, allocations: 39.91 kB / 328.5 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1551, allocations: 115.8 kB / 328.6 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1553, allocations: 16.22 kB / 328.6 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007066/0.156, allocations: 0.5615 MB / 329.2 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.1562, allocations: 67.64 kB / 329.2 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.257e-05/0.1562, allocations: 4 kB / 329.2 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-05/0.1563, allocations: 4 kB / 329.3 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1564, allocations: 63.77 kB / 329.3 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.1565, allocations: 115.1 kB / 329.4 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.157, allocations: 358.7 kB / 329.8 MB, free: 1.031 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.157, allocations: 0 / 329.8 MB, free: 1.031 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.157, allocations: 0 / 329.8 MB, free: 1.031 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.157, allocations: 0 / 329.8 MB, free: 1.031 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.001117/0.1582, allocations: 0.7269 MB / 330.5 MB, free: 236 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.633e-05/0.1582, allocations: 12.03 kB / 330.5 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.695e-05/0.1583, allocations: 32.56 kB / 330.5 MB, free: 192 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.1588, allocations: 278.3 kB / 330.8 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.1588, allocations: 4.375 kB / 330.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.1589, allocations: 12.38 kB / 330.8 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.1593, allocations: 129.9 kB / 331 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1593, allocations: 0 / 331 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.1593, allocations: 8 kB / 331 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1594, allocations: 4 kB / 331 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.1596, allocations: 55.97 kB / 331 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000999/0.1606, allocations: 464.4 kB / 331.5 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.1608, allocations: 90.55 kB / 331.6 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.161, allocations: 84.89 kB / 331.7 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.161, allocations: 4 kB / 331.7 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005231/0.1616, allocations: 214.7 kB / 331.9 MB, free: 14.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1616, allocations: 0 / 331.9 MB, free: 14.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000976/0.1626, allocations: 479.9 kB / 332.3 MB, free: 14.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.1627, allocations: 174.1 kB / 332.5 MB, free: 14.03 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007553/0.1635, allocations: 0.5052 MB / 333 MB, free: 13.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.1635, allocations: 33.7 kB / 333 MB, free: 13.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.993e-05/0.1637, allocations: 97.05 kB / 333.1 MB, free: 13.38 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.1637, allocations: 35.58 kB / 333.2 MB, free: 13.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.1639, allocations: 81.42 kB / 333.3 MB, free: 13.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.164, allocations: 326.8 kB / 333.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1642, allocations: 59.97 kB / 333.6 MB, free: 12.87 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1644, allocations: 77.67 kB / 333.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.1647, allocations: 347.6 kB / 334 MB, free: 12.39 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1648, allocations: 0 / 334 MB, free: 12.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006449/0.1654, allocations: 384.3 kB / 334.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.1656, allocations: 126.8 kB / 334.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.1656, allocations: 8.172 kB / 334.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.1656, allocations: 7.969 kB / 334.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-05/0.1657, allocations: 0 / 334.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.1657, allocations: 7.922 kB / 334.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.1659, allocations: 19.89 kB / 334.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-05/0.166, allocations: 55.94 kB / 334.6 MB, free: 11.74 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.0004342/0.1664, allocations: 362.8 kB / 335 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.1665, allocations: 35.62 kB / 335 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.1666, allocations: 63.16 kB / 335.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1666, allocations: 8 kB / 335.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.078e-06/0.1666, allocations: 0 / 335.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1666, allocations: 3.984 kB / 335.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.1678, allocations: 0.8134 MB / 335.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.1679, allocations: 7.922 kB / 335.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-06/0.1679, allocations: 4 kB / 335.9 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1679, allocations: 0 / 335.9 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.1679, allocations: 8 kB / 335.9 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1679, allocations: 4 kB / 335.9 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1679, allocations: 3.938 kB / 335.9 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006914/0.1686, allocations: 0.533 MB / 336.5 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.169, allocations: 240.5 kB / 336.7 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.169, allocations: 12 kB / 336.7 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.1692, allocations: 15.92 kB / 336.7 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.1693, allocations: 31.91 kB / 336.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.286e-05/0.1694, allocations: 55.94 kB / 336.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000532/0.17, allocations: 390.9 kB / 337.2 MB, free: 8.996 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.17, allocations: 4 kB / 337.2 MB, free: 8.992 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000373/0.1703, allocations: 47.91 kB / 337.3 MB, free: 8.945 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.0001768/0.1705, allocations: 117.6 kB / 337.4 MB, free: 8.82 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006122/0.1712, allocations: 441.6 kB / 337.8 MB, free: 8.34 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1712, allocations: 0 / 337.8 MB, free: 8.34 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.1716, allocations: 381.7 kB / 338.2 MB, free: 7.918 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/0.1722, allocations: 109.5 kB / 338.3 MB, free: 7.809 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1736, allocations: 0.7609 MB / 339 MB, free: 7.023 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/0.1744, allocations: 0.7986 MB / 339.8 MB, free: 6.199 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.817e-05/0.1745, allocations: 8.656 kB / 339.9 MB, free: 6.191 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.1745, allocations: 11.44 kB / 339.9 MB, free: 6.18 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1745, allocations: 0 / 339.9 MB, free: 6.18 MB / 286.1 MB Notification: Performance of Templates: time 0.009436/0.1839, allocations: 4.395 MB / 344.3 MB, free: 1.695 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)