Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001066/0.001066, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.194/1.194, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001643/0.001643, allocations: 107.4 kB / 256.9 MB, free: 4.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003016, allocations: 15.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08104/0.08135, allocations: 44.5 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.3086, allocations: 77.11 MB / 432.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.3088, allocations: 74.73 kB / 432.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02573/0.3346, allocations: 16.4 MB / 448.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3346, allocations: 7.938 kB / 448.7 MB, free: 14.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3346, allocations: 4 kB / 448.7 MB, free: 14.74 MB / 330.7 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.0005899/0.3352, allocations: 0.6727 MB / 449.3 MB, free: 13.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.3353, allocations: 8.031 kB / 449.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.3353, allocations: 39.58 kB / 449.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.3356, allocations: 257.4 kB / 449.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.3356, allocations: 8 kB / 449.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.3357, allocations: 8 kB / 449.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.3359, allocations: 125.6 kB / 449.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.3359, allocations: 4 kB / 449.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.336, allocations: 4 kB / 449.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.336, allocations: 0 / 449.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3361, allocations: 55.97 kB / 449.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/0.3367, allocations: 464.5 kB / 450.3 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.3369, allocations: 102.5 kB / 450.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.3369, allocations: 112 / 450.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.3372, allocations: 218.6 kB / 450.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.3372, allocations: 0 / 450.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.000796/0.338, allocations: 0.6077 MB / 451.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.3381, allocations: 166.2 kB / 451.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.3387, allocations: 472.4 kB / 451.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.3387, allocations: 29.7 kB / 451.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.3387, allocations: 97.12 kB / 452 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.3388, allocations: 27.66 kB / 452 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.3388, allocations: 8 kB / 452 MB, free: 11.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3389, allocations: 322.8 kB / 452.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.339, allocations: 55.97 kB / 452.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.3392, allocations: 69.69 kB / 452.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.3393, allocations: 174.8 kB / 452.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3393, allocations: 0 / 452.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004869/0.3398, allocations: 376.2 kB / 453 MB, free: 10.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.761e-05/0.3399, allocations: 125 kB / 453.1 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3399, allocations: 0 / 453.1 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3399, allocations: 0 / 453.1 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.97e-05/0.34, allocations: 7.953 kB / 453.1 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.34, allocations: 0 / 453.1 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.3401, allocations: 15.98 kB / 453.1 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/0.3402, allocations: 59.97 kB / 453.2 MB, free: 9.805 MB / 330.7 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.nXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002978/0.3405, allocations: 362.8 kB / 453.5 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.3406, allocations: 35.62 kB / 453.6 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-05/0.3406, allocations: 67.12 kB / 453.6 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3407, allocations: 0 / 453.6 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3407, allocations: 3.953 kB / 453.6 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3407, allocations: 4 kB / 453.6 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008421/0.3415, allocations: 0.7939 MB / 454.4 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3415, allocations: 4 kB / 454.4 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-06/0.3415, allocations: 0 / 454.4 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3416, allocations: 0 / 454.4 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.3416, allocations: 23.92 kB / 454.4 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.3416, allocations: 3.953 kB / 454.5 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3416, allocations: 0 / 454.5 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005619/0.3422, allocations: 0.5219 MB / 455 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.3425, allocations: 252.4 kB / 455.2 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.3425, allocations: 19.98 kB / 455.2 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.3427, allocations: 12.66 kB / 455.3 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-05/0.3428, allocations: 27.92 kB / 455.3 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.3429, allocations: 63.92 kB / 455.3 MB, free: 7.453 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003892/0.3433, allocations: 386.9 kB / 455.7 MB, free: 7.078 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3433, allocations: 0 / 455.7 MB, free: 7.078 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.3435, allocations: 40 kB / 455.8 MB, free: 7.039 MB / 330.7 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001127/0.3436, allocations: 119 kB / 455.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.3441, allocations: 438.9 kB / 456.3 MB, free: 6.438 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3441, allocations: 0 / 456.3 MB, free: 6.438 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.3444, allocations: 373.6 kB / 456.7 MB, free: 6.023 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.3448, allocations: 95.11 kB / 456.8 MB, free: 5.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009314/0.3458, allocations: 0.7372 MB / 457.5 MB, free: 5.164 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.3461, allocations: 0.8102 MB / 458.3 MB, free: 4.324 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.477e-05/0.3462, allocations: 12.61 kB / 458.3 MB, free: 4.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.3462, allocations: 7.438 kB / 458.3 MB, free: 4.305 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3462, allocations: 0 / 458.3 MB, free: 4.305 MB / 330.7 MB Notification: Performance of Templates: time 0.005761/0.352, allocations: 4.053 MB / 462.4 MB, free: 200 kB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1)