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.001365/0.001365, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001481/0.001481, allocations: 172.7 kB / 15.95 MB, free: 208 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.983/1.983, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0005328/0.0005334, allocations: 8 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3629, allocations: 47.58 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001693/0.3647, allocations: 1.191 MB / 327.7 MB, free: 444 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.3666, allocations: 0.8517 MB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.291e-05/0.3667, allocations: 0 / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.3668, allocations: 10.02 kB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.877e-05/0.3669, allocations: 7.25 kB / 328.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.3672, allocations: 49.3 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.3674, allocations: 98.72 kB / 328.7 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.3675, allocations: 16.31 kB / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006739/0.3682, allocations: 499.7 kB / 329.2 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3683, allocations: 77.75 kB / 329.3 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.3684, allocations: 12.03 kB / 329.3 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.584e-05/0.3684, allocations: 3 kB / 329.3 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.905e-05/0.3685, allocations: 57.8 kB / 329.3 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.3686, allocations: 75.55 kB / 329.4 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.369, allocations: 288.3 kB / 329.7 MB, free: 15.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.369, allocations: 5.031 kB / 329.7 MB, free: 15.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.369, allocations: 0 / 329.7 MB, free: 15.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.369, allocations: 0 / 329.7 MB, free: 15.14 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.0007892/0.3698, allocations: 0.6686 MB / 330.4 MB, free: 14.47 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3699, allocations: 8.812 kB / 330.4 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.3699, allocations: 34.22 kB / 330.4 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.3702, allocations: 261.5 kB / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3703, allocations: 8.625 kB / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.3703, allocations: 8.5 kB / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.3706, allocations: 128.7 kB / 330.8 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3707, allocations: 0 / 330.8 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.3707, allocations: 8 kB / 330.8 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3707, allocations: 1.156 kB / 330.8 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.3709, allocations: 61.7 kB / 330.9 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.3716, allocations: 461.6 kB / 331.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.3718, allocations: 95.89 kB / 331.4 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.372, allocations: 84.52 kB / 331.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.372, allocations: 1.062 kB / 331.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003549/0.3724, allocations: 206.7 kB / 331.7 MB, free: 13.38 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.3724, allocations: 4 kB / 331.7 MB, free: 13.38 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008509/0.3733, allocations: 480.4 kB / 332.2 MB, free: 13.09 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.3734, allocations: 164.4 kB / 332.3 MB, free: 12.9 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006889/0.3741, allocations: 0.5168 MB / 332.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.3742, allocations: 29.89 kB / 332.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.3743, allocations: 97.38 kB / 333 MB, free: 12.43 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.3743, allocations: 34.91 kB / 333 MB, free: 12.4 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.3743, allocations: 6.531 kB / 333 MB, free: 12.39 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3745, allocations: 322 kB / 333.3 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.3746, allocations: 59.61 kB / 333.4 MB, free: 12.05 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.3748, allocations: 79.62 kB / 333.5 MB, free: 12 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.375, allocations: 164.2 kB / 333.6 MB, free: 11.84 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.375, allocations: 0 / 333.6 MB, free: 11.84 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005486/0.3755, allocations: 382.3 kB / 334 MB, free: 11.6 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.3757, allocations: 126.1 kB / 334.1 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3757, allocations: 3.938 kB / 334.1 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3757, allocations: 5.062 kB / 334.1 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.131e-05/0.3757, allocations: 1.062 kB / 334.1 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3757, allocations: 5.25 kB / 334.1 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.3759, allocations: 18.17 kB / 334.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/0.376, allocations: 63.3 kB / 334.2 MB, free: 11.39 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.000398/0.3764, allocations: 362.9 kB / 334.6 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.3764, allocations: 43.52 kB / 334.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.3766, allocations: 67.14 kB / 334.7 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3766, allocations: 8 kB / 334.7 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.3766, allocations: 0 / 334.7 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3766, allocations: 0 / 334.7 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.3776, allocations: 0.8177 MB / 335.5 MB, free: 9.977 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3777, allocations: 0 / 335.5 MB, free: 9.977 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-06/0.3777, allocations: 0 / 335.5 MB, free: 9.977 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.3777, allocations: 4 kB / 335.5 MB, free: 9.973 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.3777, allocations: 15.97 kB / 335.5 MB, free: 9.957 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3777, allocations: 0 / 335.5 MB, free: 9.957 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3777, allocations: 4 kB / 335.5 MB, free: 9.953 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.3784, allocations: 0.5331 MB / 336.1 MB, free: 9.379 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000388/0.3788, allocations: 252.4 kB / 336.3 MB, free: 9.113 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.3788, allocations: 8 kB / 336.3 MB, free: 9.105 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.379, allocations: 12 kB / 336.3 MB, free: 9.094 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.3791, allocations: 27.91 kB / 336.3 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.3792, allocations: 63.92 kB / 336.4 MB, free: 9.004 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000503/0.3797, allocations: 390.9 kB / 336.8 MB, free: 8.625 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3797, allocations: 0 / 336.8 MB, free: 8.625 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000279/0.38, allocations: 43.95 kB / 336.8 MB, free: 8.582 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.0001912/0.3802, allocations: 117.9 kB / 337 MB, free: 8.457 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005341/0.3807, allocations: 433.7 kB / 337.4 MB, free: 7.984 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3807, allocations: 0 / 337.4 MB, free: 7.984 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.381, allocations: 381.6 kB / 337.7 MB, free: 7.562 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.3816, allocations: 105.5 kB / 337.9 MB, free: 7.457 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.3827, allocations: 0.7348 MB / 338.6 MB, free: 6.699 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.3832, allocations: 0.7985 MB / 339.4 MB, free: 5.875 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.716e-05/0.3832, allocations: 12.64 kB / 339.4 MB, free: 5.859 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.3833, allocations: 11.44 kB / 339.4 MB, free: 5.852 MB / 270.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3833, allocations: 0 / 339.4 MB, free: 5.852 MB / 270.1 MB Notification: Performance of Templates: time 0.006892/0.3902, allocations: 4.056 MB / 343.5 MB, free: 1.703 MB / 270.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)