Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.01125/0.01125, allocations: 103.5 kB / 15.74 MB, free: 6.039 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.00245/0.00245, allocations: 200 kB / 16.68 MB, free: 5.953 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.875/1.875, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.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.001519/0.001519, allocations: 50.95 kB / 326.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1249, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00339/0.1283, allocations: 1.498 MB / 374.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1307, allocations: 0.8898 MB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1308, allocations: 7.938 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.131, allocations: 7.922 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1311, allocations: 19.86 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.1314, allocations: 47.89 kB / 375.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.1317, allocations: 139.7 kB / 375.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1318, allocations: 32.2 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007052/0.1325, allocations: 0.5732 MB / 376.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.1327, allocations: 75.7 kB / 376.4 MB, free: 14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.1328, allocations: 8 kB / 376.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.362e-05/0.1328, allocations: 12 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.133, allocations: 59.77 kB / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.1331, allocations: 115.1 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.1335, allocations: 378.6 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1336, allocations: 4 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1336, allocations: 4 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1336, allocations: 0 / 377 MB, free: 13.43 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.001014/0.1346, allocations: 0.7111 MB / 377.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1347, allocations: 8.031 kB / 377.7 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.593e-05/0.1348, allocations: 36.47 kB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.1351, allocations: 278.3 kB / 378 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1351, allocations: 8.375 kB / 378.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.1352, allocations: 4.375 kB / 378.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.1355, allocations: 133.9 kB / 378.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1356, allocations: 4 kB / 378.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.1356, allocations: 11.94 kB / 378.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1356, allocations: 4 kB / 378.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.1358, allocations: 55.97 kB / 378.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/0.1365, allocations: 480.3 kB / 378.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.1367, allocations: 90.55 kB / 378.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.1369, allocations: 92.89 kB / 378.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.1369, allocations: 3.984 kB / 378.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005417/0.1375, allocations: 210.6 kB / 379.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.1375, allocations: 0 / 379.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001063/0.1385, allocations: 468 kB / 379.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/0.1387, allocations: 170.2 kB / 379.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008359/0.1396, allocations: 0.5168 MB / 380.3 MB, free: 9.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.1396, allocations: 33.7 kB / 380.3 MB, free: 9.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1397, allocations: 97.08 kB / 380.4 MB, free: 9.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.1398, allocations: 27.69 kB / 380.4 MB, free: 9.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.14, allocations: 85.42 kB / 380.5 MB, free: 9.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.1402, allocations: 326.8 kB / 380.8 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1404, allocations: 55.97 kB / 380.9 MB, free: 9.262 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.1406, allocations: 73.67 kB / 380.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.141, allocations: 347.2 kB / 381.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.141, allocations: 0 / 381.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006791/0.1417, allocations: 392.4 kB / 381.7 MB, free: 8.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.1418, allocations: 126.8 kB / 381.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1419, allocations: 0 / 381.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.1419, allocations: 0 / 381.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.571e-05/0.1419, allocations: 0 / 381.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1419, allocations: 7.938 kB / 381.8 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.1421, allocations: 16.02 kB / 381.8 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.1422, allocations: 59.94 kB / 381.9 MB, free: 8.145 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.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.000362/0.1425, allocations: 358.9 kB / 382.2 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.1426, allocations: 43.53 kB / 382.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1427, allocations: 63.14 kB / 382.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1427, allocations: 4 kB / 382.3 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1427, allocations: 0 / 382.3 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1428, allocations: 4.094 kB / 382.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.1438, allocations: 0.8215 MB / 383.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1438, allocations: 7.984 kB / 383.2 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-06/0.1438, allocations: 3.938 kB / 383.2 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1438, allocations: 0 / 383.2 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.1438, allocations: 12 kB / 383.2 MB, free: 6.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1439, allocations: 0 / 383.2 MB, free: 6.719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1439, allocations: 3.938 kB / 383.2 MB, free: 6.715 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006698/0.1445, allocations: 0.5409 MB / 383.7 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/0.1449, allocations: 244.4 kB / 384 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.145, allocations: 16 kB / 384 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1451, allocations: 11.98 kB / 384 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.1452, allocations: 31.91 kB / 384 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.1453, allocations: 59.94 kB / 384.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005403/0.1458, allocations: 382.9 kB / 384.5 MB, free: 5.383 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1459, allocations: 0 / 384.5 MB, free: 5.383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.1462, allocations: 44 kB / 384.5 MB, free: 5.34 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,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.0001612/0.1463, allocations: 129.7 kB / 384.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.1469, allocations: 437.5 kB / 385 MB, free: 4.727 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1469, allocations: 0 / 385 MB, free: 4.727 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.1472, allocations: 377.5 kB / 385.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/0.1478, allocations: 117.2 kB / 385.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.149, allocations: 0.6458 MB / 386.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.1497, allocations: 0.8138 MB / 387 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.719e-05/0.1497, allocations: 8.656 kB / 387 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.1498, allocations: 11.44 kB / 387 MB, free: 2.66 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1498, allocations: 0 / 387 MB, free: 2.66 MB / 318.1 MB Notification: Performance of Templates: time 0.01009/0.1599, allocations: 4.664 MB / 391.7 MB, free: 13.89 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1)