Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001654/0.001654, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001956/0.001956, allocations: 189.2 kB / 16.13 MB, free: 6.66 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.706/1.706, allocations: 205.1 MB / 222 MB, free: 4.719 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.002094/0.002095, allocations: 56.39 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3649, allocations: 46.62 MB / 324.7 MB, free: 2.145 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00363/0.3686, allocations: 1.564 MB / 326.2 MB, free: 0.9062 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.371, allocations: 0.9081 MB / 327.1 MB, free: 228 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.371, allocations: 0 / 327.1 MB, free: 228 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.3713, allocations: 9.781 kB / 327.2 MB, free: 220 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.3714, allocations: 19.19 kB / 327.2 MB, free: 204 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.3718, allocations: 39.12 kB / 327.2 MB, free: 172 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.372, allocations: 106.9 kB / 327.3 MB, free: 112 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.3721, allocations: 16 kB / 327.3 MB, free: 100 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000923/0.3731, allocations: 0.5616 MB / 327.9 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.3732, allocations: 72.61 kB / 328 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.3733, allocations: 8.469 kB / 328 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.108e-05/0.3733, allocations: 4.844 kB / 328 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.3735, allocations: 62.33 kB / 328 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.3737, allocations: 114.9 kB / 328.1 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005589/0.3742, allocations: 358.3 kB / 328.5 MB, free: 15.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.3743, allocations: 0 / 328.5 MB, free: 15.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3743, allocations: 0 / 328.5 MB, free: 15.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3743, allocations: 0 / 328.5 MB, free: 15.45 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.001215/0.3755, allocations: 0.7145 MB / 329.2 MB, free: 14.76 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.918e-05/0.3756, allocations: 10.03 kB / 329.2 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.3757, allocations: 42.03 kB / 329.3 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.3762, allocations: 277.7 kB / 329.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.3762, allocations: 5.656 kB / 329.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.3763, allocations: 12.72 kB / 329.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.3767, allocations: 128.9 kB / 329.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3767, allocations: 0 / 329.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.3768, allocations: 4.469 kB / 329.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.3768, allocations: 5.047 kB / 329.7 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.377, allocations: 60.73 kB / 329.7 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009641/0.378, allocations: 468.2 kB / 330.2 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.3782, allocations: 96.98 kB / 330.3 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.3785, allocations: 85 kB / 330.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.3785, allocations: 1.156 kB / 330.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005315/0.379, allocations: 213.5 kB / 330.6 MB, free: 13.64 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.379, allocations: 1.094 kB / 330.6 MB, free: 13.64 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001242/0.3803, allocations: 473.8 kB / 331.1 MB, free: 13.36 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.3805, allocations: 168 kB / 331.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009644/0.3814, allocations: 0.5162 MB / 331.7 MB, free: 12.82 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.3815, allocations: 29.23 kB / 331.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3816, allocations: 105.6 kB / 331.9 MB, free: 12.68 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.3817, allocations: 34.39 kB / 331.9 MB, free: 12.66 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.3819, allocations: 83.75 kB / 332 MB, free: 12.61 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.3822, allocations: 325.2 kB / 332.3 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.3823, allocations: 56.22 kB / 332.4 MB, free: 12.26 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.3825, allocations: 76.78 kB / 332.4 MB, free: 12.21 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.383, allocations: 345.9 kB / 332.8 MB, free: 11.84 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.383, allocations: 4 kB / 332.8 MB, free: 11.84 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006653/0.3837, allocations: 384.8 kB / 333.1 MB, free: 11.43 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.3838, allocations: 126.8 kB / 333.3 MB, free: 11.28 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3838, allocations: 0 / 333.3 MB, free: 11.28 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/0.3839, allocations: 3.938 kB / 333.3 MB, free: 11.28 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.749e-05/0.3839, allocations: 4 kB / 333.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.384, allocations: 4.047 kB / 333.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.3842, allocations: 19.92 kB / 333.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3843, allocations: 55.94 kB / 333.4 MB, free: 11.2 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.0005321/0.3848, allocations: 366.8 kB / 333.7 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.3849, allocations: 39.53 kB / 333.8 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.3851, allocations: 67.14 kB / 333.8 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.3851, allocations: 3.984 kB / 333.8 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.3851, allocations: 0 / 333.8 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3851, allocations: 0 / 333.8 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.3864, allocations: 0.8173 MB / 334.6 MB, free: 9.789 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.3864, allocations: 0 / 334.6 MB, free: 9.789 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-06/0.3864, allocations: 0 / 334.6 MB, free: 9.789 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3865, allocations: 4 kB / 334.6 MB, free: 9.785 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.3865, allocations: 12 kB / 334.7 MB, free: 9.773 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3865, allocations: 0 / 334.7 MB, free: 9.773 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3865, allocations: 4.125 kB / 334.7 MB, free: 9.77 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/0.3873, allocations: 0.5408 MB / 335.2 MB, free: 9.188 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.3877, allocations: 248.5 kB / 335.4 MB, free: 8.926 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.3877, allocations: 7.984 kB / 335.5 MB, free: 8.918 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.3879, allocations: 16 kB / 335.5 MB, free: 8.902 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.388, allocations: 27.91 kB / 335.5 MB, free: 8.875 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-05/0.3881, allocations: 59.94 kB / 335.6 MB, free: 8.816 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004777/0.3886, allocations: 390.9 kB / 335.9 MB, free: 8.438 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3886, allocations: 0 / 335.9 MB, free: 8.438 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.3889, allocations: 40 kB / 336 MB, free: 8.398 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.0001538/0.3891, allocations: 121.6 kB / 336.1 MB, free: 8.27 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005345/0.3896, allocations: 433.5 kB / 336.5 MB, free: 7.797 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3896, allocations: 4.062 kB / 336.5 MB, free: 7.793 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.39, allocations: 381.5 kB / 336.9 MB, free: 7.371 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/0.3906, allocations: 113.9 kB / 337 MB, free: 7.258 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.392, allocations: 0.7569 MB / 337.8 MB, free: 6.477 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/0.3926, allocations: 0.8025 MB / 338.6 MB, free: 5.648 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.72e-05/0.3927, allocations: 8.656 kB / 338.6 MB, free: 5.637 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.3927, allocations: 11.44 kB / 338.6 MB, free: 5.629 MB / 270.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3927, allocations: 4 kB / 338.6 MB, free: 5.625 MB / 270.1 MB Notification: Performance of Templates: time 0.00873/0.4014, allocations: 4.397 MB / 343 MB, free: 1.137 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1)