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.001168/0.001168, allocations: 94.86 kB / 16.3 MB, free: 5.992 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.00122/0.00122, allocations: 178.8 kB / 17.2 MB, free: 5.906 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.976/1.976, allocations: 205.4 MB / 223.4 MB, free: 5.551 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.0008044/0.0008049, allocations: 8 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3277, allocations: 47.59 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001677/0.3294, allocations: 1.186 MB / 328.9 MB, free: 484 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.3315, allocations: 0.8511 MB / 329.7 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.3316, allocations: 1.344 kB / 329.7 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.898e-05/0.3317, allocations: 11.92 kB / 329.7 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.3318, allocations: 15.97 kB / 329.8 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.3321, allocations: 43.22 kB / 329.8 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.3323, allocations: 58.53 kB / 329.9 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3324, allocations: 24.83 kB / 329.9 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006237/0.333, allocations: 419.7 kB / 330.3 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.3332, allocations: 77.91 kB / 330.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.3332, allocations: 7.469 kB / 330.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.924e-05/0.3333, allocations: 7.281 kB / 330.4 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.583e-05/0.3334, allocations: 61.23 kB / 330.4 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.51e-05/0.3335, allocations: 67.98 kB / 330.5 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.3338, allocations: 303.7 kB / 330.8 MB, free: 15.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3338, allocations: 1.281 kB / 330.8 MB, free: 15.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3338, allocations: 0 / 330.8 MB, free: 15.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3338, allocations: 0 / 330.8 MB, free: 15.22 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.0008128/0.3347, allocations: 0.6533 MB / 331.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.3347, allocations: 12.17 kB / 331.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.3348, allocations: 34.75 kB / 331.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.3352, allocations: 269.5 kB / 331.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.3353, allocations: 4.875 kB / 331.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.3353, allocations: 7.219 kB / 331.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.3357, allocations: 129 kB / 331.9 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3357, allocations: 0 / 331.9 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.3358, allocations: 7.203 kB / 331.9 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3358, allocations: 1.125 kB / 331.9 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.3359, allocations: 57.62 kB / 332 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009138/0.3369, allocations: 466.2 kB / 332.4 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.3371, allocations: 95.78 kB / 332.5 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.3371, allocations: 0.9688 kB / 332.5 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004281/0.3376, allocations: 202.6 kB / 332.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3376, allocations: 7.938 kB / 332.7 MB, free: 13.51 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001321/0.3389, allocations: 0.6297 MB / 333.4 MB, free: 13.03 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.3391, allocations: 168.6 kB / 333.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000947/0.3401, allocations: 0.517 MB / 334 MB, free: 12.48 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.3401, allocations: 29.89 kB / 334.1 MB, free: 12.45 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.3402, allocations: 92.39 kB / 334.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.3403, allocations: 34.8 kB / 334.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.3403, allocations: 7.094 kB / 334.2 MB, free: 12.33 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3405, allocations: 330.5 kB / 334.5 MB, free: 12 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.3406, allocations: 54.91 kB / 334.6 MB, free: 11.98 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.3408, allocations: 75.88 kB / 334.7 MB, free: 11.93 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.341, allocations: 167.8 kB / 334.8 MB, free: 11.78 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.341, allocations: 0 / 334.8 MB, free: 11.78 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006431/0.3417, allocations: 383 kB / 335.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.3418, allocations: 121.2 kB / 335.3 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3418, allocations: 1.031 kB / 335.3 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3418, allocations: 5.094 kB / 335.3 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.98e-05/0.3419, allocations: 4.984 kB / 335.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3419, allocations: 1.031 kB / 335.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.3421, allocations: 17.41 kB / 335.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.3422, allocations: 61.23 kB / 335.4 MB, free: 11.38 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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000399/0.3426, allocations: 376.4 kB / 335.8 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.3427, allocations: 39.64 kB / 335.8 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.3428, allocations: 67.09 kB / 335.9 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3428, allocations: 4 kB / 335.9 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3428, allocations: 0 / 335.9 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3429, allocations: 0 / 335.9 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.3439, allocations: 0.8173 MB / 336.7 MB, free: 9.969 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.344, allocations: 4 kB / 336.7 MB, free: 9.965 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-06/0.344, allocations: 0 / 336.7 MB, free: 9.965 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.344, allocations: 0 / 336.7 MB, free: 9.965 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.344, allocations: 19.98 kB / 336.7 MB, free: 9.945 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.344, allocations: 0 / 336.7 MB, free: 9.945 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.344, allocations: 4 kB / 336.7 MB, free: 9.941 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006425/0.3447, allocations: 0.533 MB / 337.3 MB, free: 9.367 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.3451, allocations: 244.4 kB / 337.5 MB, free: 9.109 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.3451, allocations: 12 kB / 337.5 MB, free: 9.098 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.3453, allocations: 11.98 kB / 337.5 MB, free: 9.086 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3454, allocations: 23.97 kB / 337.5 MB, free: 9.062 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/0.3455, allocations: 59.94 kB / 337.6 MB, free: 9.004 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005034/0.346, allocations: 390.9 kB / 338 MB, free: 8.625 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.346, allocations: 0 / 338 MB, free: 8.625 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.3463, allocations: 44 kB / 338 MB, free: 8.582 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001821/0.3465, allocations: 117.9 kB / 338.1 MB, free: 8.457 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005828/0.3471, allocations: 441.5 kB / 338.6 MB, free: 7.977 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.3471, allocations: 4 kB / 338.6 MB, free: 7.973 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.3475, allocations: 373.6 kB / 338.9 MB, free: 7.559 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.3481, allocations: 97.5 kB / 339 MB, free: 7.461 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.3493, allocations: 0.7388 MB / 339.8 MB, free: 6.699 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.3499, allocations: 0.8102 MB / 340.6 MB, free: 5.863 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.308e-05/0.3499, allocations: 8.656 kB / 340.6 MB, free: 5.852 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.35, allocations: 11.44 kB / 340.6 MB, free: 5.844 MB / 270.1 MB Notification: Performance of SimCode: time 6.62e-07/0.35, allocations: 0 / 340.6 MB, free: 5.844 MB / 270.1 MB Notification: Performance of Templates: time 0.007595/0.3576, allocations: 4.056 MB / 344.7 MB, free: 1.695 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: