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.001156/0.001156, allocations: 88.16 kB / 16.31 MB, free: 5.602 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.001318/0.001318, allocations: 180.2 kB / 17.21 MB, free: 5.52 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.898/1.898, allocations: 205.4 MB / 223.4 MB, free: 5.523 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.000602/0.0006023, allocations: 8 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3531, allocations: 47.59 MB / 327.7 MB, free: 1.539 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001879/0.3551, allocations: 1.192 MB / 328.9 MB, free: 0.5898 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.3569, allocations: 0.8512 MB / 329.8 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.357, allocations: 0 / 329.8 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.963e-05/0.3571, allocations: 9.297 kB / 329.8 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.99e-05/0.3572, allocations: 11.86 kB / 329.8 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.3575, allocations: 39.5 kB / 329.8 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.3577, allocations: 105.3 kB / 329.9 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.3579, allocations: 16.41 kB / 330 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.359, allocations: 491.7 kB / 330.4 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.3593, allocations: 77.84 kB / 330.5 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.015e-05/0.3593, allocations: 3.812 kB / 330.5 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.086e-05/0.3594, allocations: 3.375 kB / 330.5 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.3595, allocations: 69.61 kB / 330.6 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.3597, allocations: 72.61 kB / 330.7 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.3601, allocations: 295.4 kB / 330.9 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.3601, allocations: 1.406 kB / 330.9 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3601, allocations: 0 / 330.9 MB, free: 15.3 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3601, allocations: 0 / 330.9 MB, free: 15.3 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.00082/0.3609, allocations: 0.664 MB / 331.6 MB, free: 14.63 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.361, allocations: 9.5 kB / 331.6 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.995e-05/0.3611, allocations: 38.47 kB / 331.7 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.3615, allocations: 256.6 kB / 331.9 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.3615, allocations: 9.656 kB / 331.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.3615, allocations: 10.53 kB / 331.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.3619, allocations: 129.7 kB / 332.1 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.362, allocations: 0 / 332.1 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.362, allocations: 3.688 kB / 332.1 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.362, allocations: 5.219 kB / 332.1 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.3622, allocations: 57.62 kB / 332.1 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007712/0.363, allocations: 469.4 kB / 332.6 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.3632, allocations: 100.2 kB / 332.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.3634, allocations: 81.39 kB / 332.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.3634, allocations: 1.125 kB / 332.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000388/0.3638, allocations: 202 kB / 332.9 MB, free: 13.54 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3638, allocations: 0 / 332.9 MB, free: 13.54 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009049/0.3647, allocations: 492.7 kB / 333.4 MB, free: 13.24 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.3649, allocations: 164.5 kB / 333.6 MB, free: 13.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007109/0.3656, allocations: 0.5125 MB / 334.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.3656, allocations: 30.05 kB / 334.1 MB, free: 12.68 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.3657, allocations: 100.6 kB / 334.2 MB, free: 12.58 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.3658, allocations: 27.38 kB / 334.3 MB, free: 12.56 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.3658, allocations: 3.344 kB / 334.3 MB, free: 12.56 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.366, allocations: 321.2 kB / 334.6 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.3661, allocations: 64.59 kB / 334.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.3663, allocations: 75.11 kB / 334.7 MB, free: 12.16 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.3665, allocations: 167.7 kB / 334.9 MB, free: 12 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3665, allocations: 0 / 334.9 MB, free: 12 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005859/0.3671, allocations: 383.5 kB / 335.3 MB, free: 11.72 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.3672, allocations: 130.7 kB / 335.4 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3673, allocations: 128 / 335.4 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3673, allocations: 4 kB / 335.4 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.84e-05/0.3673, allocations: 11.97 kB / 335.4 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3673, allocations: 0 / 335.4 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.3675, allocations: 11.98 kB / 335.4 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.3676, allocations: 67.83 kB / 335.5 MB, free: 11.48 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.nRXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,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: 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.000375/0.368, allocations: 358.8 kB / 335.8 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.368, allocations: 39.53 kB / 335.9 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.3681, allocations: 71.12 kB / 335.9 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3682, allocations: 0 / 335.9 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3682, allocations: 8 kB / 335.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.3682, allocations: 0 / 335.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3692, allocations: 0.8173 MB / 336.8 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3692, allocations: 0 / 336.8 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-06/0.3692, allocations: 0 / 336.8 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3692, allocations: 0 / 336.8 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.3693, allocations: 12 kB / 336.8 MB, free: 10.06 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3693, allocations: 0 / 336.8 MB, free: 10.06 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3693, allocations: 0 / 336.8 MB, free: 10.06 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006343/0.3699, allocations: 0.5412 MB / 337.3 MB, free: 9.477 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.3702, allocations: 252.4 kB / 337.6 MB, free: 9.211 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.3703, allocations: 11.98 kB / 337.6 MB, free: 9.199 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3704, allocations: 12 kB / 337.6 MB, free: 9.188 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.3706, allocations: 27.97 kB / 337.6 MB, free: 9.16 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/0.3706, allocations: 59.92 kB / 337.7 MB, free: 9.102 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004912/0.3711, allocations: 382.9 kB / 338 MB, free: 8.73 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.933e-06/0.3711, allocations: 4 kB / 338 MB, free: 8.727 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.3715, allocations: 51.89 kB / 338.1 MB, free: 8.676 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,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 (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.0001557/0.3716, allocations: 114 kB / 338.2 MB, free: 8.555 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005325/0.3722, allocations: 437.5 kB / 338.6 MB, free: 8.078 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3722, allocations: 0 / 338.6 MB, free: 8.078 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.3725, allocations: 381.5 kB / 339 MB, free: 7.656 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.3731, allocations: 105.5 kB / 339.1 MB, free: 7.551 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.3743, allocations: 0.7388 MB / 339.8 MB, free: 6.789 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.3748, allocations: 0.7985 MB / 340.6 MB, free: 5.965 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.51e-05/0.3748, allocations: 8.656 kB / 340.7 MB, free: 5.953 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.3749, allocations: 15.42 kB / 340.7 MB, free: 5.941 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3749, allocations: 0 / 340.7 MB, free: 5.941 MB / 270.1 MB Notification: Performance of Templates: time 0.008371/0.3833, allocations: 4.06 MB / 344.7 MB, free: 1.789 MB / 270.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)