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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001439, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00163/0.00163, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.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.001828/0.001828, allocations: 59.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4036, allocations: 46.62 MB / 324.8 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003712/0.4073, allocations: 1.563 MB / 326.4 MB, free: 0.6875 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.4095, allocations: 0.8865 MB / 327.3 MB, free: 16 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.4095, allocations: 3.938 kB / 327.3 MB, free: 12 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.4097, allocations: 5.328 kB / 327.3 MB, free: 8 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.4098, allocations: 19.45 kB / 327.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.4101, allocations: 43.78 kB / 327.4 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.4103, allocations: 142.1 kB / 327.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.4105, allocations: 18.84 kB / 327.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008563/0.4114, allocations: 0.5599 MB / 328.1 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.4116, allocations: 83.31 kB / 328.2 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.4116, allocations: 9.312 kB / 328.2 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.372e-05/0.4117, allocations: 10.12 kB / 328.2 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.4118, allocations: 66.42 kB / 328.2 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.412, allocations: 111.3 kB / 328.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005537/0.4126, allocations: 370 kB / 328.7 MB, free: 15.21 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.4126, allocations: 0 / 328.7 MB, free: 15.21 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.4126, allocations: 0 / 328.7 MB, free: 15.21 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.4126, allocations: 1.438 kB / 328.7 MB, free: 15.21 MB / 270.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.001191/0.4138, allocations: 0.721 MB / 329.4 MB, free: 14.51 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.644e-05/0.4139, allocations: 13.97 kB / 329.4 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.471e-05/0.414, allocations: 38.09 kB / 329.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.4144, allocations: 270.4 kB / 329.7 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.4144, allocations: 8.688 kB / 329.8 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.4145, allocations: 7.875 kB / 329.8 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.4149, allocations: 130.4 kB / 329.9 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4149, allocations: 3.938 kB / 329.9 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.4149, allocations: 3.531 kB / 329.9 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4149, allocations: 1 kB / 329.9 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.4151, allocations: 57.88 kB / 330 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/0.4159, allocations: 472.4 kB / 330.4 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.4161, allocations: 99.58 kB / 330.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.4163, allocations: 89.12 kB / 330.6 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.4163, allocations: 1.188 kB / 330.6 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004684/0.4168, allocations: 206.5 kB / 330.8 MB, free: 13.39 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.4168, allocations: 0 / 330.8 MB, free: 13.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009956/0.4178, allocations: 481.7 kB / 331.3 MB, free: 13.1 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.4179, allocations: 168.9 kB / 331.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007705/0.4187, allocations: 0.508 MB / 331.9 MB, free: 12.57 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.4188, allocations: 29.14 kB / 332 MB, free: 12.54 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.4189, allocations: 105.9 kB / 332.1 MB, free: 12.44 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.4189, allocations: 26.66 kB / 332.1 MB, free: 12.42 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.4191, allocations: 79.61 kB / 332.2 MB, free: 12.37 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4192, allocations: 325 kB / 332.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.4194, allocations: 59.91 kB / 332.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.4196, allocations: 80.64 kB / 332.6 MB, free: 11.97 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.42, allocations: 348.4 kB / 333 MB, free: 11.6 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.42, allocations: 4 kB / 333 MB, free: 11.6 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005772/0.4206, allocations: 392.5 kB / 333.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.4207, allocations: 126.8 kB / 333.5 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.4207, allocations: 4 kB / 333.5 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.4207, allocations: 0 / 333.5 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.616e-05/0.4208, allocations: 3.938 kB / 333.5 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4208, allocations: 112 / 333.5 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.4209, allocations: 19.92 kB / 333.5 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.421, allocations: 55.94 kB / 333.6 MB, free: 10.95 MB / 270.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.0003768/0.4214, allocations: 366.8 kB / 333.9 MB, free: 10.56 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.4215, allocations: 39.53 kB / 334 MB, free: 10.52 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.4216, allocations: 71.12 kB / 334 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4216, allocations: 4 kB / 334 MB, free: 10.44 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4216, allocations: 3.984 kB / 334 MB, free: 10.44 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.4216, allocations: 0 / 334 MB, free: 10.44 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.4226, allocations: 0.8095 MB / 334.9 MB, free: 9.547 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4227, allocations: 4 kB / 334.9 MB, free: 9.543 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-06/0.4227, allocations: 4 kB / 334.9 MB, free: 9.539 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4227, allocations: 0 / 334.9 MB, free: 9.539 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.4227, allocations: 16 kB / 334.9 MB, free: 9.523 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4227, allocations: 0 / 334.9 MB, free: 9.523 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4227, allocations: 3.938 kB / 334.9 MB, free: 9.52 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006971/0.4234, allocations: 0.5368 MB / 335.4 MB, free: 8.941 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.4238, allocations: 244.5 kB / 335.7 MB, free: 8.684 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.4238, allocations: 12 kB / 335.7 MB, free: 8.672 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.424, allocations: 15.98 kB / 335.7 MB, free: 8.656 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.4241, allocations: 31.91 kB / 335.7 MB, free: 8.625 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.902e-05/0.4242, allocations: 60.06 kB / 335.8 MB, free: 8.566 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005076/0.4247, allocations: 390.9 kB / 336.2 MB, free: 8.188 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4247, allocations: 0 / 336.2 MB, free: 8.188 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.425, allocations: 40 kB / 336.2 MB, free: 8.148 MB / 270.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.0002023/0.4253, allocations: 113.6 kB / 336.3 MB, free: 8.027 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006161/0.4259, allocations: 449.5 kB / 336.7 MB, free: 7.539 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4259, allocations: 0 / 336.7 MB, free: 7.539 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.4263, allocations: 377.6 kB / 337.1 MB, free: 7.121 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.427, allocations: 108.4 kB / 337.2 MB, free: 7.016 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.4284, allocations: 0.7681 MB / 338 MB, free: 6.223 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.429, allocations: 0.8098 MB / 338.8 MB, free: 5.387 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.846e-05/0.4291, allocations: 4.672 kB / 338.8 MB, free: 5.379 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.4291, allocations: 11.44 kB / 338.8 MB, free: 5.371 MB / 270.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4291, allocations: 4 kB / 338.8 MB, free: 5.367 MB / 270.1 MB Notification: Performance of Templates: time 0.008456/0.4376, allocations: 4.538 MB / 343.4 MB, free: 0.7344 MB / 270.1 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)