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.0009156/0.0009156, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.233/1.233, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001588/0.001588, allocations: 109.2 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.502e-05/1.503e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07947/0.0795, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2969/0.3765, allocations: 76.36 MB / 418.9 MB, free: 19.43 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.3767, allocations: 73.86 kB / 419 MB, free: 19.39 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02652/0.4032, allocations: 16.39 MB / 435.4 MB, free: 6.254 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4033, allocations: 0 / 435.4 MB, free: 6.254 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.4033, allocations: 4 kB / 435.4 MB, free: 6.25 MB / 315.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.0005031/0.4038, allocations: 0.6107 MB / 436 MB, free: 5.59 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4038, allocations: 11.97 kB / 436 MB, free: 5.578 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.4039, allocations: 39.58 kB / 436.1 MB, free: 5.539 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.4042, allocations: 255 kB / 436.3 MB, free: 5.258 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.4042, allocations: 7.562 kB / 436.3 MB, free: 5.254 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.4042, allocations: 11.94 kB / 436.3 MB, free: 5.242 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001167/0.4043, allocations: 51.55 kB / 436.4 MB, free: 5.207 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.4045, allocations: 115.9 kB / 436.5 MB, free: 5.105 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.4045, allocations: 3.938 kB / 436.5 MB, free: 5.102 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.4046, allocations: 4 kB / 436.5 MB, free: 5.098 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4046, allocations: 0 / 436.5 MB, free: 5.098 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.4051, allocations: 439.7 kB / 436.9 MB, free: 4.688 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.4052, allocations: 87.56 kB / 437 MB, free: 4.621 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.4053, allocations: 74.48 kB / 437.1 MB, free: 4.574 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.4054, allocations: 3.938 kB / 437.1 MB, free: 4.57 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.4056, allocations: 208.3 kB / 437.3 MB, free: 4.367 MB / 315.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.4056, allocations: 5.031 kB / 437.3 MB, free: 4.363 MB / 315.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004164/0.406, allocations: 267.2 kB / 437.6 MB, free: 4.141 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.406, allocations: 165.8 kB / 437.7 MB, free: 3.945 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.4065, allocations: 450.9 kB / 438.2 MB, free: 3.57 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.4065, allocations: 33.69 kB / 438.2 MB, free: 3.531 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.4065, allocations: 94.08 kB / 438.3 MB, free: 3.445 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.4066, allocations: 36.02 kB / 438.3 MB, free: 3.414 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.4066, allocations: 11.56 kB / 438.3 MB, free: 3.406 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.4067, allocations: 318.5 kB / 438.6 MB, free: 3.09 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.4067, allocations: 48.75 kB / 438.7 MB, free: 3.059 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.4068, allocations: 50.55 kB / 438.7 MB, free: 3.027 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.391e-05/0.4069, allocations: 48.94 kB / 438.8 MB, free: 2.996 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4069, allocations: 0 / 438.8 MB, free: 2.996 MB / 315.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003357/0.4073, allocations: 249.2 kB / 439 MB, free: 2.797 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.4073, allocations: 123.7 kB / 439.2 MB, free: 2.656 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4073, allocations: 3.938 kB / 439.2 MB, free: 2.652 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4074, allocations: 4 kB / 439.2 MB, free: 2.648 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-05/0.4074, allocations: 0 / 439.2 MB, free: 2.648 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4074, allocations: 3.953 kB / 439.2 MB, free: 2.645 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.4075, allocations: 16.09 kB / 439.2 MB, free: 2.629 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.4076, allocations: 59.88 kB / 439.2 MB, free: 2.57 MB / 315.1 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.0001138/0.4077, allocations: 247.8 kB / 439.5 MB, free: 2.305 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.4077, allocations: 31.62 kB / 439.5 MB, free: 2.273 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.546e-05/0.4078, allocations: 63.19 kB / 439.6 MB, free: 2.215 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.4078, allocations: 4 kB / 439.6 MB, free: 2.211 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4078, allocations: 0 / 439.6 MB, free: 2.211 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4079, allocations: 3.953 kB / 439.6 MB, free: 2.207 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.4084, allocations: 0.6512 MB / 440.2 MB, free: 1.609 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4085, allocations: 0 / 440.2 MB, free: 1.609 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-06/0.4085, allocations: 0 / 440.2 MB, free: 1.609 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.4085, allocations: 0 / 440.2 MB, free: 1.609 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.4085, allocations: 15.98 kB / 440.3 MB, free: 1.594 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4085, allocations: 0.75 kB / 440.3 MB, free: 1.594 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4085, allocations: 0 / 440.3 MB, free: 1.594 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.4089, allocations: 399.8 kB / 440.6 MB, free: 1.242 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.4092, allocations: 247.3 kB / 440.9 MB, free: 1.023 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/0.4092, allocations: 11.75 kB / 440.9 MB, free: 1.016 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.4094, allocations: 15.98 kB / 440.9 MB, free: 1 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.4096, allocations: 26.97 kB / 440.9 MB, free: 0.9805 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.4096, allocations: 63.42 kB / 441 MB, free: 0.9219 MB / 315.1 MB Notification: Performance of sorting global known variables: time 0.0003364/0.41, allocations: 381.8 kB / 441.4 MB, free: 0.6094 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.41, allocations: 4 kB / 441.4 MB, free: 0.6055 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.4102, allocations: 43.44 kB / 441.4 MB, free: 0.5664 MB / 315.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,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.0001119/0.4104, allocations: 110.6 kB / 441.5 MB, free: 460 kB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0003091/0.4107, allocations: 411.8 kB / 441.9 MB, free: 88 kB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4107, allocations: 4 kB / 441.9 MB, free: 84 kB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.411, allocations: 361.5 kB / 442.3 MB, free: 15.76 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.4115, allocations: 100.8 kB / 442.4 MB, free: 15.68 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008828/0.4124, allocations: 0.5208 MB / 442.9 MB, free: 15.19 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.4128, allocations: 0.8087 MB / 443.7 MB, free: 14.37 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 5.146e-05/0.4129, allocations: 4.672 kB / 443.7 MB, free: 14.36 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.4129, allocations: 11.44 kB / 443.7 MB, free: 14.35 MB / 331.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4129, allocations: 0 / 443.7 MB, free: 14.35 MB / 331.1 MB Notification: Performance of Templates: time 0.007084/0.42, allocations: 3.901 MB / 447.6 MB, free: 10.39 MB / 331.1 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)