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.001049/0.00105, allocations: 170.3 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.199/1.199, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001462/0.001462, allocations: 107.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.534e-05, allocations: 8 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08812/0.08818, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3147/0.403, allocations: 71.71 MB / 379.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.4033, allocations: 63.84 kB / 379.4 MB, free: 4.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03213/0.4355, allocations: 16.49 MB / 395.9 MB, free: 6.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4355, allocations: 0 / 395.9 MB, free: 6.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.4355, allocations: 4 kB / 395.9 MB, free: 6.754 MB / 282.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.0005928/0.4361, allocations: 0.6179 MB / 396.5 MB, free: 6.086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4362, allocations: 12.03 kB / 396.5 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.4363, allocations: 35.53 kB / 396.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.4366, allocations: 259.8 kB / 396.8 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.4366, allocations: 4 kB / 396.8 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.4366, allocations: 11.94 kB / 396.8 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.4369, allocations: 122.9 kB / 397 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.4369, allocations: 3.938 kB / 397 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.4369, allocations: 4 kB / 397 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.437, allocations: 4 kB / 397 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.4371, allocations: 55.92 kB / 397 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006347/0.4377, allocations: 465.8 kB / 397.5 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.4379, allocations: 102.2 kB / 397.6 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.438, allocations: 80.28 kB / 397.7 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.438, allocations: 0 / 397.7 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.4383, allocations: 207.4 kB / 397.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.4383, allocations: 0 / 397.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005815/0.4389, allocations: 399.2 kB / 398.2 MB, free: 4.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/0.439, allocations: 161.7 kB / 398.4 MB, free: 4.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005408/0.4395, allocations: 470.9 kB / 398.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.4396, allocations: 33.7 kB / 398.9 MB, free: 3.805 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.4396, allocations: 96.14 kB / 399 MB, free: 3.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.4397, allocations: 31.27 kB / 399 MB, free: 3.691 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.4397, allocations: 4 kB / 399 MB, free: 3.688 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4398, allocations: 326.5 kB / 399.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.4399, allocations: 54.3 kB / 399.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.44, allocations: 58 kB / 399.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.4402, allocations: 169.3 kB / 399.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4402, allocations: 0 / 399.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004486/0.4407, allocations: 368.4 kB / 400 MB, free: 2.781 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.652e-05/0.4408, allocations: 121.7 kB / 400.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4408, allocations: 0 / 400.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4408, allocations: 4 kB / 400.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.645e-05/0.4408, allocations: 0 / 400.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.4408, allocations: 3.984 kB / 400.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.441, allocations: 11.91 kB / 400.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.441, allocations: 55.94 kB / 400.2 MB, free: 2.57 MB / 282.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.0001661/0.4412, allocations: 260.3 kB / 400.4 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.4413, allocations: 35.62 kB / 400.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.4414, allocations: 66.8 kB / 400.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4414, allocations: 7.984 kB / 400.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/0.4414, allocations: 4.094 kB / 400.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4414, allocations: 3.938 kB / 400.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008342/0.4423, allocations: 0.7866 MB / 401.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4423, allocations: 0 / 401.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-06/0.4423, allocations: 0 / 401.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4423, allocations: 8 kB / 401.3 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.4423, allocations: 11.94 kB / 401.3 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.4423, allocations: 0 / 401.3 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4423, allocations: 4 kB / 401.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.4429, allocations: 0.524 MB / 401.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.4433, allocations: 247.9 kB / 402.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.4433, allocations: 19.17 kB / 402.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4435, allocations: 15.91 kB / 402.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4436, allocations: 26.22 kB / 402.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/0.4436, allocations: 63.67 kB / 402.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000414/0.4441, allocations: 379.2 kB / 402.6 MB, free: 256 kB / 282.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4441, allocations: 0 / 402.6 MB, free: 256 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.4443, allocations: 44 kB / 402.7 MB, free: 212 kB / 282.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.0001407/0.4445, allocations: 117 kB / 402.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004682/0.445, allocations: 434.6 kB / 403.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.445, allocations: 8 kB / 403.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.4453, allocations: 373.4 kB / 403.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.4458, allocations: 100.6 kB / 403.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.4467, allocations: 0.5231 MB / 404.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.4471, allocations: 0.8061 MB / 405 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.043e-05/0.4471, allocations: 12.64 kB / 405 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.4472, allocations: 15.44 kB / 405 MB, free: 13.94 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4472, allocations: 0 / 405 MB, free: 13.94 MB / 298.7 MB Notification: Performance of Templates: time 0.006585/0.4538, allocations: 4.074 MB / 409.1 MB, free: 9.785 MB / 298.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)