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.001435/0.001435, allocations: 187.9 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.303/1.303, allocations: 194.3 MB / 203.1 MB, free: 9.32 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.001645/0.001645, allocations: 115.5 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.171e-05/2.183e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.115, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2927/0.4078, allocations: 76.37 MB / 418.9 MB, free: 19.44 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4081, allocations: 72.95 kB / 419 MB, free: 19.4 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02576/0.4338, allocations: 16.39 MB / 435.4 MB, free: 6.258 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4339, allocations: 4 kB / 435.4 MB, free: 6.254 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.4339, 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.0004552/0.4343, allocations: 0.6085 MB / 436 MB, free: 5.59 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4344, allocations: 8.031 kB / 436 MB, free: 5.582 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.4345, allocations: 39.58 kB / 436.1 MB, free: 5.543 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.4347, allocations: 254.9 kB / 436.3 MB, free: 5.266 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.4348, allocations: 8 kB / 436.3 MB, free: 5.258 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.4348, allocations: 11.98 kB / 436.3 MB, free: 5.246 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001204/0.4349, allocations: 57.41 kB / 436.4 MB, free: 5.203 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.4351, allocations: 118.5 kB / 436.5 MB, free: 5.102 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.4351, allocations: 0 / 436.5 MB, free: 5.102 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.4351, allocations: 4.75 kB / 436.5 MB, free: 5.098 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4351, allocations: 0 / 436.5 MB, free: 5.098 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.4357, allocations: 443.1 kB / 436.9 MB, free: 4.684 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.4358, allocations: 88 kB / 437 MB, free: 4.617 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.455e-05/0.4359, allocations: 77.59 kB / 437.1 MB, free: 4.566 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.4359, allocations: 0 / 437.1 MB, free: 4.566 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.4361, allocations: 203.8 kB / 437.3 MB, free: 4.367 MB / 315.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.4361, allocations: 0 / 437.3 MB, free: 4.367 MB / 315.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004434/0.4366, allocations: 268 kB / 437.6 MB, free: 4.145 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.4366, allocations: 169.6 kB / 437.7 MB, free: 3.945 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.4371, allocations: 450.6 kB / 438.2 MB, free: 3.57 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.4371, allocations: 29.7 kB / 438.2 MB, free: 3.535 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.4372, allocations: 99.25 kB / 438.3 MB, free: 3.445 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.4372, allocations: 30.7 kB / 438.3 MB, free: 3.418 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.4372, allocations: 4 kB / 438.3 MB, free: 3.414 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.4373, allocations: 329.9 kB / 438.6 MB, free: 3.09 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.4374, allocations: 55.55 kB / 438.7 MB, free: 3.055 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.4376, allocations: 48.86 kB / 438.7 MB, free: 3.023 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.4377, allocations: 41.8 kB / 438.8 MB, free: 2.996 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4377, allocations: 0 / 438.8 MB, free: 2.996 MB / 315.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000317/0.438, allocations: 250.8 kB / 439 MB, free: 2.797 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.4381, allocations: 123.5 kB / 439.2 MB, free: 2.656 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4381, allocations: 0 / 439.2 MB, free: 2.656 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4381, allocations: 0 / 439.2 MB, free: 2.656 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.035e-05/0.4381, allocations: 5.5 kB / 439.2 MB, free: 2.652 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.4382, allocations: 7.953 kB / 439.2 MB, free: 2.645 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.4384, allocations: 11.94 kB / 439.2 MB, free: 2.633 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.4384, allocations: 60.03 kB / 439.2 MB, free: 2.574 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,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.0001276/0.4386, allocations: 244.8 kB / 439.5 MB, free: 2.309 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.4386, allocations: 35.62 kB / 439.5 MB, free: 2.273 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.002e-05/0.4387, allocations: 72.66 kB / 439.6 MB, free: 2.211 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4387, allocations: 0 / 439.6 MB, free: 2.211 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4387, allocations: 4 kB / 439.6 MB, free: 2.207 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4387, allocations: 7.953 kB / 439.6 MB, free: 2.199 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005794/0.4393, allocations: 0.6341 MB / 440.2 MB, free: 1.617 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4393, allocations: 0 / 440.2 MB, free: 1.617 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-06/0.4393, allocations: 4 kB / 440.2 MB, free: 1.613 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4394, allocations: 0 / 440.2 MB, free: 1.613 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.4394, allocations: 11.94 kB / 440.2 MB, free: 1.602 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4394, allocations: 4 kB / 440.2 MB, free: 1.598 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4394, allocations: 0.75 kB / 440.2 MB, free: 1.598 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.4398, allocations: 400.2 kB / 440.6 MB, free: 1.246 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.44, allocations: 253.8 kB / 440.9 MB, free: 1.02 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.4401, allocations: 15.23 kB / 440.9 MB, free: 1.008 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.4402, allocations: 12 kB / 440.9 MB, free: 0.9961 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/0.4403, allocations: 27.34 kB / 440.9 MB, free: 0.9766 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-05/0.4403, allocations: 62.73 kB / 441 MB, free: 0.918 MB / 315.1 MB Notification: Performance of sorting global known variables: time 0.0003048/0.4406, allocations: 373.3 kB / 441.4 MB, free: 0.6133 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4407, allocations: 0.9375 kB / 441.4 MB, free: 0.6133 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.4409, allocations: 48 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,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.0001319/0.4411, allocations: 113.5 kB / 441.5 MB, free: 460 kB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.4414, allocations: 419 kB / 441.9 MB, free: 84 kB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4414, allocations: 0 / 441.9 MB, free: 84 kB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.4417, allocations: 365.2 kB / 442.3 MB, free: 15.75 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.4422, allocations: 91.7 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.0007908/0.443, allocations: 0.523 MB / 442.9 MB, free: 15.2 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.4434, allocations: 0.808 MB / 443.7 MB, free: 14.37 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 4.49e-05/0.4435, allocations: 8.656 kB / 443.7 MB, free: 14.36 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.4435, allocations: 11.44 kB / 443.7 MB, free: 14.35 MB / 331.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4435, allocations: 0 / 443.7 MB, free: 14.35 MB / 331.1 MB Notification: Performance of Templates: time 0.006457/0.45, allocations: 3.909 MB / 447.6 MB, free: 10.38 MB / 331.1 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)