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.001386/0.001385, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.671/1.671, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.001469/0.001469, allocations: 59.92 kB / 278.7 MB, free: 12.33 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.487/0.4885, allocations: 46.64 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00454/0.4931, allocations: 1.495 MB / 326.8 MB, free: 0.6562 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.4961, allocations: 0.8994 MB / 327.7 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.4963, allocations: 1.406 kB / 327.7 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.4966, allocations: 5.25 kB / 327.7 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.4967, allocations: 22.67 kB / 327.7 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.4972, allocations: 42.91 kB / 327.8 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.4976, allocations: 147.2 kB / 327.9 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.4978, allocations: 17.14 kB / 327.9 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.499, allocations: 0.5604 MB / 328.5 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.4993, allocations: 77.94 kB / 328.6 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.528e-05/0.4994, allocations: 9.656 kB / 328.6 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.267e-05/0.4994, allocations: 10.34 kB / 328.6 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.4996, allocations: 65.47 kB / 328.7 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.4998, allocations: 115.7 kB / 328.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.5004, allocations: 366.2 kB / 329.1 MB, free: 15.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.5005, allocations: 0 / 329.1 MB, free: 15.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.938e-06/0.5005, allocations: 4 kB / 329.1 MB, free: 15.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.5005, allocations: 0 / 329.1 MB, free: 15.16 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.001308/0.5018, allocations: 0.7263 MB / 329.9 MB, free: 14.45 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.115e-05/0.5019, allocations: 9.188 kB / 329.9 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.502, allocations: 38.53 kB / 329.9 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.5025, allocations: 265.9 kB / 330.2 MB, free: 14.17 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.5026, allocations: 12.92 kB / 330.2 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.5026, allocations: 8.438 kB / 330.2 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.5032, allocations: 141.4 kB / 330.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5032, allocations: 5.156 kB / 330.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.5033, allocations: 3.25 kB / 330.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.5033, allocations: 0.9375 kB / 330.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.5035, allocations: 58.09 kB / 330.4 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.5045, allocations: 464.3 kB / 330.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.5048, allocations: 100.4 kB / 330.9 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.505, allocations: 81.3 kB / 331 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.505, allocations: 1.031 kB / 331 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006141/0.5056, allocations: 201.8 kB / 331.2 MB, free: 13.35 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 3.497e-06/0.5057, allocations: 1.219 kB / 331.2 MB, free: 13.35 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001226/0.5069, allocations: 481.7 kB / 331.7 MB, free: 13.06 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.5071, allocations: 172.1 kB / 331.9 MB, free: 12.86 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009257/0.508, allocations: 0.5079 MB / 332.4 MB, free: 12.52 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.5081, allocations: 34.33 kB / 332.4 MB, free: 12.49 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.5082, allocations: 96.62 kB / 332.5 MB, free: 12.39 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/0.5083, allocations: 26.66 kB / 332.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.5085, allocations: 83.41 kB / 332.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.5087, allocations: 330.4 kB / 332.9 MB, free: 12 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.5089, allocations: 65.75 kB / 333 MB, free: 11.94 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.509, allocations: 79.03 kB / 333.1 MB, free: 11.86 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.5095, allocations: 351.8 kB / 333.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.5095, allocations: 0 / 333.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006339/0.5101, allocations: 388.3 kB / 333.8 MB, free: 11.05 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.5103, allocations: 126.8 kB / 333.9 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5104, allocations: 0 / 333.9 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.5104, allocations: 112 / 333.9 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.427e-05/0.5104, allocations: 7.953 kB / 333.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.5104, allocations: 8 kB / 333.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.5106, allocations: 8 kB / 333.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.659e-05/0.5107, allocations: 55.94 kB / 334 MB, free: 10.82 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.0005455/0.5113, allocations: 370.7 kB / 334.3 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.5114, allocations: 39.52 kB / 334.4 MB, free: 10.38 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.5115, allocations: 67.16 kB / 334.5 MB, free: 10.31 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5115, allocations: 0 / 334.5 MB, free: 10.31 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5115, allocations: 3.938 kB / 334.5 MB, free: 10.31 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5116, allocations: 4 kB / 334.5 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.5129, allocations: 0.8173 MB / 335.3 MB, free: 9.406 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5129, allocations: 0 / 335.3 MB, free: 9.406 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.288e-05/0.513, allocations: 0 / 335.3 MB, free: 9.406 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.513, allocations: 0 / 335.3 MB, free: 9.406 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.513, allocations: 15.98 kB / 335.3 MB, free: 9.391 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.513, allocations: 0 / 335.3 MB, free: 9.391 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.5131, allocations: 3.938 kB / 335.3 MB, free: 9.387 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.5139, allocations: 0.5407 MB / 335.8 MB, free: 8.805 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003959/0.5143, allocations: 240.5 kB / 336.1 MB, free: 8.551 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.5144, allocations: 12.19 kB / 336.1 MB, free: 8.539 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.5145, allocations: 12 kB / 336.1 MB, free: 8.527 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.5147, allocations: 31.91 kB / 336.1 MB, free: 8.496 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/0.5148, allocations: 59.92 kB / 336.2 MB, free: 8.438 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0006138/0.5154, allocations: 386.9 kB / 336.6 MB, free: 8.059 MB / 270.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5154, allocations: 0 / 336.6 MB, free: 8.059 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004146/0.5159, allocations: 48 kB / 336.6 MB, free: 8.012 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.000262/0.5161, allocations: 117.6 kB / 336.7 MB, free: 7.887 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006668/0.5168, allocations: 441.5 kB / 337.2 MB, free: 7.406 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5168, allocations: 0 / 337.2 MB, free: 7.406 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.5172, allocations: 381.5 kB / 337.5 MB, free: 6.984 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.518, allocations: 112.4 kB / 337.6 MB, free: 6.875 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.5195, allocations: 0.6588 MB / 338.3 MB, free: 6.191 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006921/0.5202, allocations: 0.8098 MB / 339.1 MB, free: 5.352 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.5204, allocations: 12.64 kB / 339.1 MB, free: 5.336 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.5204, allocations: 11.44 kB / 339.1 MB, free: 5.328 MB / 270.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5204, allocations: 7.875 kB / 339.1 MB, free: 5.32 MB / 270.1 MB Notification: Performance of Templates: time 0.01299/0.5334, allocations: 4.652 MB / 343.8 MB, free: 0.5742 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)