Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001375/0.001374, allocations: 98.92 kB / 16.5 MB, free: 6.641 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.001506/0.001506, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.571/1.571, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001171/0.001171, allocations: 55.92 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1301, allocations: 46.63 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003333/0.1335, allocations: 1.554 MB / 327.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1356, allocations: 0.9099 MB / 328.4 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.1357, allocations: 0 / 328.4 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1358, allocations: 11.92 kB / 328.4 MB, free: 2.398 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.986e-05/0.1359, allocations: 15.92 kB / 328.5 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.1362, allocations: 39.91 kB / 328.5 MB, free: 2.344 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1364, allocations: 111.7 kB / 328.6 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1365, allocations: 16.23 kB / 328.6 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.1371, allocations: 0.5616 MB / 329.2 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1372, allocations: 67.64 kB / 329.2 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.1372, allocations: 8 kB / 329.3 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.282e-05/0.1373, allocations: 4 kB / 329.3 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1374, allocations: 67.69 kB / 329.3 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.1375, allocations: 111.2 kB / 329.4 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.1379, allocations: 354.7 kB / 329.8 MB, free: 1.051 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1379, allocations: 3.938 kB / 329.8 MB, free: 1.047 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1379, allocations: 0 / 329.8 MB, free: 1.047 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1379, allocations: 0 / 329.8 MB, free: 1.047 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.0008368/0.1387, allocations: 0.7308 MB / 330.5 MB, free: 248 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1388, allocations: 8.031 kB / 330.5 MB, free: 240 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.1389, allocations: 36.56 kB / 330.6 MB, free: 204 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1392, allocations: 270.3 kB / 330.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.1392, allocations: 8.359 kB / 330.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.1393, allocations: 8.375 kB / 330.8 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.1396, allocations: 129.9 kB / 331 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1397, allocations: 3.984 kB / 331 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.1397, allocations: 8 kB / 331 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.1397, allocations: 4 kB / 331 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1399, allocations: 59.91 kB / 331 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/0.1406, allocations: 452.5 kB / 331.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.1408, allocations: 98.53 kB / 331.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.141, allocations: 88.89 kB / 331.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.141, allocations: 0 / 331.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003903/0.1414, allocations: 210.8 kB / 331.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.835e-06/0.1414, allocations: 3.984 kB / 331.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008045/0.1422, allocations: 479.9 kB / 332.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.649e-05/0.1423, allocations: 166.2 kB / 332.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.143, allocations: 0.513 MB / 333 MB, free: 13.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.143, allocations: 33.7 kB / 333 MB, free: 13.49 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.1431, allocations: 105 kB / 333.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.1431, allocations: 27.66 kB / 333.2 MB, free: 13.36 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.1432, allocations: 85.41 kB / 333.3 MB, free: 13.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1434, allocations: 326.8 kB / 333.6 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1435, allocations: 55.97 kB / 333.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1437, allocations: 73.69 kB / 333.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.144, allocations: 347.6 kB / 334 MB, free: 12.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.144, allocations: 0 / 334 MB, free: 12.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005116/0.1446, allocations: 392.3 kB / 334.4 MB, free: 12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.1447, allocations: 122.8 kB / 334.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1447, allocations: 112 / 334.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1447, allocations: 3.938 kB / 334.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.971e-05/0.1447, allocations: 7.938 kB / 334.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1448, allocations: 8.047 kB / 334.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.1449, allocations: 11.94 kB / 334.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/0.145, allocations: 63.94 kB / 334.6 MB, free: 11.76 MB / 286.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.000344/0.1453, allocations: 362.8 kB / 335 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.1454, allocations: 39.62 kB / 335 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.1455, allocations: 67.08 kB / 335.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1455, allocations: 0 / 335.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1455, allocations: 0 / 335.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1455, allocations: 0 / 335.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000967/0.1465, allocations: 0.829 MB / 335.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1465, allocations: 0 / 335.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-06/0.1465, allocations: 0 / 335.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1465, allocations: 0 / 335.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.1466, allocations: 15.98 kB / 335.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1466, allocations: 0 / 335.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1466, allocations: 3.938 kB / 335.9 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006844/0.1473, allocations: 0.5291 MB / 336.5 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.1476, allocations: 240.5 kB / 336.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.1477, allocations: 16 kB / 336.7 MB, free: 9.492 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1479, allocations: 11.94 kB / 336.7 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.148, allocations: 31.91 kB / 336.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/0.1481, allocations: 67.86 kB / 336.8 MB, free: 9.383 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004507/0.1485, allocations: 382.9 kB / 337.2 MB, free: 9.012 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1485, allocations: 0 / 337.2 MB, free: 9.012 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.1488, allocations: 47.91 kB / 337.3 MB, free: 8.965 MB / 286.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.0001469/0.149, allocations: 119.1 kB / 337.4 MB, free: 8.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005784/0.1496, allocations: 441.5 kB / 337.8 MB, free: 8.359 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1496, allocations: 0 / 337.8 MB, free: 8.359 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.15, allocations: 381.5 kB / 338.2 MB, free: 7.938 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006546/0.1506, allocations: 101.5 kB / 338.3 MB, free: 7.836 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.1521, allocations: 0.7609 MB / 339 MB, free: 7.051 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.1527, allocations: 0.7986 MB / 339.8 MB, free: 6.227 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.407e-05/0.1527, allocations: 20.62 kB / 339.9 MB, free: 6.207 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.1528, allocations: 11.44 kB / 339.9 MB, free: 6.195 MB / 286.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1528, allocations: 0 / 339.9 MB, free: 6.195 MB / 286.1 MB Notification: Performance of Templates: time 0.009375/0.1622, allocations: 4.39 MB / 344.3 MB, free: 1.715 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1)