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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.0009606/0.0009606, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.312/1.312, allocations: 170.7 MB / 178.7 MB, free: 7.039 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001701/0.001701, allocations: 106.5 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.391e-05/1.393e-05, allocations: 4 kB / 262.2 MB, free: 3.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1986, allocations: 38.75 MB / 301 MB, free: 39.09 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07722/0.2759, allocations: 71.05 MB / 372 MB, free: 8.582 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.2761, allocations: 70.36 kB / 372.1 MB, free: 8.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03125/0.3074, allocations: 16.39 MB / 388.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3074, allocations: 1.219 kB / 388.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3075, allocations: 4 kB / 388.5 MB, free: 8.285 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.0006484/0.3081, allocations: 0.6097 MB / 389.1 MB, free: 7.605 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3082, allocations: 8.031 kB / 389.1 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.3082, allocations: 43.52 kB / 389.1 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.3086, allocations: 263.5 kB / 389.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3086, allocations: 4 kB / 389.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.3086, allocations: 12 kB / 389.4 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001392/0.3088, allocations: 47.98 kB / 389.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.309, allocations: 117.6 kB / 389.6 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.309, allocations: 0 / 389.6 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.309, allocations: 7.984 kB / 389.6 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3091, allocations: 4 kB / 389.6 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.3097, allocations: 443 kB / 390 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.3099, allocations: 82.56 kB / 390.1 MB, free: 6.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.31, allocations: 80.89 kB / 390.2 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.31, allocations: 0 / 390.2 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.3103, allocations: 206.5 kB / 390.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.3103, allocations: 0 / 390.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000476/0.3108, allocations: 265.2 kB / 390.6 MB, free: 5.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/0.3109, allocations: 170.2 kB / 390.8 MB, free: 5.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/0.3114, allocations: 444.9 kB / 391.2 MB, free: 5.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.3114, allocations: 29.7 kB / 391.3 MB, free: 5.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.3115, allocations: 101.4 kB / 391.4 MB, free: 5.145 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.3116, allocations: 35.58 kB / 391.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.3116, allocations: 4.109 kB / 391.4 MB, free: 5.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3117, allocations: 330.7 kB / 391.7 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.732e-05/0.3118, allocations: 55.98 kB / 391.8 MB, free: 4.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.3119, allocations: 51.98 kB / 391.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.224e-05/0.312, allocations: 39.98 kB / 391.9 MB, free: 4.629 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.312, allocations: 0 / 391.9 MB, free: 4.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003716/0.3124, allocations: 241.5 kB / 392.1 MB, free: 4.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.113e-05/0.3125, allocations: 120 kB / 392.2 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3125, allocations: 1.781 kB / 392.2 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3125, allocations: 4 kB / 392.2 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.213e-05/0.3125, allocations: 7.938 kB / 392.2 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.3125, allocations: 0 / 392.2 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.3127, allocations: 15.89 kB / 392.3 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/0.3128, allocations: 55.94 kB / 392.3 MB, free: 4.164 MB / 298.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.0001725/0.313, allocations: 246 kB / 392.6 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.313, allocations: 35.62 kB / 392.6 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.3131, allocations: 67.42 kB / 392.7 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3131, allocations: 4 kB / 392.7 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3131, allocations: 4 kB / 392.7 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3132, allocations: 3.984 kB / 392.7 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007444/0.3139, allocations: 0.6395 MB / 393.3 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3139, allocations: 4 kB / 393.3 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-06/0.3139, allocations: 0 / 393.3 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3139, allocations: 0 / 393.3 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.314, allocations: 20.11 kB / 393.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.314, allocations: 4 kB / 393.3 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.314, allocations: 0 / 393.3 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.3144, allocations: 400.2 kB / 393.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.3148, allocations: 244.4 kB / 394 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.3148, allocations: 12 kB / 394 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.315, allocations: 11.98 kB / 394 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3151, allocations: 23.97 kB / 394 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.3152, allocations: 59.94 kB / 394.1 MB, free: 2.297 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004189/0.3156, allocations: 370.7 kB / 394.4 MB, free: 1.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3156, allocations: 11.94 kB / 394.4 MB, free: 1.926 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002727/0.3159, allocations: 40 kB / 394.5 MB, free: 1.887 MB / 298.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.0001555/0.3161, allocations: 117.8 kB / 394.6 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000424/0.3165, allocations: 409.6 kB / 395 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3165, allocations: 0 / 395 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.3168, allocations: 369.6 kB / 395.4 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.3173, allocations: 101.3 kB / 395.5 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007831/0.3181, allocations: 0.5183 MB / 396 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3185, allocations: 0.8177 MB / 396.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.472e-05/0.3185, allocations: 8.656 kB / 396.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.3186, allocations: 11.44 kB / 396.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3186, allocations: 0 / 396.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of Templates: time 0.005712/0.3243, allocations: 3.904 MB / 400.7 MB, free: 11.45 MB / 314.7 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)