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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.00166, allocations: 104.7 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 51.94 kB / 327.9 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.155, allocations: 46.62 MB / 374.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.004632/0.1598, allocations: 1.509 MB / 376 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.1624, allocations: 0.8894 MB / 376.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.1626, allocations: 8 kB / 376.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.1628, allocations: 7.922 kB / 376.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.163, allocations: 19.81 kB / 376.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.1634, allocations: 47.88 kB / 377 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.1638, allocations: 139.8 kB / 377.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.1639, allocations: 24.2 kB / 377.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007824/0.1647, allocations: 0.5693 MB / 377.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.165, allocations: 71.69 kB / 377.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.165, allocations: 12 kB / 377.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.458e-05/0.1651, allocations: 8 kB / 377.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.1652, allocations: 67.7 kB / 377.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1653, allocations: 111.2 kB / 378 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.1657, allocations: 374.7 kB / 378.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1658, allocations: 0 / 378.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1658, allocations: 0 / 378.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1658, allocations: 4 kB / 378.3 MB, free: 0.7227 MB / 318.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.2703/0.4361, allocations: 0.7231 MB / 379 MB, free: 13.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.208e-05/0.4362, allocations: 10.28 kB / 379.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.4364, allocations: 35.19 kB / 379.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.4368, allocations: 271.6 kB / 379.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.4368, allocations: 4.219 kB / 379.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.4369, allocations: 8.938 kB / 379.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.4373, allocations: 130 kB / 379.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4373, allocations: 1.312 kB / 379.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.4374, allocations: 12.22 kB / 379.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4374, allocations: 1.172 kB / 379.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.4376, allocations: 55.84 kB / 379.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009195/0.4385, allocations: 468.5 kB / 380 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4387, allocations: 98.3 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.4389, allocations: 86.33 kB / 380.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.4389, allocations: 0.5625 kB / 380.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006073/0.4395, allocations: 210.4 kB / 380.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.475e-06/0.4396, allocations: 1.375 kB / 380.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001137/0.4407, allocations: 487.9 kB / 380.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/0.4408, allocations: 170.9 kB / 381.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.4418, allocations: 0.5074 MB / 381.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.4419, allocations: 33.78 kB / 381.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.4419, allocations: 103.3 kB / 381.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/0.442, allocations: 31.31 kB / 381.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.4422, allocations: 78.89 kB / 381.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4423, allocations: 328.1 kB / 382.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.4425, allocations: 58.47 kB / 382.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.4427, allocations: 72.59 kB / 382.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.4432, allocations: 347.2 kB / 382.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4432, allocations: 5.484 kB / 382.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006469/0.4439, allocations: 388.1 kB / 383 MB, free: 10.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.444, allocations: 122.6 kB / 383.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.444, allocations: 4.859 kB / 383.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.444, allocations: 4.969 kB / 383.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.159e-05/0.4441, allocations: 1.344 kB / 383.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4441, allocations: 0.7969 kB / 383.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.4443, allocations: 10.92 kB / 383.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.465e-05/0.4444, allocations: 62.23 kB / 383.2 MB, free: 10.73 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003652/0.4447, allocations: 365.1 kB / 383.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/0.4448, allocations: 39.34 kB / 383.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.4449, allocations: 66.2 kB / 383.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.445, allocations: 1.062 kB / 383.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.445, allocations: 0 / 383.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.445, allocations: 1.797 kB / 383.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.4461, allocations: 0.8276 MB / 384.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4461, allocations: 0 / 384.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-06/0.4461, allocations: 2.156 kB / 384.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4461, allocations: 3.172 kB / 384.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.4461, allocations: 13.22 kB / 384.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4462, allocations: 2.406 kB / 384.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4462, allocations: 3.781 kB / 384.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007658/0.4469, allocations: 0.5366 MB / 385 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.4474, allocations: 242.8 kB / 385.3 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.4474, allocations: 7.156 kB / 385.3 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.4476, allocations: 13.86 kB / 385.3 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.4478, allocations: 24.91 kB / 385.3 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-05/0.4479, allocations: 67.16 kB / 385.4 MB, free: 9.246 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005884/0.4485, allocations: 390.4 kB / 385.8 MB, free: 9.039 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4485, allocations: 1.188 kB / 385.8 MB, free: 9.039 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000339/0.4488, allocations: 45.44 kB / 385.8 MB, free: 9.035 MB / 318.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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001969/0.449, allocations: 118.5 kB / 385.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006084/0.4496, allocations: 441.1 kB / 386.3 MB, free: 8.594 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4496, allocations: 0 / 386.3 MB, free: 8.594 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.45, allocations: 379.3 kB / 386.7 MB, free: 8.262 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.4508, allocations: 125.3 kB / 386.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.4521, allocations: 0.6554 MB / 387.5 MB, free: 7.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.4525, allocations: 0.8066 MB / 388.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.226e-05/0.4526, allocations: 9.188 kB / 388.3 MB, free: 7.102 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.4526, allocations: 11.38 kB / 388.3 MB, free: 7.094 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4526, allocations: 1.5 kB / 388.3 MB, free: 7.094 MB / 318.1 MB Notification: Performance of Templates: time 0.0131/0.4657, allocations: 4.755 MB / 393.1 MB, free: 6.512 MB / 318.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)