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.009282/0.009282, allocations: 101 kB / 15.73 MB, free: 5.586 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.00126/0.00126, allocations: 189.3 kB / 16.67 MB, free: 5.523 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.78/1.78, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001446/0.001446, allocations: 55.92 kB / 326.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1429, allocations: 46.61 MB / 373.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00338/0.1464, allocations: 1.513 MB / 374.7 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.1487, allocations: 0.8817 MB / 375.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.1487, allocations: 0 / 375.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.1489, allocations: 15.86 kB / 375.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.149, allocations: 27.84 kB / 375.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.1493, allocations: 43.89 kB / 375.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.1496, allocations: 147.7 kB / 375.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1497, allocations: 12.23 kB / 375.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006751/0.1504, allocations: 0.5732 MB / 376.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1506, allocations: 75.64 kB / 376.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.1506, allocations: 12 kB / 376.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.988e-05/0.1506, allocations: 8 kB / 376.5 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1508, allocations: 67.75 kB / 376.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1509, allocations: 115.1 kB / 376.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.1513, allocations: 370.8 kB / 377 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1514, allocations: 0 / 377 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1514, allocations: 0 / 377 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1514, allocations: 0 / 377 MB, free: 0.7109 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.2563/0.4077, allocations: 0.717 MB / 377.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.4077, allocations: 10.12 kB / 377.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.4079, allocations: 39.28 kB / 377.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.4083, allocations: 270.8 kB / 378 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.4084, allocations: 9.734 kB / 378 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.4084, allocations: 7.25 kB / 378 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.4088, allocations: 128.1 kB / 378.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4089, allocations: 3.531 kB / 378.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.4089, allocations: 12.16 kB / 378.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4089, allocations: 1.5 kB / 378.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.4091, allocations: 62.97 kB / 378.3 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009594/0.4101, allocations: 463.4 kB / 378.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.4103, allocations: 100.4 kB / 378.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.4105, allocations: 86.33 kB / 378.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.4106, allocations: 1.281 kB / 378.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005367/0.4111, allocations: 204.5 kB / 379.1 MB, free: 12.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.4111, allocations: 0 / 379.1 MB, free: 12.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009936/0.4121, allocations: 475.5 kB / 379.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/0.4122, allocations: 165.5 kB / 379.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000995/0.4132, allocations: 0.5168 MB / 380.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.4133, allocations: 33.02 kB / 380.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.4133, allocations: 96.36 kB / 380.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.4134, allocations: 33.91 kB / 380.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.4136, allocations: 81.39 kB / 380.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4137, allocations: 331.3 kB / 380.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.4139, allocations: 59.61 kB / 380.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.4142, allocations: 77.62 kB / 380.9 MB, free: 11.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.4146, allocations: 346.5 kB / 381.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4146, allocations: 2.234 kB / 381.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006313/0.4153, allocations: 385.8 kB / 381.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.673e-05/0.4154, allocations: 131.4 kB / 381.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4154, allocations: 5.578 kB / 381.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.4154, allocations: 0 / 381.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3e-05/0.4154, allocations: 2.156 kB / 381.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.4155, allocations: 1.219 kB / 381.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.4157, allocations: 10.62 kB / 381.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-05/0.4158, allocations: 57.81 kB / 381.8 MB, free: 11.01 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.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.0003854/0.4162, allocations: 369.8 kB / 382.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.4162, allocations: 38.75 kB / 382.2 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.4164, allocations: 67.06 kB / 382.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4164, allocations: 2.25 kB / 382.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.4164, allocations: 0 / 382.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4164, allocations: 3.078 kB / 382.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.4175, allocations: 0.8235 MB / 383.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4175, allocations: 3.109 kB / 383.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.019e-05/0.4176, allocations: 1.219 kB / 383.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4176, allocations: 4.203 kB / 383.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.4176, allocations: 13.78 kB / 383.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4176, allocations: 0 / 383.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.4176, allocations: 8.75 kB / 383.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.4185, allocations: 0.5277 MB / 383.7 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.4189, allocations: 247.1 kB / 383.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.843e-05/0.419, allocations: 11.2 kB / 384 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.4191, allocations: 13.97 kB / 384 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.4193, allocations: 26.7 kB / 384 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.4194, allocations: 61.34 kB / 384 MB, free: 9.516 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007164/0.4202, allocations: 391 kB / 384.4 MB, free: 9.309 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.42e-07/0.4202, allocations: 3.938 kB / 384.4 MB, free: 9.305 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004606/0.4206, allocations: 45.5 kB / 384.5 MB, free: 9.301 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,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.0002237/0.4209, allocations: 122.8 kB / 384.6 MB, free: 9.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000832/0.4217, allocations: 438.2 kB / 385 MB, free: 8.863 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4217, allocations: 0 / 385 MB, free: 8.863 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005129/0.4222, allocations: 378.4 kB / 385.4 MB, free: 8.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.4233, allocations: 121.8 kB / 385.5 MB, free: 8.496 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.4251, allocations: 0.6524 MB / 386.2 MB, free: 8.125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.4257, allocations: 0.8066 MB / 387 MB, free: 7.383 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.4258, allocations: 9.703 kB / 387 MB, free: 7.375 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.4258, allocations: 10.72 kB / 387 MB, free: 7.367 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4258, allocations: 1.125 kB / 387 MB, free: 7.367 MB / 318.1 MB Notification: Performance of Templates: time 0.01489/0.4407, allocations: 4.675 MB / 391.7 MB, free: 6.801 MB / 318.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)