Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001056/0.001056, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00119/0.00119, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.000477/0.0004773, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3076, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002019/0.3097, allocations: 1.188 MB / 327.7 MB, free: 472 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.3116, allocations: 0.854 MB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.3117, allocations: 1.062 kB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.832e-05/0.3118, allocations: 12.91 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.321e-05/0.3119, allocations: 10.92 kB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.3122, allocations: 35.86 kB / 328.6 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3123, allocations: 105.2 kB / 328.7 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3125, allocations: 12.02 kB / 328.7 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007211/0.3132, allocations: 496.5 kB / 329.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3134, allocations: 74.64 kB / 329.3 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.3134, allocations: 11.62 kB / 329.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.646e-05/0.3135, allocations: 3.469 kB / 329.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.3136, allocations: 67.75 kB / 329.3 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.968e-05/0.3137, allocations: 72.98 kB / 329.4 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.314, allocations: 292.1 kB / 329.7 MB, free: 15.17 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.314, allocations: 1.531 kB / 329.7 MB, free: 15.17 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3141, allocations: 0 / 329.7 MB, free: 15.17 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3141, allocations: 0 / 329.7 MB, free: 15.17 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.0007814/0.3149, allocations: 0.6565 MB / 330.3 MB, free: 14.51 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.3149, allocations: 8.75 kB / 330.4 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.731e-05/0.315, allocations: 38.41 kB / 330.4 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.3154, allocations: 261.2 kB / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.3154, allocations: 4.594 kB / 330.7 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.3154, allocations: 16.19 kB / 330.7 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.3158, allocations: 128.8 kB / 330.8 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3158, allocations: 0 / 330.8 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.3158, allocations: 8.609 kB / 330.8 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3159, allocations: 0 / 330.8 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.316, allocations: 57.84 kB / 330.9 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/0.3168, allocations: 470.4 kB / 331.3 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.317, allocations: 99.28 kB / 331.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.3172, allocations: 81.23 kB / 331.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.3172, allocations: 1.062 kB / 331.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.3176, allocations: 209.8 kB / 331.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 7.234e-06/0.3177, allocations: 5.219 kB / 331.7 MB, free: 13.4 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009351/0.3186, allocations: 479.8 kB / 332.2 MB, free: 13.11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.3187, allocations: 169.2 kB / 332.3 MB, free: 12.92 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000746/0.3195, allocations: 0.516 MB / 332.9 MB, free: 12.57 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.3195, allocations: 30.11 kB / 332.9 MB, free: 12.54 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.3196, allocations: 104.3 kB / 333 MB, free: 12.44 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.3197, allocations: 35.11 kB / 333 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/0.3197, allocations: 3.125 kB / 333 MB, free: 12.41 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3198, allocations: 322.1 kB / 333.3 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.32, allocations: 55.53 kB / 333.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.3201, allocations: 76.16 kB / 333.5 MB, free: 12.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.3203, allocations: 171.9 kB / 333.6 MB, free: 11.86 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3203, allocations: 0 / 333.6 MB, free: 11.86 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006216/0.321, allocations: 389.1 kB / 334 MB, free: 11.59 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.3211, allocations: 126.8 kB / 334.1 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3211, allocations: 4 kB / 334.1 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3211, allocations: 0 / 334.1 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.448e-05/0.3211, allocations: 0 / 334.1 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3212, allocations: 0 / 334.1 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.3213, allocations: 15.98 kB / 334.2 MB, free: 11.42 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/0.3214, allocations: 59.89 kB / 334.2 MB, free: 11.36 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.0003838/0.3218, allocations: 366.8 kB / 334.6 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.3219, allocations: 39.53 kB / 334.6 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.968e-05/0.322, allocations: 67.14 kB / 334.7 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.322, allocations: 0 / 334.7 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.322, allocations: 0 / 334.7 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.322, allocations: 0 / 334.7 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009607/0.323, allocations: 0.8096 MB / 335.5 MB, free: 9.969 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.323, allocations: 4.188 kB / 335.5 MB, free: 9.965 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-06/0.323, allocations: 7.984 kB / 335.5 MB, free: 9.957 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.323, allocations: 0 / 335.5 MB, free: 9.957 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.323, allocations: 20 kB / 335.5 MB, free: 9.938 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3231, allocations: 0 / 335.5 MB, free: 9.938 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3231, allocations: 3.938 kB / 335.5 MB, free: 9.934 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007187/0.3238, allocations: 0.5295 MB / 336.1 MB, free: 9.363 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004071/0.3242, allocations: 248.4 kB / 336.3 MB, free: 9.102 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.3243, allocations: 12 kB / 336.3 MB, free: 9.09 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.3244, allocations: 19.91 kB / 336.3 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.3245, allocations: 31.97 kB / 336.4 MB, free: 9.039 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/0.3246, allocations: 59.92 kB / 336.4 MB, free: 8.98 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004729/0.3251, allocations: 382.9 kB / 336.8 MB, free: 8.609 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3251, allocations: 0 / 336.8 MB, free: 8.609 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.3254, allocations: 47.95 kB / 336.8 MB, free: 8.562 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.0002236/0.3256, allocations: 109.9 kB / 336.9 MB, free: 8.445 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006019/0.3262, allocations: 445.5 kB / 337.4 MB, free: 7.961 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3262, allocations: 4.062 kB / 337.4 MB, free: 7.957 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.3266, allocations: 377.6 kB / 337.8 MB, free: 7.539 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006248/0.3273, allocations: 97.45 kB / 337.8 MB, free: 7.441 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.3286, allocations: 0.7349 MB / 338.6 MB, free: 6.684 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.3292, allocations: 0.8063 MB / 339.4 MB, free: 5.852 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.386e-05/0.3293, allocations: 8.656 kB / 339.4 MB, free: 5.84 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.3293, allocations: 11.38 kB / 339.4 MB, free: 5.832 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3293, allocations: 4 kB / 339.4 MB, free: 5.828 MB / 270.1 MB Notification: Performance of Templates: time 0.007416/0.3368, allocations: 4.056 MB / 343.5 MB, free: 1.68 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1)