Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000906/0.0009062, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007622/0.007622, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.661/1.661, allocations: 205.4 MB / 222.4 MB, free: 5.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.0004445/0.0004446, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.325, allocations: 47.58 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00173/0.3268, allocations: 1.222 MB / 328.2 MB, free: 448 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.3287, allocations: 0.9056 MB / 329.1 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.3287, allocations: 1.125 kB / 329.1 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.3288, allocations: 5.188 kB / 329.2 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.809e-05/0.3289, allocations: 11.48 kB / 329.2 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.3292, allocations: 48.14 kB / 329.2 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3294, allocations: 109.8 kB / 329.3 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3296, allocations: 16.77 kB / 329.3 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008532/0.3304, allocations: 0.5522 MB / 329.9 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.3306, allocations: 72.44 kB / 330 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.3306, allocations: 3.406 kB / 330 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.255e-05/0.3307, allocations: 3.219 kB / 330 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.3308, allocations: 69.92 kB / 330 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.331, allocations: 133.1 kB / 330.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.3316, allocations: 358 kB / 330.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.3316, allocations: 1.062 kB / 330.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.145e-06/0.3316, allocations: 0 / 330.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.3316, allocations: 0 / 330.5 MB, free: 14.96 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.001138/0.3328, allocations: 0.6506 MB / 331.2 MB, free: 14.31 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.13e-05/0.3329, allocations: 9 kB / 331.2 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.333, allocations: 43.08 kB / 331.2 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.3334, allocations: 273.8 kB / 331.5 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.3334, allocations: 9.438 kB / 331.5 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.3335, allocations: 10.91 kB / 331.5 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.3339, allocations: 129.8 kB / 331.6 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3339, allocations: 1.031 kB / 331.6 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.334, allocations: 3.281 kB / 331.6 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.334, allocations: 4.953 kB / 331.6 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.3342, allocations: 58.03 kB / 331.7 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008461/0.335, allocations: 472 kB / 332.2 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.3353, allocations: 100.2 kB / 332.3 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.3355, allocations: 85.3 kB / 332.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.3355, allocations: 1.125 kB / 332.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004446/0.3359, allocations: 214.2 kB / 332.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3359, allocations: 0 / 332.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001033/0.337, allocations: 473.7 kB / 333 MB, free: 12.9 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.3371, allocations: 168.5 kB / 333.2 MB, free: 12.7 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007793/0.3379, allocations: 0.5119 MB / 333.7 MB, free: 12.36 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.3379, allocations: 30.27 kB / 333.7 MB, free: 12.33 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3381, allocations: 104.3 kB / 333.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.3381, allocations: 27.25 kB / 333.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.3382, allocations: 25.39 kB / 333.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3383, allocations: 330.6 kB / 334.2 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3385, allocations: 54.88 kB / 334.2 MB, free: 11.84 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.3386, allocations: 76.59 kB / 334.3 MB, free: 11.76 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.339, allocations: 347.2 kB / 334.7 MB, free: 11.37 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.339, allocations: 0 / 334.7 MB, free: 11.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005666/0.3395, allocations: 388.8 kB / 335 MB, free: 10.96 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.3397, allocations: 122.8 kB / 335.2 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3397, allocations: 4.031 kB / 335.2 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3397, allocations: 0 / 335.2 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.024e-05/0.3397, allocations: 3.938 kB / 335.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.307e-05/0.3398, allocations: 8.094 kB / 335.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.34, allocations: 11.94 kB / 335.2 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.3401, allocations: 63.88 kB / 335.3 MB, free: 10.72 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0003917/0.3404, allocations: 370.7 kB / 335.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.3405, allocations: 43.52 kB / 335.7 MB, free: 10.28 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.3406, allocations: 63.16 kB / 335.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3406, allocations: 0 / 335.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3406, allocations: 0 / 335.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3407, allocations: 0 / 335.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.3417, allocations: 0.8251 MB / 336.5 MB, free: 9.309 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3417, allocations: 0 / 336.5 MB, free: 9.309 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-06/0.3417, allocations: 0 / 336.5 MB, free: 9.309 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3417, allocations: 0 / 336.5 MB, free: 9.309 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.3418, allocations: 15.98 kB / 336.6 MB, free: 9.293 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3418, allocations: 4 kB / 336.6 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3418, allocations: 3.938 kB / 336.6 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.3426, allocations: 0.5331 MB / 337.1 MB, free: 8.711 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.3429, allocations: 248.4 kB / 337.3 MB, free: 8.449 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.624e-05/0.343, allocations: 4 kB / 337.3 MB, free: 8.445 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.3432, allocations: 16.25 kB / 337.4 MB, free: 8.43 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.3433, allocations: 27.91 kB / 337.4 MB, free: 8.402 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.599e-05/0.3434, allocations: 71.92 kB / 337.5 MB, free: 8.332 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005295/0.344, allocations: 382.9 kB / 337.8 MB, free: 7.961 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.344, allocations: 7.938 kB / 337.8 MB, free: 7.953 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.3443, allocations: 40 kB / 337.9 MB, free: 7.914 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0001958/0.3445, allocations: 111 kB / 338 MB, free: 7.797 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000627/0.3451, allocations: 441.5 kB / 338.4 MB, free: 7.316 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3451, allocations: 0 / 338.4 MB, free: 7.316 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.3455, allocations: 377.6 kB / 338.8 MB, free: 6.898 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.3462, allocations: 101.5 kB / 338.9 MB, free: 6.797 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.3475, allocations: 0.7622 MB / 339.6 MB, free: 6.012 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.348, allocations: 0.8063 MB / 340.5 MB, free: 5.18 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.839e-05/0.3481, allocations: 12.64 kB / 340.5 MB, free: 5.164 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.3481, allocations: 11.44 kB / 340.5 MB, free: 5.156 MB / 270.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3481, allocations: 0 / 340.5 MB, free: 5.156 MB / 270.1 MB Notification: Performance of Templates: time 0.008015/0.3562, allocations: 4.138 MB / 344.6 MB, free: 0.9258 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1)