Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001689/0.001689, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002418/0.002419, allocations: 190.2 kB / 16.13 MB, free: 6.66 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.937/1.937, allocations: 205.1 MB / 222 MB, free: 4.734 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.001214/0.001214, allocations: 55.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3695, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.005117/0.3747, allocations: 1.555 MB / 326.2 MB, free: 0.7031 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.3771, allocations: 0.9192 MB / 327.1 MB, free: 12 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3773, allocations: 0 / 327.1 MB, free: 12 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.3775, allocations: 3.938 kB / 327.2 MB, free: 8 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.3777, allocations: 13.75 kB / 327.2 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.3781, allocations: 46.66 kB / 327.2 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.3783, allocations: 107 kB / 327.3 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.3785, allocations: 21.83 kB / 327.3 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.3796, allocations: 0.5574 MB / 327.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.3798, allocations: 72.52 kB / 328 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.3799, allocations: 4.375 kB / 328 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.594e-05/0.3799, allocations: 4.594 kB / 328 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.3801, allocations: 57.42 kB / 328 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.3803, allocations: 119.8 kB / 328.1 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.3809, allocations: 362 kB / 328.5 MB, free: 15.24 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3809, allocations: 0 / 328.5 MB, free: 15.24 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3809, allocations: 1.062 kB / 328.5 MB, free: 15.24 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.381, allocations: 0 / 328.5 MB, free: 15.24 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.001568/0.3825, allocations: 0.7137 MB / 329.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.116e-05/0.3826, allocations: 9.969 kB / 329.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.3828, allocations: 39.47 kB / 329.3 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006967/0.3835, allocations: 272.9 kB / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.3836, allocations: 12.91 kB / 329.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.3836, allocations: 8.781 kB / 329.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.3842, allocations: 132.7 kB / 329.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3842, allocations: 1.062 kB / 329.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.3843, allocations: 3.562 kB / 329.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3843, allocations: 1.125 kB / 329.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.3845, allocations: 61.36 kB / 329.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3856, allocations: 464.4 kB / 330.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.3858, allocations: 100.3 kB / 330.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.386, allocations: 81.55 kB / 330.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.386, allocations: 0 / 330.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004675/0.3865, allocations: 211.1 kB / 330.6 MB, free: 13.44 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.004e-06/0.3865, allocations: 4 kB / 330.6 MB, free: 13.43 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0011/0.3876, allocations: 477.7 kB / 331.1 MB, free: 13.15 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.3877, allocations: 168.7 kB / 331.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008764/0.3886, allocations: 0.5078 MB / 331.7 MB, free: 12.62 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.3887, allocations: 29.45 kB / 331.8 MB, free: 12.59 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3888, allocations: 105.8 kB / 331.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.3889, allocations: 34.36 kB / 331.9 MB, free: 12.46 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.3891, allocations: 83.53 kB / 332 MB, free: 12.41 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3893, allocations: 329.8 kB / 332.3 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3894, allocations: 59.94 kB / 332.4 MB, free: 12.05 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.3896, allocations: 76.23 kB / 332.4 MB, free: 12 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.39, allocations: 342.5 kB / 332.8 MB, free: 11.68 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3901, allocations: 3.938 kB / 332.8 MB, free: 11.68 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006339/0.3907, allocations: 395 kB / 333.2 MB, free: 11.27 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.3908, allocations: 126.8 kB / 333.3 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3909, allocations: 0 / 333.3 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.3909, allocations: 4 kB / 333.3 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.144e-05/0.3909, allocations: 0 / 333.3 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.391, allocations: 112 / 333.3 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.3912, allocations: 19.86 kB / 333.3 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.3913, allocations: 59.94 kB / 333.4 MB, free: 11.04 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.0004606/0.3918, allocations: 362.9 kB / 333.7 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.3919, allocations: 39.53 kB / 333.8 MB, free: 10.61 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.392, allocations: 71.14 kB / 333.8 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.392, allocations: 0 / 333.8 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.392, allocations: 4 kB / 333.8 MB, free: 10.53 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.392, allocations: 0 / 333.8 MB, free: 10.53 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.3933, allocations: 0.8134 MB / 334.6 MB, free: 9.637 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.3933, allocations: 0 / 334.6 MB, free: 9.637 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-06/0.3933, allocations: 3.938 kB / 334.6 MB, free: 9.633 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3933, allocations: 4 kB / 334.6 MB, free: 9.629 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.3933, allocations: 12 kB / 334.7 MB, free: 9.617 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3933, allocations: 7.984 kB / 334.7 MB, free: 9.609 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3934, allocations: 7.938 kB / 334.7 MB, free: 9.602 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007787/0.3941, allocations: 0.5291 MB / 335.2 MB, free: 9.031 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.3945, allocations: 244.5 kB / 335.4 MB, free: 8.773 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.3946, allocations: 12 kB / 335.5 MB, free: 8.762 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.3947, allocations: 8 kB / 335.5 MB, free: 8.754 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.3949, allocations: 31.91 kB / 335.5 MB, free: 8.723 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/0.395, allocations: 55.94 kB / 335.5 MB, free: 8.668 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005081/0.3955, allocations: 390.9 kB / 335.9 MB, free: 8.289 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3955, allocations: 0 / 335.9 MB, free: 8.289 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.3959, allocations: 44 kB / 336 MB, free: 8.246 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.0001843/0.3961, allocations: 119.1 kB / 336.1 MB, free: 8.121 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006382/0.3967, allocations: 433.5 kB / 336.5 MB, free: 7.648 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3967, allocations: 4 kB / 336.5 MB, free: 7.645 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.3972, allocations: 373.6 kB / 336.9 MB, free: 7.23 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.3979, allocations: 118 kB / 337 MB, free: 7.113 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.3992, allocations: 0.7723 MB / 337.8 MB, free: 6.316 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.3998, allocations: 0.7908 MB / 338.6 MB, free: 5.5 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.228e-05/0.3998, allocations: 12.64 kB / 338.6 MB, free: 5.484 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.3999, allocations: 11.44 kB / 338.6 MB, free: 5.477 MB / 270.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3999, allocations: 0 / 338.6 MB, free: 5.477 MB / 270.1 MB Notification: Performance of Templates: time 0.009275/0.4092, allocations: 4.389 MB / 343 MB, free: 0.9961 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1)