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.001526/0.001526, 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.436/1.436, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001719/0.001719, allocations: 132.6 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.817e-05, allocations: 0 / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08805/0.0881, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3856/0.4737, allocations: 77.03 MB / 426.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.474, allocations: 71.09 kB / 426.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02651/0.5005, allocations: 16.51 MB / 443 MB, free: 3.961 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5006, allocations: 0 / 443 MB, free: 3.961 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.557e-06/0.5006, allocations: 4 kB / 443.1 MB, free: 3.957 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.0004422/0.501, allocations: 0.6056 MB / 443.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.5011, allocations: 8.031 kB / 443.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.5011, allocations: 50.7 kB / 443.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.5014, allocations: 248 kB / 444 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.5014, allocations: 4 kB / 444 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.5015, allocations: 11.98 kB / 444 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.5017, allocations: 128.7 kB / 444.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.5017, allocations: 0 / 444.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.5017, allocations: 4 kB / 444.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.5017, allocations: 0 / 444.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.5018, allocations: 56.42 kB / 444.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.5024, allocations: 468 kB / 444.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.5026, allocations: 93.06 kB / 444.7 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.992e-05/0.5027, allocations: 80.84 kB / 444.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.5027, allocations: 0 / 444.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.5029, allocations: 212.1 kB / 445 MB, free: 2.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.5029, allocations: 4 kB / 445 MB, free: 2.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004847/0.5034, allocations: 395.1 kB / 445.4 MB, free: 1.664 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.5035, allocations: 169.5 kB / 445.5 MB, free: 1.465 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.5039, allocations: 463.6 kB / 446 MB, free: 1.074 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.504, allocations: 33.27 kB / 446 MB, free: 1.039 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.504, allocations: 100.1 kB / 446.1 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.504, allocations: 42.38 kB / 446.2 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.5041, allocations: 0 / 446.2 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.5041, allocations: 322.5 kB / 446.5 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.5042, allocations: 58.17 kB / 446.5 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.5043, allocations: 58.3 kB / 446.6 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.5044, allocations: 162.9 kB / 446.8 MB, free: 356 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5044, allocations: 0 / 446.8 MB, free: 356 kB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003586/0.5048, allocations: 375 kB / 447.1 MB, free: 4 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.5049, allocations: 130.1 kB / 447.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.5049, allocations: 80 / 447.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.505, allocations: 7.953 kB / 447.3 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.74e-05/0.505, allocations: 0 / 447.3 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.505, allocations: 3.984 kB / 447.3 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.5051, allocations: 12 kB / 447.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.768e-05/0.5052, allocations: 59.92 kB / 447.3 MB, free: 15.78 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,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.y,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 () * 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.0001604/0.5054, allocations: 237.3 kB / 447.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.5054, allocations: 39.61 kB / 447.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.894e-05/0.5055, allocations: 62.53 kB / 447.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5055, allocations: 8 kB / 447.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5055, allocations: 3.953 kB / 447.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.5055, allocations: 0 / 447.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008384/0.5064, allocations: 0.8044 MB / 448.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5064, allocations: 0 / 448.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-06/0.5064, allocations: 0 / 448.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5064, allocations: 0 / 448.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.5065, allocations: 19.94 kB / 448.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5065, allocations: 0 / 448.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5065, allocations: 4 kB / 448.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.507, allocations: 0.5114 MB / 449 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.5073, allocations: 251.7 kB / 449.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.5074, allocations: 11.19 kB / 449.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.5075, allocations: 15.94 kB / 449.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.5076, allocations: 26.03 kB / 449.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/0.5077, allocations: 63.25 kB / 449.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004242/0.5081, allocations: 391.3 kB / 449.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5081, allocations: 0 / 449.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.5084, allocations: 43.25 kB / 449.8 MB, free: 13.45 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,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) * 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.0001568/0.5086, allocations: 115.9 kB / 449.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000456/0.509, allocations: 430.2 kB / 450.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5091, allocations: 0 / 450.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.5093, allocations: 374.8 kB / 450.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.5098, allocations: 100.7 kB / 450.8 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000825/0.5106, allocations: 0.5259 MB / 451.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.511, allocations: 0.8111 MB / 452.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.746e-05/0.5111, allocations: 8.609 kB / 452.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.5111, allocations: 11.44 kB / 452.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5111, allocations: 0 / 452.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of Templates: time 0.006474/0.5176, allocations: 4.063 MB / 456.2 MB, free: 7.055 MB / 314.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)