Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001704/0.001704, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002439/0.002439, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.999/1.999, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001269/0.001269, allocations: 51.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3391, allocations: 46.62 MB / 324.8 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003196/0.3424, allocations: 1.564 MB / 326.4 MB, free: 0.7031 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.3442, allocations: 0.8881 MB / 327.3 MB, free: 32 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.3443, allocations: 0 / 327.3 MB, free: 32 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.3444, allocations: 3.938 kB / 327.3 MB, free: 28 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.947e-05/0.3445, allocations: 19.8 kB / 327.3 MB, free: 12 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.3448, allocations: 49.33 kB / 327.4 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00036/0.3452, allocations: 136.3 kB / 327.5 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3453, allocations: 17.23 kB / 327.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008002/0.3461, allocations: 0.5577 MB / 328.1 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.3463, allocations: 86.05 kB / 328.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.3463, allocations: 9.469 kB / 328.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.442e-05/0.3464, allocations: 10.91 kB / 328.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.3465, allocations: 65.45 kB / 328.2 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3466, allocations: 111.7 kB / 328.3 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.3471, allocations: 369.5 kB / 328.7 MB, free: 15.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3471, allocations: 3.938 kB / 328.7 MB, free: 15.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3471, allocations: 1.312 kB / 328.7 MB, free: 15.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.3471, allocations: 0 / 328.7 MB, free: 15.22 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.0008957/0.348, allocations: 0.7139 MB / 329.4 MB, free: 14.53 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.3481, allocations: 17.19 kB / 329.4 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.3482, allocations: 34.78 kB / 329.5 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.3485, allocations: 281.7 kB / 329.8 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.3486, allocations: 5.531 kB / 329.8 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.3486, allocations: 11.66 kB / 329.8 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.349, allocations: 130 kB / 329.9 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3491, allocations: 0 / 329.9 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.3491, allocations: 3.844 kB / 329.9 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.3491, allocations: 5.219 kB / 329.9 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.3493, allocations: 57.91 kB / 330 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008553/0.3502, allocations: 472.6 kB / 330.4 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.3504, allocations: 95.67 kB / 330.5 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.3506, allocations: 80.89 kB / 330.6 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.3507, allocations: 1 kB / 330.6 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005304/0.3512, allocations: 210.5 kB / 330.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3512, allocations: 0 / 330.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001206/0.3524, allocations: 477.7 kB / 331.3 MB, free: 13.12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.3526, allocations: 165 kB / 331.4 MB, free: 12.93 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/0.3535, allocations: 0.5158 MB / 331.9 MB, free: 12.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.3536, allocations: 28.98 kB / 332 MB, free: 12.56 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.3537, allocations: 109.3 kB / 332.1 MB, free: 12.45 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.387e-05/0.3538, allocations: 31.33 kB / 332.1 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.354, allocations: 78.95 kB / 332.2 MB, free: 12.38 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002453/0.3542, allocations: 326.1 kB / 332.5 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.3544, allocations: 55.75 kB / 332.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.3547, allocations: 80.45 kB / 332.6 MB, free: 11.98 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.3551, allocations: 347.9 kB / 333 MB, free: 11.59 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3551, allocations: 4 kB / 333 MB, free: 11.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006561/0.3558, allocations: 388.8 kB / 333.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.356, allocations: 122.8 kB / 333.5 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.356, allocations: 4 kB / 333.5 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.356, allocations: 0 / 333.5 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.095e-05/0.356, allocations: 4.047 kB / 333.5 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.356, allocations: 3.938 kB / 333.5 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.3562, allocations: 16 kB / 333.5 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.782e-05/0.3563, allocations: 59.92 kB / 333.6 MB, free: 10.95 MB / 270.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.000404/0.3567, allocations: 366.8 kB / 333.9 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.3568, allocations: 39.53 kB / 334 MB, free: 10.52 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.241e-05/0.3569, allocations: 67.09 kB / 334 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3569, allocations: 4 kB / 334 MB, free: 10.44 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3569, allocations: 0 / 334 MB, free: 10.44 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3569, allocations: 0 / 334 MB, free: 10.44 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009756/0.3579, allocations: 0.8174 MB / 334.9 MB, free: 9.543 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3579, allocations: 4 kB / 334.9 MB, free: 9.539 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-06/0.3579, allocations: 4 kB / 334.9 MB, free: 9.535 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3579, allocations: 0 / 334.9 MB, free: 9.535 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.358, allocations: 19.98 kB / 334.9 MB, free: 9.516 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.358, allocations: 0 / 334.9 MB, free: 9.516 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.358, allocations: 3.938 kB / 334.9 MB, free: 9.512 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.3586, allocations: 0.533 MB / 335.4 MB, free: 8.938 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.3589, allocations: 240.5 kB / 335.7 MB, free: 8.684 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.045e-05/0.359, allocations: 12 kB / 335.7 MB, free: 8.672 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3592, allocations: 15.98 kB / 335.7 MB, free: 8.656 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3593, allocations: 27.92 kB / 335.7 MB, free: 8.629 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/0.3594, allocations: 63.91 kB / 335.8 MB, free: 8.566 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005501/0.3599, allocations: 390.8 kB / 336.2 MB, free: 8.188 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3599, allocations: 0 / 336.2 MB, free: 8.188 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.3603, allocations: 40 kB / 336.2 MB, free: 8.148 MB / 270.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.0002096/0.3605, allocations: 115 kB / 336.3 MB, free: 8.027 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007114/0.3612, allocations: 441.5 kB / 336.7 MB, free: 7.547 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3612, allocations: 0 / 336.7 MB, free: 7.547 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.3616, allocations: 377.5 kB / 337.1 MB, free: 7.129 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006598/0.3623, allocations: 120.3 kB / 337.2 MB, free: 7.012 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3635, allocations: 0.7646 MB / 338 MB, free: 6.223 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/0.3641, allocations: 0.806 MB / 338.8 MB, free: 5.391 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.895e-05/0.3642, allocations: 8.656 kB / 338.8 MB, free: 5.379 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.3642, allocations: 11.44 kB / 338.8 MB, free: 5.371 MB / 270.1 MB Notification: Performance of SimCode: time 2.043e-06/0.3642, allocations: 4 kB / 338.8 MB, free: 5.367 MB / 270.1 MB Notification: Performance of Templates: time 0.007921/0.3722, allocations: 4.544 MB / 343.4 MB, free: 0.7305 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1)