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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.0009746/0.0009747, allocations: 180.1 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.151/1.151, 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.001492/0.001492, allocations: 120.9 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07434/0.07465, allocations: 44.5 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.2902, allocations: 77.12 MB / 432.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.2904, allocations: 73.84 kB / 432.2 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02395/0.3144, allocations: 16.39 MB / 448.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3144, allocations: 3.938 kB / 448.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3144, allocations: 4 kB / 448.6 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.0005156/0.3149, allocations: 0.6766 MB / 449.3 MB, free: 13.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.315, allocations: 12.03 kB / 449.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.315, allocations: 39.58 kB / 449.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.3153, allocations: 253.4 kB / 449.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.3153, allocations: 4 kB / 449.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.3154, allocations: 8 kB / 449.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.3156, allocations: 129.6 kB / 449.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.3156, allocations: 0 / 449.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.3157, allocations: 11.98 kB / 449.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.3157, allocations: 0 / 449.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.3158, allocations: 59.97 kB / 449.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.3164, allocations: 460.5 kB / 450.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.3165, allocations: 98.53 kB / 450.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.3166, allocations: 112 / 450.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.3168, allocations: 218.6 kB / 450.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.3168, allocations: 3.984 kB / 450.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.000723/0.3175, allocations: 0.6077 MB / 451.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.3176, allocations: 166.2 kB / 451.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.3181, allocations: 468.4 kB / 451.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.3182, allocations: 29.7 kB / 451.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.3182, allocations: 97.14 kB / 451.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.3183, allocations: 35.62 kB / 452 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.3183, allocations: 8 kB / 452 MB, free: 11.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.3184, allocations: 318.8 kB / 452.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.3185, allocations: 59.97 kB / 452.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3186, allocations: 69.69 kB / 452.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3188, allocations: 166.8 kB / 452.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3188, allocations: 3.984 kB / 452.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004514/0.3192, allocations: 374.4 kB / 453 MB, free: 10.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.846e-05/0.3193, allocations: 134.8 kB / 453.1 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3193, allocations: 0 / 453.1 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.3193, allocations: 0 / 453.1 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.704e-05/0.3194, allocations: 3.953 kB / 453.1 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3194, allocations: 4 kB / 453.1 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.3195, allocations: 11.98 kB / 453.1 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.3196, allocations: 55.94 kB / 453.2 MB, free: 9.797 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.nRXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,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: 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.000288/0.3199, allocations: 362.8 kB / 453.5 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.3199, allocations: 39.62 kB / 453.6 MB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.915e-05/0.32, allocations: 67.14 kB / 453.6 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.32, allocations: 0 / 453.6 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.32, allocations: 3.953 kB / 453.6 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.32, allocations: 0 / 453.6 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008349/0.3209, allocations: 0.7978 MB / 454.4 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3209, allocations: 0 / 454.4 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-06/0.3209, allocations: 0 / 454.4 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3209, allocations: 0 / 454.4 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.3209, allocations: 23.92 kB / 454.4 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3209, allocations: 3.953 kB / 454.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.3209, allocations: 0 / 454.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.3215, allocations: 0.5256 MB / 455 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.3218, allocations: 252.4 kB / 455.2 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.3219, allocations: 8 kB / 455.2 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.322, allocations: 16.89 kB / 455.2 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.3221, allocations: 35.92 kB / 455.3 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.3222, allocations: 59.94 kB / 455.3 MB, free: 7.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004084/0.3226, allocations: 390.8 kB / 455.7 MB, free: 7.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3226, allocations: 0 / 455.7 MB, free: 7.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.3229, allocations: 40 kB / 455.8 MB, free: 7.027 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,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 (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.0001242/0.323, allocations: 109.9 kB / 455.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004689/0.3235, allocations: 446.6 kB / 456.3 MB, free: 6.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3235, allocations: 0 / 456.3 MB, free: 6.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.3238, allocations: 373.6 kB / 456.7 MB, free: 6.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.3242, allocations: 94.33 kB / 456.8 MB, free: 5.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009547/0.3252, allocations: 0.7333 MB / 457.5 MB, free: 5.156 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.3256, allocations: 0.8063 MB / 458.3 MB, free: 4.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.742e-05/0.3256, allocations: 14.39 kB / 458.3 MB, free: 4.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.3257, allocations: 15.38 kB / 458.3 MB, free: 4.293 MB / 330.7 MB Notification: Performance of SimCode: time 2e-07/0.3257, allocations: 0 / 458.3 MB, free: 4.293 MB / 330.7 MB Notification: Performance of Templates: time 0.005946/0.3316, allocations: 4.048 MB / 462.4 MB, free: 200 kB / 330.7 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)