Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001944/0.001944, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002507/0.002507, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.951/1.951, allocations: 205.1 MB / 222 MB, free: 4.762 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.001248/0.001248, allocations: 56.39 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3669, allocations: 46.63 MB / 324.7 MB, free: 2.145 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00451/0.3715, allocations: 1.559 MB / 326.2 MB, free: 0.9102 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.3741, allocations: 0.9076 MB / 327.1 MB, free: 232 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.3742, allocations: 1.156 kB / 327.1 MB, free: 232 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.3745, allocations: 8.891 kB / 327.2 MB, free: 224 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.3747, allocations: 15.73 kB / 327.2 MB, free: 212 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.3751, allocations: 39.25 kB / 327.2 MB, free: 180 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.3754, allocations: 110.1 kB / 327.3 MB, free: 116 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.3756, allocations: 29.61 kB / 327.3 MB, free: 92 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.3767, allocations: 0.5494 MB / 327.9 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.3769, allocations: 76.88 kB / 328 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/0.377, allocations: 3.625 kB / 328 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.835e-05/0.3771, allocations: 5.281 kB / 328 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.3773, allocations: 61.61 kB / 328 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.3775, allocations: 116.4 kB / 328.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006078/0.3781, allocations: 356.6 kB / 328.5 MB, free: 15.46 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.3781, allocations: 1 kB / 328.5 MB, free: 15.46 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3782, allocations: 0 / 328.5 MB, free: 15.46 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.3782, allocations: 0 / 328.5 MB, free: 15.46 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.001217/0.3794, allocations: 0.7184 MB / 329.2 MB, free: 14.76 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.884e-05/0.3795, allocations: 13.03 kB / 329.2 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.3796, allocations: 35.38 kB / 329.3 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.38, allocations: 274.5 kB / 329.5 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.3801, allocations: 4.25 kB / 329.5 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.3801, allocations: 16.19 kB / 329.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.3806, allocations: 137.9 kB / 329.7 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3806, allocations: 0 / 329.7 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.3807, allocations: 3.625 kB / 329.7 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.3807, allocations: 1.5 kB / 329.7 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.3809, allocations: 57.97 kB / 329.8 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000968/0.3819, allocations: 471.8 kB / 330.2 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.3821, allocations: 96.8 kB / 330.3 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.3824, allocations: 80.89 kB / 330.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3824, allocations: 0 / 330.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000575/0.383, allocations: 202.5 kB / 330.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.383, allocations: 5.5 kB / 330.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001348/0.3843, allocations: 485.2 kB / 331.1 MB, free: 13.36 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002091/0.3846, allocations: 164.1 kB / 331.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008965/0.3855, allocations: 0.5116 MB / 331.7 MB, free: 12.82 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.3855, allocations: 30.02 kB / 331.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.5e-05/0.3856, allocations: 101.5 kB / 331.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.3857, allocations: 35.03 kB / 331.9 MB, free: 12.67 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.3859, allocations: 87.05 kB / 332 MB, free: 12.61 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3861, allocations: 330 kB / 332.3 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.3862, allocations: 55.38 kB / 332.4 MB, free: 12.26 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.3864, allocations: 80.83 kB / 332.4 MB, free: 12.21 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.3868, allocations: 344.9 kB / 332.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3869, allocations: 0 / 332.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000678/0.3875, allocations: 384.8 kB / 333.1 MB, free: 11.42 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.3877, allocations: 126.8 kB / 333.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3878, allocations: 4.031 kB / 333.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3878, allocations: 4 kB / 333.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.79e-05/0.3878, allocations: 112 / 333.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3878, allocations: 3.938 kB / 333.3 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.388, allocations: 12 kB / 333.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.384e-05/0.3881, allocations: 59.92 kB / 333.4 MB, free: 11.19 MB / 270.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.0004998/0.3886, allocations: 374.8 kB / 333.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/0.3887, allocations: 39.53 kB / 333.8 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.3889, allocations: 67.16 kB / 333.8 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.3889, allocations: 0 / 333.8 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3889, allocations: 0 / 333.8 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3889, allocations: 4 kB / 333.8 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.3902, allocations: 0.8134 MB / 334.6 MB, free: 9.781 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3902, allocations: 0 / 334.6 MB, free: 9.781 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-06/0.3903, allocations: 0 / 334.6 MB, free: 9.781 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.3903, allocations: 4 kB / 334.6 MB, free: 9.777 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.3903, allocations: 15.98 kB / 334.7 MB, free: 9.762 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3903, allocations: 0 / 334.7 MB, free: 9.762 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.3903, allocations: 7.938 kB / 334.7 MB, free: 9.754 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.3912, allocations: 0.5446 MB / 335.2 MB, free: 9.168 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.3916, allocations: 240.5 kB / 335.4 MB, free: 8.914 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.3916, allocations: 12 kB / 335.5 MB, free: 8.902 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3918, allocations: 11.98 kB / 335.5 MB, free: 8.891 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.392, allocations: 19.92 kB / 335.5 MB, free: 8.871 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.653e-05/0.392, allocations: 63.92 kB / 335.6 MB, free: 8.809 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005341/0.3926, allocations: 390.9 kB / 335.9 MB, free: 8.43 MB / 270.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3926, allocations: 0 / 335.9 MB, free: 8.43 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003671/0.393, allocations: 44 kB / 336 MB, free: 8.387 MB / 270.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.0002819/0.3933, allocations: 117.7 kB / 336.1 MB, free: 8.262 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000882/0.3941, allocations: 441.5 kB / 336.5 MB, free: 7.781 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3942, allocations: 0 / 336.5 MB, free: 7.781 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.3946, allocations: 373.6 kB / 336.9 MB, free: 7.367 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.3954, allocations: 110 kB / 337 MB, free: 7.258 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.397, allocations: 0.7646 MB / 337.8 MB, free: 6.469 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.398, allocations: 0.8024 MB / 338.6 MB, free: 5.641 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.3982, allocations: 12.64 kB / 338.6 MB, free: 5.625 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.3982, allocations: 11.44 kB / 338.6 MB, free: 5.617 MB / 270.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3982, allocations: 3.938 kB / 338.6 MB, free: 5.613 MB / 270.1 MB Notification: Performance of Templates: time 0.01132/0.4095, allocations: 4.381 MB / 343 MB, free: 1.141 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1)