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.01068/0.01068, allocations: 103.2 kB / 15.73 MB, free: 6.008 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.002191/0.002191, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.803/1.803, allocations: 205.1 MB / 222.5 MB, free: 12.21 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.001519/0.001519, allocations: 51.92 kB / 326.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.171, allocations: 46.62 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003685/0.1747, allocations: 1.505 MB / 374.7 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1773, allocations: 0.8934 MB / 375.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1775, allocations: 4 kB / 375.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.1777, allocations: 11.88 kB / 375.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.1778, allocations: 19.84 kB / 375.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.1783, allocations: 39.89 kB / 375.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.1786, allocations: 147.7 kB / 375.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1788, allocations: 24.2 kB / 375.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009435/0.1797, allocations: 0.5694 MB / 376.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.18, allocations: 71.69 kB / 376.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.65e-05/0.1801, allocations: 15.94 kB / 376.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.053e-05/0.1801, allocations: 8 kB / 376.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.1803, allocations: 63.77 kB / 376.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.1805, allocations: 115.1 kB / 376.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.181, allocations: 366.8 kB / 377 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.1811, allocations: 4 kB / 377 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.609e-06/0.1811, allocations: 0 / 377 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1811, allocations: 4 kB / 377 MB, free: 0.6875 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.3072/0.4883, allocations: 0.7169 MB / 377.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.446e-05/0.4884, allocations: 9.625 kB / 377.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.4887, allocations: 39.72 kB / 377.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.4891, allocations: 273 kB / 378 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.4892, allocations: 5.875 kB / 378 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.4892, allocations: 10.31 kB / 378.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.4897, allocations: 129.1 kB / 378.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.4898, allocations: 0 / 378.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.4898, allocations: 10.22 kB / 378.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4898, allocations: 0 / 378.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.49, allocations: 62.06 kB / 378.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.4912, allocations: 460.6 kB / 378.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.4915, allocations: 97.5 kB / 378.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.4918, allocations: 87.62 kB / 378.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.4918, allocations: 3.344 kB / 378.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006162/0.4924, allocations: 208 kB / 379.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.604e-06/0.4924, allocations: 0 / 379.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001252/0.4937, allocations: 480.2 kB / 379.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.4939, allocations: 169.2 kB / 379.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.4955, allocations: 0.5169 MB / 380.2 MB, free: 11.87 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.4956, allocations: 32.48 kB / 380.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.4958, allocations: 99.14 kB / 380.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4959, allocations: 33.09 kB / 380.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/0.4962, allocations: 80.44 kB / 380.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.4964, allocations: 328.5 kB / 380.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.4967, allocations: 57.92 kB / 380.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.497, allocations: 75.42 kB / 380.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.4976, allocations: 353 kB / 381.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.4976, allocations: 0 / 381.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009717/0.4986, allocations: 386.2 kB / 381.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.4988, allocations: 127.4 kB / 381.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.4988, allocations: 0.9844 kB / 381.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/0.4989, allocations: 4.906 kB / 381.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.432e-05/0.4989, allocations: 6.781 kB / 381.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.499, allocations: 1.312 kB / 381.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.4993, allocations: 13.02 kB / 381.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.4995, allocations: 58.47 kB / 381.9 MB, free: 10.71 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.0008214/0.5003, allocations: 361.7 kB / 382.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.5005, allocations: 36.88 kB / 382.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.5007, allocations: 69.28 kB / 382.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5007, allocations: 0 / 382.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.5008, allocations: 1.188 kB / 382.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.5008, allocations: 2.016 kB / 382.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.5026, allocations: 0.8304 MB / 383.1 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.5026, allocations: 0 / 383.1 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.5026, allocations: 4.656 kB / 383.2 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.046e-06/0.5027, allocations: 1.078 kB / 383.2 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.158e-05/0.5027, allocations: 16.47 kB / 383.2 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.5027, allocations: 0 / 383.2 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5027, allocations: 5.094 kB / 383.2 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.5039, allocations: 0.5298 MB / 383.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005709/0.5045, allocations: 247.1 kB / 383.9 MB, free: 9.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.5046, allocations: 11.09 kB / 384 MB, free: 9.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.5048, allocations: 9.969 kB / 384 MB, free: 9.246 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/0.505, allocations: 26.94 kB / 384 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.5052, allocations: 61.23 kB / 384.1 MB, free: 9.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009325/0.5062, allocations: 391.2 kB / 384.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5062, allocations: 0 / 384.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004801/0.5067, allocations: 50.41 kB / 384.5 MB, free: 9.016 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.000278/0.5069, allocations: 120.3 kB / 384.6 MB, free: 8.918 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007818/0.5077, allocations: 442.4 kB / 385 MB, free: 8.574 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.5078, allocations: 0 / 385 MB, free: 8.574 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.5082, allocations: 374.1 kB / 385.4 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009143/0.5091, allocations: 128.6 kB / 385.5 MB, free: 8.203 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.5111, allocations: 0.6518 MB / 386.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.5119, allocations: 0.8029 MB / 387 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.512, allocations: 9.094 kB / 387 MB, free: 7.086 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.5121, allocations: 12.8 kB / 387 MB, free: 7.078 MB / 318.1 MB Notification: Performance of SimCode: time 2.395e-06/0.5121, allocations: 0 / 387 MB, free: 7.078 MB / 318.1 MB Notification: Performance of Templates: time 0.02064/0.5328, allocations: 4.669 MB / 391.7 MB, free: 6.527 MB / 318.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)