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.001263/0.001263, allocations: 91.06 kB / 16.65 MB, free: 6.535 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.001494/0.001494, allocations: 174.5 kB / 17.56 MB, free: 6.184 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.813/1.813, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004453/0.0004454, allocations: 16.42 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1318, allocations: 47.59 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00228/0.1342, allocations: 1.215 MB / 329.5 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.1368, allocations: 0.9022 MB / 330.4 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.923e-05/0.1369, allocations: 8 kB / 330.4 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.1371, allocations: 3.938 kB / 330.4 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.1372, allocations: 11.92 kB / 330.5 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1376, allocations: 47.89 kB / 330.5 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1378, allocations: 107.8 kB / 330.6 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.138, allocations: 12.23 kB / 330.6 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000869/0.1389, allocations: 0.5615 MB / 331.2 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1391, allocations: 67.64 kB / 331.2 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.1391, allocations: 4 kB / 331.3 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.313e-05/0.1392, allocations: 4 kB / 331.3 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.1393, allocations: 67.75 kB / 331.3 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.1395, allocations: 132.8 kB / 331.5 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004694/0.14, allocations: 354.6 kB / 331.8 MB, free: 260 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.14, allocations: 0 / 331.8 MB, free: 260 kB / 270.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.1401, allocations: 0 / 331.8 MB, free: 260 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1401, allocations: 0 / 331.8 MB, free: 260 kB / 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.0009739/0.1411, allocations: 0.6609 MB / 332.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.1411, allocations: 12.02 kB / 332.5 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.709e-05/0.1412, allocations: 36.56 kB / 332.5 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.1415, allocations: 274.3 kB / 332.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1416, allocations: 4.375 kB / 332.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.1416, allocations: 8.375 kB / 332.8 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.142, allocations: 133.9 kB / 332.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.142, allocations: 0 / 332.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.142, allocations: 11.98 kB / 332.9 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.142, allocations: 3.938 kB / 332.9 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1422, allocations: 63.95 kB / 333 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006726/0.1429, allocations: 456.5 kB / 333.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1431, allocations: 98.53 kB / 333.5 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.1433, allocations: 84.89 kB / 333.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.1433, allocations: 4 kB / 333.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003947/0.1437, allocations: 210.7 kB / 333.8 MB, free: 14.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.1437, allocations: 0 / 333.8 MB, free: 14.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008699/0.1446, allocations: 475.9 kB / 334.3 MB, free: 13.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.1447, allocations: 170.2 kB / 334.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006802/0.1454, allocations: 0.513 MB / 335 MB, free: 12.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.1454, allocations: 33.7 kB / 335 MB, free: 12.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.1455, allocations: 105 kB / 335.1 MB, free: 12.65 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.1456, allocations: 27.59 kB / 335.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.1456, allocations: 25.7 kB / 335.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1458, allocations: 326.8 kB / 335.5 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.146, allocations: 59.97 kB / 335.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.1461, allocations: 69.69 kB / 335.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.1465, allocations: 351.3 kB / 336 MB, free: 11.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1465, allocations: 0 / 336 MB, free: 11.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005613/0.1471, allocations: 384.3 kB / 336.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.553e-05/0.1472, allocations: 126.8 kB / 336.5 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1472, allocations: 0 / 336.5 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.1472, allocations: 4.109 kB / 336.5 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-05/0.1472, allocations: 7.922 kB / 336.5 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1473, allocations: 0 / 336.5 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.1474, allocations: 12 kB / 336.5 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.1475, allocations: 55.94 kB / 336.5 MB, free: 11.1 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.0004004/0.1479, allocations: 366.7 kB / 336.9 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.148, allocations: 43.52 kB / 336.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.1481, allocations: 71.14 kB / 337 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1481, allocations: 0 / 337 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1481, allocations: 0 / 337 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1481, allocations: 0 / 337 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009997/0.1491, allocations: 0.8099 MB / 337.8 MB, free: 9.699 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1492, allocations: 8.188 kB / 337.8 MB, free: 9.691 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-06/0.1492, allocations: 4 kB / 337.8 MB, free: 9.688 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1492, allocations: 0 / 337.8 MB, free: 9.688 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.1492, allocations: 23.92 kB / 337.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1492, allocations: 0 / 337.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.1492, allocations: 3.938 kB / 337.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000656/0.1499, allocations: 0.533 MB / 338.4 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.1502, allocations: 244.4 kB / 338.6 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.1503, allocations: 12 kB / 338.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1504, allocations: 15.94 kB / 338.6 MB, free: 8.801 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.1506, allocations: 31.91 kB / 338.7 MB, free: 8.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/0.1506, allocations: 59.92 kB / 338.7 MB, free: 8.711 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004784/0.1511, allocations: 386.9 kB / 339.1 MB, free: 8.336 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1511, allocations: 0 / 339.1 MB, free: 8.336 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003139/0.1515, allocations: 40 kB / 339.2 MB, free: 8.297 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.0001591/0.1516, allocations: 115 kB / 339.3 MB, free: 8.176 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005759/0.1522, allocations: 445.5 kB / 339.7 MB, free: 7.691 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1522, allocations: 0 / 339.7 MB, free: 7.691 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.1526, allocations: 377.6 kB / 340.1 MB, free: 7.273 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008765/0.1535, allocations: 105.5 kB / 340.2 MB, free: 7.168 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.1553, allocations: 0.766 MB / 340.9 MB, free: 6.379 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.1559, allocations: 0.8024 MB / 341.7 MB, free: 5.551 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.571e-05/0.156, allocations: 8.656 kB / 341.7 MB, free: 5.543 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.1561, allocations: 15.44 kB / 341.8 MB, free: 5.527 MB / 286.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1561, allocations: 0 / 341.8 MB, free: 5.527 MB / 286.1 MB Notification: Performance of Templates: time 0.01036/0.1665, allocations: 4.143 MB / 345.9 MB, free: 1.293 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)