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.0009872/0.0009875, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.602/1.602, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001711/0.001711, allocations: 120.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.217e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.4818, allocations: 77.04 MB / 426.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.482, allocations: 70.66 kB / 426.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02704/0.5091, allocations: 16.51 MB / 443 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5091, allocations: 0 / 443 MB, free: 3.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.5092, allocations: 4 kB / 443.1 MB, free: 3.984 MB / 298.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.0005638/0.5097, allocations: 0.6066 MB / 443.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5098, allocations: 12.03 kB / 443.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.5099, allocations: 35.58 kB / 443.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.5101, allocations: 260.4 kB / 444 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.5101, allocations: 11.25 kB / 444 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.5102, allocations: 8 kB / 444 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.5104, allocations: 122.1 kB / 444.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5104, allocations: 0 / 444.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.5104, allocations: 4 kB / 444.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.5105, allocations: 3.984 kB / 444.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.5106, allocations: 58.05 kB / 444.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.5111, allocations: 464.3 kB / 444.6 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.5113, allocations: 87.25 kB / 444.7 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.5114, allocations: 84.78 kB / 444.8 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.5114, allocations: 0 / 444.8 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.5117, allocations: 207.8 kB / 445 MB, free: 2.066 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.5117, allocations: 0 / 445 MB, free: 2.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000535/0.5122, allocations: 396.8 kB / 445.4 MB, free: 1.699 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.5123, allocations: 168.8 kB / 445.5 MB, free: 1.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/0.5128, allocations: 468.9 kB / 446 MB, free: 1.105 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.5128, allocations: 32.95 kB / 446 MB, free: 1.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.5129, allocations: 103.7 kB / 446.1 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.5129, allocations: 30.08 kB / 446.2 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.513, allocations: 7.938 kB / 446.2 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.565e-05/0.513, allocations: 325.5 kB / 446.5 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.687e-05/0.5131, allocations: 56.86 kB / 446.5 MB, free: 0.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.745e-05/0.5132, allocations: 60.67 kB / 446.6 MB, free: 0.543 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.5134, allocations: 162 kB / 446.8 MB, free: 388 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5134, allocations: 0 / 446.8 MB, free: 388 kB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004107/0.5138, allocations: 374.1 kB / 447.1 MB, free: 36 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.5139, allocations: 126.7 kB / 447.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5139, allocations: 0 / 447.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5139, allocations: 3.953 kB / 447.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.087e-05/0.514, allocations: 8 kB / 447.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.514, allocations: 0 / 447.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.5141, allocations: 15.55 kB / 447.3 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.5142, allocations: 59.88 kB / 447.3 MB, free: 15.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.y,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 () * 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.000186/0.5144, allocations: 239.6 kB / 447.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.5144, allocations: 35.62 kB / 447.6 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.5145, allocations: 62.44 kB / 447.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5146, allocations: 0 / 447.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.5146, allocations: 12.02 kB / 447.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5146, allocations: 4 kB / 447.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009587/0.5155, allocations: 0.8053 MB / 448.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5156, allocations: 0 / 448.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-06/0.5156, allocations: 0 / 448.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5156, allocations: 0 / 448.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.5156, allocations: 19.94 kB / 448.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5156, allocations: 0 / 448.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5156, allocations: 0 / 448.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.5163, allocations: 0.5137 MB / 449 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.5166, allocations: 256.9 kB / 449.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.5167, allocations: 7.688 kB / 449.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.5168, allocations: 19.94 kB / 449.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.5169, allocations: 22.53 kB / 449.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.008e-05/0.517, allocations: 63.38 kB / 449.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004865/0.5175, allocations: 387 kB / 449.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5175, allocations: 4 kB / 449.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.5178, allocations: 43.25 kB / 449.8 MB, free: 13.48 MB / 314.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) * 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.0001545/0.5179, allocations: 112.7 kB / 449.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004895/0.5184, allocations: 425.1 kB / 450.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5184, allocations: 0 / 450.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.5187, allocations: 381.1 kB / 450.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.5192, allocations: 95.3 kB / 450.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.5202, allocations: 0.5324 MB / 451.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.5207, allocations: 0.8094 MB / 452.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.734e-05/0.5208, allocations: 4.672 kB / 452.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.5208, allocations: 11.44 kB / 452.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5208, allocations: 0 / 452.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of Templates: time 0.007021/0.5278, allocations: 4.073 MB / 456.2 MB, free: 7.07 MB / 314.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)