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.001111/0.001111, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001315/0.001315, allocations: 177.3 kB / 15.94 MB, free: 228 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.748/1.748, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.0005886/0.0005887, allocations: 15.98 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3603, allocations: 47.57 MB / 326.4 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001835/0.3623, allocations: 1.189 MB / 327.6 MB, free: 0.5117 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3642, allocations: 0.8591 MB / 328.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.3643, allocations: 3.969 kB / 328.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.952e-05/0.3643, allocations: 7.922 kB / 328.5 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.87e-05/0.3645, allocations: 13.28 kB / 328.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.3648, allocations: 43.7 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.3649, allocations: 63.05 kB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.3651, allocations: 24.28 kB / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006132/0.3657, allocations: 428 kB / 329.1 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.3659, allocations: 69.08 kB / 329.1 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.3659, allocations: 3.969 kB / 329.1 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.662e-05/0.3659, allocations: 3 kB / 329.1 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3661, allocations: 68.52 kB / 329.2 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.038e-05/0.3661, allocations: 69.11 kB / 329.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.3665, allocations: 299.9 kB / 329.6 MB, free: 15.25 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3665, allocations: 0 / 329.6 MB, free: 15.25 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3665, allocations: 0 / 329.6 MB, free: 15.25 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3665, allocations: 5.156 kB / 329.6 MB, free: 15.25 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.000781/0.3673, allocations: 0.656 MB / 330.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3674, allocations: 9.844 kB / 330.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.3675, allocations: 37.2 kB / 330.3 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.3679, allocations: 261 kB / 330.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.3679, allocations: 8.969 kB / 330.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.3679, allocations: 8.312 kB / 330.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.3683, allocations: 124.5 kB / 330.7 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3683, allocations: 0 / 330.7 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.3683, allocations: 8.375 kB / 330.7 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3684, allocations: 1.25 kB / 330.7 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.3685, allocations: 61.02 kB / 330.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008207/0.3693, allocations: 466.7 kB / 331.2 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.3695, allocations: 99.41 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.3696, allocations: 5.031 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.3699, allocations: 205.3 kB / 331.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3699, allocations: 1.281 kB / 331.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009846/0.3709, allocations: 0.625 MB / 332.1 MB, free: 13.06 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.3711, allocations: 165.1 kB / 332.3 MB, free: 12.87 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007299/0.3718, allocations: 0.5124 MB / 332.8 MB, free: 12.52 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.3719, allocations: 30.2 kB / 332.8 MB, free: 12.49 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.3719, allocations: 101.2 kB / 332.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.372, allocations: 34.3 kB / 332.9 MB, free: 12.37 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.372, allocations: 3.156 kB / 332.9 MB, free: 12.37 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3722, allocations: 325.7 kB / 333.3 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3723, allocations: 59.31 kB / 333.3 MB, free: 12.02 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.3725, allocations: 71.69 kB / 333.4 MB, free: 11.97 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.3727, allocations: 168.3 kB / 333.6 MB, free: 11.82 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3727, allocations: 4 kB / 333.6 MB, free: 11.81 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006566/0.3734, allocations: 382.1 kB / 333.9 MB, free: 11.57 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.3735, allocations: 126.4 kB / 334.1 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3735, allocations: 3.984 kB / 334.1 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3735, allocations: 1.156 kB / 334.1 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.475e-05/0.3736, allocations: 1.031 kB / 334.1 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.3736, allocations: 5.109 kB / 334.1 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.3738, allocations: 10.03 kB / 334.1 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.3739, allocations: 56.47 kB / 334.1 MB, free: 11.38 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.0004539/0.3744, allocations: 374.7 kB / 334.5 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.276e-05/0.3744, allocations: 43.64 kB / 334.5 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.3746, allocations: 67.25 kB / 334.6 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3746, allocations: 7.938 kB / 334.6 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3746, allocations: 3.938 kB / 334.6 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3746, allocations: 4 kB / 334.6 MB, free: 10.85 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.3758, allocations: 0.8138 MB / 335.4 MB, free: 9.957 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3758, allocations: 4 kB / 335.4 MB, free: 9.953 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-06/0.3758, allocations: 0 / 335.4 MB, free: 9.953 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3758, allocations: 0 / 335.4 MB, free: 9.953 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.3758, allocations: 15.98 kB / 335.5 MB, free: 9.938 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3759, allocations: 0 / 335.5 MB, free: 9.938 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3759, allocations: 0 / 335.5 MB, free: 9.938 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006781/0.3765, allocations: 0.5408 MB / 336 MB, free: 9.355 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.3769, allocations: 248.4 kB / 336.2 MB, free: 9.094 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/0.377, allocations: 8 kB / 336.2 MB, free: 9.086 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3771, allocations: 16 kB / 336.3 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3773, allocations: 31.95 kB / 336.3 MB, free: 9.039 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.3774, allocations: 55.94 kB / 336.3 MB, free: 8.984 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005334/0.3779, allocations: 386.9 kB / 336.7 MB, free: 8.609 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.378, allocations: 0 / 336.7 MB, free: 8.609 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.3783, allocations: 44 kB / 336.8 MB, free: 8.566 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.0001842/0.3785, allocations: 117.8 kB / 336.9 MB, free: 8.441 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005487/0.379, allocations: 445.5 kB / 337.3 MB, free: 7.957 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.379, allocations: 4 kB / 337.3 MB, free: 7.953 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.3794, allocations: 373.8 kB / 337.7 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.0005099/0.3799, allocations: 97.52 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.00118/0.3811, allocations: 0.7349 MB / 338.5 MB, free: 6.684 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.3816, allocations: 0.8102 MB / 339.3 MB, free: 5.848 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.228e-05/0.3816, allocations: 4.672 kB / 339.3 MB, free: 5.84 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.3816, allocations: 15.44 kB / 339.3 MB, free: 5.828 MB / 270.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3816, allocations: 0 / 339.3 MB, free: 5.828 MB / 270.1 MB Notification: Performance of Templates: time 0.007528/0.3892, allocations: 4.059 MB / 343.4 MB, free: 1.676 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: