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.001451/0.001451, allocations: 91.73 kB / 16.3 MB, free: 6.453 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.001878/0.001878, allocations: 185.4 kB / 17.2 MB, free: 6.34 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.933/1.933, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.000452/0.0004522, allocations: 12 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1254, allocations: 47.58 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001937/0.1274, allocations: 1.19 MB / 328.9 MB, free: 2.906 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1293, allocations: 0.8514 MB / 329.7 MB, free: 2.047 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.1293, allocations: 0 / 329.7 MB, free: 2.047 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.593e-05/0.1294, allocations: 7.922 kB / 329.7 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.198e-05/0.1295, allocations: 11.98 kB / 329.7 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1298, allocations: 39.83 kB / 329.8 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1299, allocations: 67.92 kB / 329.9 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1301, allocations: 20.16 kB / 329.9 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.1306, allocations: 423.3 kB / 330.3 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.1307, allocations: 75.81 kB / 330.4 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.1308, allocations: 4 kB / 330.4 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-05/0.1308, allocations: 4 kB / 330.4 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.011e-05/0.1309, allocations: 59.77 kB / 330.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.179e-05/0.131, allocations: 73.52 kB / 330.5 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.1313, allocations: 295.3 kB / 330.8 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1313, allocations: 0 / 330.8 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1313, allocations: 0 / 330.8 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1313, allocations: 0 / 330.8 MB, free: 0.9766 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.0006703/0.132, allocations: 0.6686 MB / 331.5 MB, free: 240 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.132, allocations: 8.031 kB / 331.5 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.567e-05/0.1321, allocations: 39.56 kB / 331.5 MB, free: 192 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.1325, allocations: 265.3 kB / 331.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.1325, allocations: 4 kB / 331.8 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1325, allocations: 8 kB / 331.8 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.1328, allocations: 125.6 kB / 331.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1329, allocations: 0 / 331.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.1329, allocations: 8 kB / 331.9 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1329, allocations: 4 kB / 331.9 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.1331, allocations: 59.97 kB / 332 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006998/0.1338, allocations: 460.5 kB / 332.4 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1339, allocations: 90.55 kB / 332.5 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.134, allocations: 7.984 kB / 332.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.1343, allocations: 226.6 kB / 332.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1343, allocations: 0 / 332.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008235/0.1351, allocations: 0.6272 MB / 333.4 MB, free: 14.13 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/0.1353, allocations: 166.2 kB / 333.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005919/0.1359, allocations: 0.509 MB / 334 MB, free: 13.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.1359, allocations: 33.7 kB / 334.1 MB, free: 13.38 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.136, allocations: 109 kB / 334.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.136, allocations: 23.66 kB / 334.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.136, allocations: 4 kB / 334.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1362, allocations: 330.8 kB / 334.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.1363, allocations: 55.97 kB / 334.6 MB, free: 12.85 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1364, allocations: 73.67 kB / 334.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.1366, allocations: 162.8 kB / 334.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1366, allocations: 0 / 334.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004977/0.1371, allocations: 392.2 kB / 335.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-05/0.1372, allocations: 122.8 kB / 335.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1372, allocations: 0 / 335.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1372, allocations: 0 / 335.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.511e-05/0.1373, allocations: 4 kB / 335.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1373, allocations: 0 / 335.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.1374, allocations: 11.98 kB / 335.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-05/0.1375, allocations: 64.05 kB / 335.4 MB, free: 11.95 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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,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: 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.0003444/0.1379, allocations: 374.7 kB / 335.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.1379, allocations: 39.53 kB / 335.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.9e-05/0.138, allocations: 63.14 kB / 335.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.138, allocations: 4 kB / 335.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.138, allocations: 0 / 335.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.138, allocations: 0 / 335.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1391, allocations: 0.8173 MB / 336.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1391, allocations: 0 / 336.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-06/0.1391, allocations: 0 / 336.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.1391, allocations: 8 kB / 336.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.1392, allocations: 8 kB / 336.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1392, allocations: 3.984 kB / 336.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1392, allocations: 0 / 336.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/0.1399, allocations: 0.5411 MB / 337.2 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.1402, allocations: 240.5 kB / 337.5 MB, free: 9.688 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.1403, allocations: 15.98 kB / 337.5 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1404, allocations: 12.25 kB / 337.5 MB, free: 9.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.1406, allocations: 27.97 kB / 337.5 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.701e-05/0.1407, allocations: 67.92 kB / 337.6 MB, free: 9.566 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004757/0.1411, allocations: 386.9 kB / 338 MB, free: 9.191 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1412, allocations: 3.938 kB / 338 MB, free: 9.188 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.1414, allocations: 43.94 kB / 338 MB, free: 9.145 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 (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.0001687/0.1416, allocations: 119.2 kB / 338.1 MB, free: 9.02 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000541/0.1422, allocations: 437.5 kB / 338.6 MB, free: 8.543 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1422, allocations: 4.062 kB / 338.6 MB, free: 8.539 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.1425, allocations: 377.6 kB / 338.9 MB, free: 8.121 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.143, allocations: 97.11 kB / 339 MB, free: 8.027 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1442, allocations: 0.7388 MB / 339.8 MB, free: 7.266 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.1446, allocations: 0.8024 MB / 340.6 MB, free: 6.438 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.544e-05/0.1447, allocations: 12.64 kB / 340.6 MB, free: 6.426 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.1447, allocations: 15.38 kB / 340.6 MB, free: 6.41 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.1447, allocations: 4 kB / 340.6 MB, free: 6.406 MB / 286.1 MB Notification: Performance of Templates: time 0.007972/0.1527, allocations: 4.045 MB / 344.6 MB, free: 2.273 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: