Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 91.2 kB / 16.65 MB, free: 6.59 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.001244/0.001244, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.832/1.832, allocations: 205.4 MB / 223.7 MB, free: 13.09 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.0006204/0.0006207, allocations: 12.33 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1296, allocations: 47.59 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001735/0.1314, allocations: 1.219 MB / 329.5 MB, free: 2.539 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1334, allocations: 0.9061 MB / 330.4 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.1335, allocations: 0 / 330.4 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.078e-05/0.1336, allocations: 0 / 330.4 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.201e-05/0.1337, allocations: 19.86 kB / 330.5 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1339, allocations: 39.95 kB / 330.5 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1341, allocations: 107.7 kB / 330.6 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1342, allocations: 20.23 kB / 330.6 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005997/0.1349, allocations: 0.5537 MB / 331.2 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.135, allocations: 67.69 kB / 331.2 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.135, allocations: 7.938 kB / 331.3 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.431e-05/0.1351, allocations: 4 kB / 331.3 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.484e-05/0.1352, allocations: 63.77 kB / 331.3 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1353, allocations: 132.8 kB / 331.4 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.1357, allocations: 354.7 kB / 331.8 MB, free: 264 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1357, allocations: 0 / 331.8 MB, free: 264 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1357, allocations: 4 kB / 331.8 MB, free: 260 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1357, 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.0007539/0.1364, allocations: 0.6531 MB / 332.5 MB, free: 15.53 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.1365, allocations: 11.97 kB / 332.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.739e-05/0.1366, allocations: 40.55 kB / 332.5 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.1369, allocations: 270.3 kB / 332.8 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.137, allocations: 4.375 kB / 332.8 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.137, allocations: 8.375 kB / 332.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.1374, allocations: 137.8 kB / 332.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1374, allocations: 4 kB / 332.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.1375, allocations: 8 kB / 332.9 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1375, allocations: 0 / 332.9 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.1376, allocations: 59.95 kB / 333 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/0.1383, allocations: 460.5 kB / 333.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.1385, allocations: 106.5 kB / 333.5 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.1387, allocations: 88.88 kB / 333.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.1387, allocations: 0 / 333.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003725/0.1391, allocations: 206.8 kB / 333.8 MB, free: 14.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.1391, allocations: 0 / 333.8 MB, free: 14.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008326/0.1399, allocations: 479.8 kB / 334.3 MB, free: 13.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.1401, allocations: 174.2 kB / 334.5 MB, free: 13.31 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006487/0.1407, allocations: 0.513 MB / 335 MB, free: 12.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.1408, allocations: 29.7 kB / 335 MB, free: 12.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.1408, allocations: 101 kB / 335.1 MB, free: 12.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.1409, allocations: 27.66 kB / 335.1 MB, free: 12.63 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.1409, allocations: 25.7 kB / 335.2 MB, free: 12.6 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1411, allocations: 326.8 kB / 335.5 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1412, allocations: 55.97 kB / 335.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1414, allocations: 81.62 kB / 335.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.1417, allocations: 343.3 kB / 335.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1417, allocations: 0 / 335.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005295/0.1423, allocations: 388.4 kB / 336.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.365e-05/0.1424, allocations: 122.8 kB / 336.4 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1424, allocations: 4 kB / 336.5 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1424, allocations: 4 kB / 336.5 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.461e-05/0.1424, allocations: 112 / 336.5 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1424, allocations: 11.95 kB / 336.5 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.1426, allocations: 12 kB / 336.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/0.1427, 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0003479/0.143, allocations: 366.7 kB / 336.9 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.1431, allocations: 39.52 kB / 336.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.1432, allocations: 71.14 kB / 337 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1432, allocations: 0 / 337 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1432, allocations: 0 / 337 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1432, allocations: 4 kB / 337 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009572/0.1442, allocations: 0.8177 MB / 337.8 MB, free: 9.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1442, allocations: 0 / 337.8 MB, free: 9.688 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-06/0.1442, allocations: 0 / 337.8 MB, free: 9.688 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1442, allocations: 0 / 337.8 MB, free: 9.688 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.1443, allocations: 15.98 kB / 337.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1443, allocations: 0 / 337.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1443, allocations: 3.938 kB / 337.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/0.1449, allocations: 0.5407 MB / 338.4 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.1453, allocations: 244.5 kB / 338.6 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.1453, allocations: 12 kB / 338.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.1455, allocations: 11.94 kB / 338.6 MB, free: 8.805 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.1456, allocations: 31.91 kB / 338.7 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-05/0.1457, allocations: 60.05 kB / 338.7 MB, free: 8.715 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004606/0.1461, allocations: 382.9 kB / 339.1 MB, free: 8.344 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1461, allocations: 3.938 kB / 339.1 MB, free: 8.34 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.1464, allocations: 48 kB / 339.2 MB, free: 8.293 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001546/0.1466, allocations: 121.6 kB / 339.3 MB, free: 8.164 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005208/0.1471, allocations: 437.5 kB / 339.7 MB, free: 7.688 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1471, allocations: 0 / 339.7 MB, free: 7.688 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.1475, allocations: 385.5 kB / 340.1 MB, free: 7.262 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.1481, allocations: 101.5 kB / 340.2 MB, free: 7.16 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1493, allocations: 0.7622 MB / 340.9 MB, free: 6.375 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1497, allocations: 0.8064 MB / 341.7 MB, free: 5.543 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.558e-05/0.1498, allocations: 12.64 kB / 341.8 MB, free: 5.531 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.1498, allocations: 11.44 kB / 341.8 MB, free: 5.52 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1498, allocations: 0 / 341.8 MB, free: 5.52 MB / 286.1 MB Notification: Performance of Templates: time 0.007257/0.1571, allocations: 4.145 MB / 345.9 MB, free: 1.285 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1)